Chikeobi Njaka | RisPort risport cmselectdevice Answer 9/9/12 7:38 AM Hi Folks, Working with RIS for the first time. Here is the request sent to port 8443 of the CUCM using basically the same setup (with regards to configuring SSL) that I am using for AXL requests. AXL works fine. *********************** POST /realtimeservice/services/RisPort HTTP/1.1 Charset: utf-8 Accept: application/soap+xml, application/dime, multipart/related, text/* user-agent: VmSxlRisPort Host: xx.xx.xx.xx:8443 Content-Type: text/xml; charset=utf-8 SOAPAction: http://schemas.cisco.com/ast/soap/action/#RisPort# Authorization: Basic blah.blah Content-length: 1704 <?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"> <soap:Header> <tns:AstHeader id="id1"> <SessionId xsi:type="xsd:string">766eb195-c8e9-4965-a8aa-d5c802cc8c2e</SessionId> </tns:AstHeader> </soap:Header> <soapenv:Body> <ns1:SelectCmDevice soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://schemas.cisco.com/ast/soap/"> <StateInfo xsi:type="xsd:string"/> <CmSelectionCriteria href="#id0"/> </ns1:SelectCmDevice> <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:CmSelectionCriteria" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://schemas.cisco.com/ast/soap/"> <MaxReturnedDevices xsi:type="xsd:unsignedInt">10</MaxReturnedDevices> <Class xsi:type="xsd:string">Phone</Class> <Model xsi:type="xsd:unsignedInt">255</Model> <Status xsi:type="xsd:string">Registered</Status> <NodeName xsi:type="xsd:string" xsi:nil="true"/> <SelectBy xsi:type="xsd:string">Name</SelectBy> <SelectItems soapenc:arrayType="ns2:SelectItem[1]" xsi:type="soapenc:Array"> <item href="#id1"/> </SelectItems> </multiRef> <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns3:SelectItem" xmlns:ns3="http://schemas.cisco.com/ast/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <Item xsi:type="xsd:string">SEP001F9EAC47AD</Item> </multiRef> </soapenv:Body> </soapenv:Envelope> *************************************************************** I think my problem is very elemental in that I don't even get an error. It *seems* to send the data to the output stream but hangs on reading the response from the input stream. After a while it returns with no data read. The app user is an admin app user and almost all services are enabled on the CUCM node. SOAPMonitor shows not activity on the RISPort, just PerfMon. Thanks. |
| Please sign in to flag this as inappropriate. |