nerdexam
CiscoCisco

300-835 · Question #40

300-835 Question #40: Real Exam Question with Answer & Explanation

The task requires completing an AXL SOAP request to create a new CSS. The complete XML request with the blanks filled in is: ``xml payload = """<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5"> <soapenv:Heade

Network Programmability Foundation

Question

Refer to the exhibit. Drag and drop the code snippets from the bottom onto the blanks in the script to create a new CSS in Cisco UCM by using AXL with a route partition directory. Some options may be used more than once. Not all options are used.

Explanation

The task requires completing an AXL SOAP request to create a new CSS. The complete XML request with the blanks filled in is:

payload = """<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns="http://www.cisco.com/AXL/API/11.5">
<soapenv:Header/>
<soapenv:Body>
<ns:addCssReq>
<css>
<description>CLAUTO CSS</description>
<members>
<member>
<index>1</index>
</member>
<member>
<partitionUsage>General</partitionUsage>
<name>CLAUTO</name>
</member>
</css>
</ns:addCssReq>
</soapenv:Body>
</soapenv:Envelope>"""

headers = { 'Content-Type': 'text/xml', 'Authorization': 'Basic YWRTAHRXYS'
'CUMCMDB_vers=12.5 addCss', 'Accept': 'text/xml' }
response = requests.request('POST', url, headers=headers,
data = payload, verify=False)

The blanks are filled with 'addCssReq' (for the root element inside <ns:> tags) and 'index' (for the child element within <member>). The provided explanation clarifies: 'addCssReq is the correct root tag in the request body and closing tag per the XML schema in the diagram. routePartitionName is used for defining the member partition inside <member>. SOAPAction is required in the header to specify the invoked AXL API operation.'

Topics

#Cisco UCM AXL#Calling Search Space#Python Scripting#Route Partitions

Community Discussion

No community discussion yet for this question.

Full 300-835 PracticeBrowse All 300-835 Questions