I want to use Risport dll to get real time information about phones, specifically their assigned ip address in CCM 4.1(2). ( I know that in CCM4.1 devicelist can give me the same information but we are going to upgrade to CCM5 and I have realized that in that version devicelist is not supported anymore.)
However RisPort request does not work. I've made different changes but every time I get different errors back from Cal Manager.
For example when I send this request to CM:
POST /Soap/RisPort HTTP/1.0
Authorization: Basic QWRtaW5pc3RyYXRvcjpjaXNjbw==
Accept: application/soap+xml, text/*
Content-Type: text/xml; charset=utf-8
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"xmlns:tns="http://schemas.cisco.com/ast/soap/"xmlns:types="http://schemas.cisco.com/ast/soap/encodedTypes"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><tns:AstHeader id="id1"><SessionId xsi:type="xsd:string">SessionId</SessionId></tns:AstHeader></soap:Header><soap:Body soap:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><tns:SelectCmDevice><Class xsi:type=\"tns:DeviceClass\">Phone</Class><Model xsi:type=\"xsd:unsignedInt\">255</Model></tns:SelectCmDevice></soap:Body></soap:Envelope>
I will get this reponse:
HTTP/1.1 405 Method not allowed
Date: Mon, 09 Apr 2007 19:57:07 GMT
Allow: OPTIONS, TRACE, GET, HEAD, PUT, DELETE
When in http header, instead of "POST /Soap/RisPort HTTP/1.0", I put "POST /Soap/RisPort.dll HTTP/1.0"
then I get this response:
HTTP/1.1 500 Server Error
Date: Mon, 09 Apr 2007 20:08:24 GMT
Has anyone make this work? I appreciate if you can give some feedbacks,
I think there was another post re this interface, have a search
Hi parisatashakori ,
I am using RisPort webservices to get the Devicelist information from CCM 5.0 ,but iam getting errors,iam also sending the same SOAP request to the CCM what ever you are sending ,can u send me sample code for me to my mail id email@example.com Thanks in advance
I still could not make it work. I am trying with CCM4.1 and get response error. If I could find the problem and make it work, I will definitely email it to you.
Thanks for your reply.
I just want to test RisPORT IN ccm4.1 because we are going to upgarde our CM to 5.x and there is no devicelistx available in CCM5.x
Hi Parisa ,
i have a small and silly dout , have u clear about ccm5.0 developer guide.pdf
in RisPort request what is attribute (id) in SOAP Header and Soap-body href iam not understand that can u tell me
thanks in advance