cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

693
Views
0
Helpful
3
Replies
kamil_folga
Beginner

Problems with CUCM7 and AXL

Hi!

We are trying to connect to CUCM 7 with AXL to retrieve data about users. Issue the query:

java  -cp classes;.\lib\saaj-api.jar;.\lib\saaj-impl.jar;.\lib\mail.jar;.\lib\activation.jar;.\lib\jaxm-api.jar;.\lib\jaxm-runtime.jar;.\lib\xercesImpl.jar;.\lib\xml-apis.jar  AxlSqlToolkit -username=xxxxx -password=xxxxx -host=10.11.200.10  -input=sample.xml -output=response.xml

We get the following response:

select * from  callmanager

****************************************************************************

*

Sending  message...

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

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><executeSQLQuery sequence="1340019422168"><sql>select  *  from callmanager</sql></executeSQLQuery></SOAP-ENV:Body></SOAP-ENV:Envelope>

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

2012-06-18  13:37:02

com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConne

ction  post

SEVERE: SAAJ0008: Bad Response; Not  Found

com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl:

com.sun.xml.internal.mess

aging.saaj.SOAPExceptionImpl:  Bad response: (404Not Found

         at

com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.cal

l(Unknown  Source)

        at  AxlSqlToolkit.sendMessage(AxlSqlToolkit.java:138)

        at  AxlSqlToolkit.execute(AxlSqlToolkit.java:199)

        at  AxlSqlToolkit.main(AxlSqlToolkit.java:244)

Caused by:  com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl:  Bad

response:

(404Not Found

         at

com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.pos

t(Unknown  Source)

        ... 4 more

What can cause errors in the answers?

Greetings,

Kamil

3 REPLIES 3

Hi

Have you enabled the AXL service (through serviceability/service activation) on the 10.11.200.10 server?

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Yes, AXL works.

Kamil

Hi

Well - a 404 means 'page not found' typically, so either the AXL service has not been enabled on that server, is not working for some reason, or the user you specified doesn't have AXL rights.

I would check your user rights, and if they're OK try a different CUCM server (enabling AXL if necessary).

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!
Content for Community-Ad