RisPort problems - argument type mismatch

Unanswered Question
Dec 13th, 2007


I'm trying to get a list of devices via RisPort. I copied example from http://www.cisco.com/univercd/cc/td/doc/product/voice/vpdd/cdd/5_0/ccmdev/ccmdvch2.htm chapter Real-Time Information (RisPort)

Selecting Cisco Unified CallManager Real-Time Information , but service returning following xml:

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>java.lang.IllegalArgumentException: argument type mismatch</faultstring><detail><ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">CUCM6</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>

And my question is: How can I recognize, which argument? There are no any notes or details :-(

Many thanks for your ideas!!

ps. or is it posible to get that list any other way? (CUM6)

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
blueant06 Mon, 12/17/2007 - 07:16

check your gmail~i sent my code to your email!

here is the xml String:

String strSoapMsg="<?xml version=\"1.0\" encoding=\"utf-8\"?>"+

"http://schemas.xmlsoap.org/soap/envelope/\" "+

"xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" "+







"http://schemas.xmlsoap.org/soap/encoding/\" "+

"xsi:type=\"ns1:CmSelectionCriteria\" xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\" "+










kiran_grandh Thu, 01/03/2008 - 03:40


Can you please share me the code mailed to you by blueant06 for this issue. Thanks in advance

venca.balak Thu, 01/03/2008 - 03:47


Im really not sure, that i can share piece of somebody's else code, try to write him an email, sorry.

venca.balak Thu, 01/03/2008 - 08:27

ok, ill try to :-)

so, im sending to following address:

String url="https://"+getCmAddress()+":8443/realtimeservice/services/RisPort#";

and if youre sending to RIS, you need to specify more property: addRequestProperty("SOAPAction", "http://schemas.cisco.com/ast/soap/action/#RisPort#SelectCmDevices");

more headers: content-text/xml, POST method, Authorization Basic+BASE64encoded(user:pass)

...hope it helped, if no, ask ;-)


This Discussion