cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
596
Views
0
Helpful
2
Replies

ciscoSupportField - Remove schema from node

notHappyCamper
Level 1
Level 1

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?

2 Replies 2

dstaudt
Cisco Employee
Cisco Employee

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>..?

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\">