Created by: Keith Lunn on 20-11-2009 03:40:48 PM CUCM 6.13: When I post a RISport query, I get a http code 500. I have validated my XML/SOAP message with a validator which indicates my message is properly formatted. (as far as XML specs) What log file or trace should I be looking at in RTMT to get further information on the problem? <?xml version="1.0" encoding="UTF-8"?> <soap:Envelope xmlns:soap="<a>http://schemas.xmlsoap.org/soap/envelope/</a>]" xmlns:soapenc="<a>http://schemas.xmlsoap.org/soap/encoding/</a>]" xmlns:tns="<a>http://schemas.cisco.com/ast/soap/</a>]" xmlns:types="<a>http://schemas.cisco.com/ast/soap/encodedTypes</a>]" xmlns:xsi="<a>http://www.w3.org/2001/XMLSchema-instance</a>]" xmlns:xsd="<a>http://www.w3.org/2001/XMLSchema</a>]"> <soap:Header> <tns:AstHeader> <SessionId xsi:type="xsd:string">600</SessionId> </tns:AstHeader> </soap:Header> <soap:Body soap:encodingStyle="<a>http://schemas.xmlsoap.org/soap/encoding/</a>]"> <tns:SelectCmDevice> <StateInfo xsi:type="xsd:string"/> <tns:CmSelectionCriteria xsi:type="tns:CmSelectionCriteria"> <MaxReturnedDevices xsi:type="xsd:unsignedInt">200</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"/> <SelectBy xsi:type="xsd:string">Name</SelectBy> <SelectItems soapenc:arrayType="tns:SelectItem[2]" xsi:type="soapenc:Array"> <item xsi:type="tns:SelectItem"> <Item xsi:type="xsd:string">SEP00059A3B7701</Item> </item> <item xsi:type="tns:SelectItem"> <Item xsi:type="xsd:string">SEP00059A3B7702</Item> </item> </SelectItems> </tns:CmSelectionCriteria> </tns:SelectCmDevice> </soap:Body> </soap:Envelope> Transmitting RIS Request to [https://server:8443/realtimeservice/services/RisPort/] for UID[user1] RIS Return HTTP Status=>500
Subject: RE: RISport Query Replied by: Dan-Anders Hook on 29-11-2009 11:17:21 PM Hi, You are having problems with your namespace declarations. The "<a>", "</a>" and "]" does not belong in there :-) The correct XML should be : <?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> <SessionId xsi:type="xsd:string">600</SessionId> </tns:AstHeader> </soap:Header> <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <tns:SelectCmDevice> <StateInfo xsi:type="xsd:string"/> <tns:CmSelectionCriteria xsi:type="tns:CmSelectionCriteria"> <MaxReturnedDevices xsi:type="xsd:unsignedInt">200</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"/> <SelectBy xsi:type="xsd:string">Name</SelectBy> <SelectItems soapenc:arrayType="tns:SelectItem[2]" xsi:type="soapenc:Array"> <item xsi:type="tns:SelectItem"> <Item xsi:type="xsd:string">SEP00059A3B7701</Item> </item> <item xsi:type="tns:SelectItem"> <Item xsi:type="xsd:string">SEP00059A3B7702</Item> </item> </SelectItems> </tns:CmSelectionCriteria> </tns:SelectCmDevice> </soap:Body> </soap:Envelope>
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: