cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
403
Views
0
Helpful
1
Replies

RisPort SOAP message problem

bjpaddock
Level 1
Level 1

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 1

bjpaddock
Level 1
Level 1

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