12-24-2007 07:39 AM - edited 03-13-2019 04:50 PM
Hi,
I am getting "No Handler found for SelectCmDevice" when i am trying to send the following soap message :
<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">1234-20060201020721</SessionId></tns:AstHeader></soap:Header> <soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><tns:SelectCmDevice> <CmSelectionCriteria href="#id1"/></tns:SelectCmDevice><tns:CmSelectionCriteria id="id1" xsi:type="tns:CmSelectionCriteria"> <MaxReturnedDevices xsi:type="xsd:unsignedInt">10</MaxReturnedDevices> <Class xsi:type="tns:DeviceClass">Phone</Class> <Model xsi:type="xsd:unsignedInt">255</Model> <Status xsi:type="tns:CmDevRegStat">Any</Status> <SelectBy xsi:type="tns:CmSelectBy">Name</SelectBy> <SelectItems href="#id2"/> </tns:CmSelectionCriteria><soapenc:Array id="id2" soapenc:arrayType="tns:SelectItem[1]"> <Item href="#id3"/></soapenc:Array><tns:SelectItem id="id3" xsi:type="tns:SelectItem"> <Item xsi:type="xsd:string">SEP00054B9C1D45</Item></tns:SelectItem> </soap:Body></soap:Envelope>
-----------------------------------
I am getting response as
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>No Handler found for SelectCmDevice</faultstring><detail><axl:Error xmlns:axl="http://www.cisco.com/AXL/1.0"><axl:code>5003</axl:code><axl:message>No Handler found for SelectCmDevice</axl:message><request>SelectItem</request></axl:Error></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
Please help me out how to get rid of this issue.
12-31-2007 01:26 PM
CCM returns a fault SOAP request with HTTP error, which usually would mean an internal HTTP server error. you might have used the wrong (AXL) URL instead of using the\realtimeservice URL...
01-03-2008 03:27 AM
Hi,
Thanks a lot for your response. Now i used \realtimeservice... URL and i am getting "no SOAPAction header" fault message. Here is my request :
POST /axl/ HTTP/1.1
Host:20.152.16.66
Authorization: Basic Y2NtYWRtaW5pc3RyYXRvcjpub3Q0dTJj
Accept: application/soap+xml, text/*
Content-type: text/xml;charset=utf-8 ;
SOAPAction: http://schemas.cisco.com/ast/soap/action/#RisPort#SelectCmDevice
Content-length:1327
Please help me out to get rid of this error.
03-18-2008 09:14 AM
Is there a soap or http header that requires the AXL service url?
03-19-2008 09:02 PM
I see. In this case, you have to set the request-uri as the soap:address url from the Service Definitions in RisPort.wsdl, instead of /axl/, which is the Service Definition for AXLAPI.wsdl.
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: