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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

RisPort SOAP message problem

I am trying to run a query against the realtime web service in CM5 to find out an IP address of a device but I get the following soap fault:

<faultcode>soapenv:Server.userException</faultcode><faultstring>java.lang.IllegalArgumentException: java.lang.ClassCastException@32795</faultstring><detail><ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">myhostname</ns1:hostname></detail></soapenv:Fault>

Please see the attached java code I use and the actual XML it sends (which appears to be correct against the documentation)

Is there anything I am missing?

Many thanks for your time

1 REPLY
New Member

Re: RisPort SOAP message problem

I managed to solve it myself (shouldn't have been so hasty!)

For anyone's interest, "Class" and "Status" need to be of type xsd:string

235
Views
0
Helpful
1
Replies