Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Getting wierd error when trying to getting phone IP address using AXL

I am current trying to use the AXL serviceability API to get phone IP

address information. I looked the developers guide and used the Java example to create a

SSL Socket connection to send the SOAP message to. The message I send is as follows:

POST: 8443/axl/ HTTP/1.0

Accept: application/soap+xml, application/dime, multipart/related, text/*

Host:localhost:8443

Authorization: Basic **************

Content-type: text/xml

SOAPAction: "http://schemas.cisco.com/ast/soap/action/#RisPort#SelectCmDevice"

Content-length: 610

<?xml version="1.0" encoding="utf-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"

xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding">

<SOAP-ENV:Header/>

<SOAP-ENV:Body>

<SelectCmDevice sequence="123456">

<CmSelectionCriteria>

<Class>Phone</Class>

<Model>255</Model>

<NodeName>10.248.140.11></NodeName>

<SelectBy>Name</SelectBy>

<MaxReturnedDevices>10</MaxReturnedDevices>

<SelectItems soapenc:arrayType="SelectItems[1]">

<Item>SEP001E4A3FAAAA</Item>

</SelectItems>

</CmSelectionCriteria>

</SelectCmDevice>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

The response I get back after about 30 seconds is as follows:

HTTP/1.1 400 Invalid URI

Content-Length: 0

Date: Wed, 12 Mar 2008 19:28:43 GMT

Server: Apache-Coyote/1.1

Connection: close

Could someone point me in the right direction as to what is going wrong?

Thanks

Mitch

2 REPLIES
Community Member

Re: Getting wierd error when trying to getting phone IP address

looks like the port number (8443) is a part of your URI. that doesn't look right ...

Community Member

Re: Getting wierd error when trying to getting phone IP address

well, getting closer. Of course you were correct. After changing it, I now get an http 500 error after a lenghty timeout.

POST /axl/ HTTP/1.0

Accept: application/soap+xml, application/dime, multipart/related, text/*

Host:localhost:8443

Authorization: Basic ***********

Content-type: text/xml

SOAPAction: "http://schemas.cisco.com/ast/soap/action/#RisPort#SelectCmDevice"

Content-length: 610

http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding">

Phone

255

10.248.140.11>

Name

10

SEP001E4A3FAAAA

HTTP/1.1 500 Internal Server Error

Content-Type: text/html;charset=utf-8

Content-Length: 4566

Date: Thu, 13 Mar 2008 02:15:53 GMT

Server: Apache-Coyote/1.1

Connection: close

140
Views
0
Helpful
2
Replies
CreatePlease to create content