cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
763
Views
1
Helpful
2
Replies

skip axl schema version in soap request

Hi there,

I have an application that uses AXL interface to CCM. I have read in the AXL Schema versioning that if developer does not specify schema version in soap request header, the oldest supported schema will be used. I want to use this feature and skip schema version in my soap request. However when I remove version as below, CCM generate error 599.

  <axlapi:executeSQLQuery sequence="1" xmlns:axlapi="http://www.cisco.com/AXL/API" xmlns:axl="http://www.cisco.com/AXL/API" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.cisco.com/AXL/API axlsoap.xsd">

I can't skip namespace attributes either. Has anybody done this before? I apprecaite your input.

Thanks,

Parisa

2 Replies 2

Geevarghese Cheria
Cisco Employee
Cisco Employee

Hi Parisa,

Apologies for delay in responding to you, moving  your post  under  AXL forum. For faster response, please post your AXL related  questions directly to the AXL forum in the future.

Request to check this url

Handle AXL 599 error message  for relative information.

Thanks and Regards,

Geevarghese

It is possible to omit the 'SOAPAction' header altogether, and use the 'default'/minimum 1.0 AXL version namespace - this is the 'minimum configuration:'

POST /axl/ HTTP/1.1

Host: ds-ucm105.cisco.com:8443

Authorization: Basic QWRtaW5pc3RyYXRvcjpjaXNjb3BzZHQ=

User-Agent: curl/7.47.0

Accept: */*

Content-type: text/xml;

Content-Length: 298

------------------

HTTP/1.1 200 OK

Set-Cookie: JSESSIONIDSSO=E8E2EFB9814D3D68C58796DE9B0F6267; Path=/; Secure; HttpOnly

Set-Cookie: JSESSIONID=ABA9D1A5F5ADE8F815864E70EA28802D; Path=/axl/; Secure; HttpOnly

X-Frame-Options: SAMEORIGIN

Content-Type: text/xml;charset=UTF-8

Content-Length: 350

Date: Fri, 16 Sep 2016 20:07:07 GMT

<?xml version='1.0' encoding='UTF-8'?>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

    <soapenv:Body>

        <ns:executeSQLQueryResponse xmlns:ns="http://www.cisco.com/AXL/API/8.0">

            <return>

                <row>

                    <name>Sample Device Template with TAG usage examples</name>

                </row>

            </return>

        </ns:executeSQLQueryResponse>

    </soapenv:Body>

</soapenv:Envelope>

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: