03-03-2017 04:08 AM
Am trying to set the ciscoSupportField when running addPhone
The xml being pushed in is
<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"http://www.cisco.com/AXL/API/10.0\">
<soapenv:Header/>
<soapenv:Body>
<ns:addPhone>
...
<vendorConfig>
<desktopClient>
<ciscoSupportField>configurationfile=jabber-config-CSF.xml</ciscoSupportField>
</desktopClient>
</vendorConfig>
...
this adds lots of extra xml schema info into the support field
<desktopClient xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/8.0">
<ciscoSupportField xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/8.0">
<ciscoSupportField>configurationfile=jabber-config-CSF1171.xml
</ciscoSupportField>
<desktopClient>
need to strip all the schema info out to get this
<desktopClient>
<ciscoSupportField>
<ciscoSupportField>configurationfile=jabber-config-CSF1171.xml
</ciscoSupportField>
</desktopClient>
Any ideas?
03-03-2017 02:53 PM
If the above is the XML you are sending in the request, where do you see the XML with the extra namespace stuff? Is this present when you do a subsequent <getPhone>..?
03-05-2017 10:54 PM
The Cisco support admin sees the schema info in the ciscoSupportField field in his application (Have no access to that)
<desktopClient xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/8.0">
<ciscoSupportField xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/8.0">
<ciscoSupportField>configurationfile=jabber-config-CSF1171.xml
</ciscoSupportField>
<desktopClient>
the only place it is specified in the API call is in the Soap Envelope
<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns=\"http://www.cisco.com/AXL/API/10.0\">
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide