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

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

"AstService namespace is not valid" error when querying CCM 4.1 when Axis

Hi,

I'm trying to query a CCM with the Axis Java Soap API and I'm receiving a Fault response saying "AstService namespace is not valid"

I have tried with SAAJ API from Sun (similar to Axis) and it works fine.

What's wrong ?

Thanks

Seb

4 REPLIES

Re: "AstService namespace is not valid" error when querying CCM

Could you trace the soap exchange and post it here? You obviously have a namespace issue.. also, the code how you set up your service endpoint might be of use, too. I have AXL working via AXIS (but I'm using handwritten XML since AXL just doesn't work without hacking WSDLs and I have better things to do than worry about breaking apps when installing a ccm patch) so we could compare the code.

New Member

Re: "AstService namespace is not valid" error when querying CCM

Hi,

Here are the 2 files (trace.txt, generated with tcpmon from axis and SoapRpc.java, my sample code)

Note that if I use WSDL2Java from Axis to generate the stub, it works fine.

Thanks

Seb

Re: "AstService namespace is not valid" error when querying CCM

Hmm.. you're connecting to AXL serviceability.. not quite the same I'm doing. But at first glance I can't see any glaring errors and looking at the soap messages, I'm almost getting the feeling that the error lies with the callmanager (I don't know how the serviceability request needs to look like though).

How did you generate the stub if not using wsdl2java?

New Member

Re: "AstService namespace is not valid" error when querying CCM

I have not generated any stub, I have just called the java classes to send the request to the server (see the code)

Anyway, it works fine with Axis (but not with JAXWS 2.0 by Sun..., the wsdl cannot be imported)

Thanks

Seb

119
Views
0
Helpful
4
Replies
CreatePlease to create content