Question 20 of 28 from exam 300-835-CLAUTO: Automating Cisco Collaboration Solutions

Question 20 of 28 from exam 300-835-CLAUTO: Automating Cisco Collaboration Solutions

Question

DRAG DROP - Drag drop the code to create a valid AXL API script to create a new Route Partition, using the Python Zeep library.

Not all options are used.

Select and Place:

Answer Area

from
from
from
from

session = Session()
session.auth = auth.

client = Client (wsdl

service — client.create_service(‘{http://www.cisco.com/AXLAPIService/}AXLAPIBinding’ ,

resp

requests import Session
requests import auth

zeep import Client

zeep.transports import Transport

‘https: //ds-ucm1251.cisco.com

(\Admimistrator’,

\, transport = Transport (session=session) )

»)

= service.

‘ciscopsdt’ )

18443/ax1/

AXLAPI.wsdl

AXLSoap.xsd

HTTPDigestAuth

HTTPBasicAuth

createPartition

addRoutePartition

/axlapi

Explanations

Answer Area

from requests import Session
from requests import auth

from zeep import Client

from zeep.transports import Transport.

session = Session()
session.auth = auth. | HTTPBasicAuth (Admimistrator’, ‘\ciscopsdt’)

client = Client (wsdl = * AXLAPI .wsdi \, transport = Transport (session=session) )

service — client.create_service(‘{http://www.cisco.com/AXLAPIService/}AXLAPIBinding’ ,

‘https: //ds-ucm1251.cisco.com :8443/ax1/ )

resp = service. |addRoutePartition

:8443/ax1/ AXLAPI.wsdl AXLSoap.xsd HTTPDigestAuth

HTTPBasicAuth createPartition addRoutePartition /axlapi