Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Users might experience few discrepancies in Search results. We are working on this on our side. We apologize for the inconvenience it may have caused.

AXL Serviceability

Hi,

Did anyone got the RISPort working?

I have tried with raw coding, but the request is not accepted;

sAXLSOAPRequest = "POST /Soap/astsvc.dll HTTP/1.0\r\n";

sAXLSOAPRequest += "Host: "+_HOST+":80\r\n";

sAXLSOAPRequest += "Authorization: Basic "+_AUTH+"\r\n";

sAXLSOAPRequest += "Accept: text/*\r\n";

sAXLSOAPRequest += "Content-type: text/xml\r\n";

sAXLSOAPRequest += "SOAPAction: \"http://schemas.cisco.com/ast/soap/action/#RisPort#SelectCmDevices\"\r\n";

sAXLSOAPRequest += "Content-length: ";

sAXLRequest = "<?xml version=\"1.0\" encoding=\"utf-8\"?>";

sAXLRequest += "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\" ";

sAXLRequest += "xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\" ";

sAXLRequest += "xmlns:tns=\"http://schemas.cisco.com/ast/soap/\" ";

sAXLRequest += "xmlns:types=\"http://schemas.cisco.com/ast/soap/encodedTypes\" ";

sAXLRequest += "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" ";

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

sAXLRequest += "<soap:Header><tns:AstHeader id=\"id1\"><SessionId xsi:type=\"xsd:string\">123456987</SessionId></tns:AstHeader></soap:Header>";

sAXLRequest += "<soap:Body soap:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><tns:SelectCmDevices>";

sAXLRequest += "<StateInfo xsi:type=\"xsd:string\" />";

sAXLRequest += "<CmSelectionCriteria href=\"#id1\"/>";

sAXLRequest += "</tns:SelectCmDevices><tns:CmSelectionCriteria id=\"id1\" ";

sAXLRequest += "xsi:type=\"tns:CmSelectionCriteria\">";

sAXLRequest += "<MaxReturnedDevices xsi:type=\"xsd:unsignedInt\">10</MaxReturnedDevices>";

sAXLRequest += "<Class xsi:type=\"tns:DeviceClass\">Any</Class>";

sAXLRequest += "<Model xsi:type=\"xsd:unsignedInt\">255</Model>";

sAXLRequest += "<Status xsi:type=\"tns:CmDevRegStat\">Any</Status>";

sAXLRequest += "<SelectBy xsi:type=\"tns:CmSelectBy\">Name</SelectBy>";

sAXLRequest += "<SelectItems href=\"#id2\" />SEP00127F2E618C</tns:CmSelectionCriteria>";

sAXLRequest += "<soapenc:Array id=\"id2\" soapenc:arrayType=\"tns:SelectItem[2]\">";

sAXLRequest += "<Item href=\"#id3\"/><Item xsi:null=\"1\"/>";

sAXLRequest += "</soapenc:Array>";

sAXLRequest += "<tns:SelectItem id=\"id3\" xsi:type=\"tns:SelectItem\">";

sAXLRequest += "<Item xsi:type=\"xsd:string\"/></tns:SelectItem>";

sAXLRequest += "</soap:Body></soap:Envelope>";

response:

HTTP/1.1 500 ERROR

Server: Microsoft-IIS/5.0

Date: Tue, 28 Mar 2006 03:54:12 GMT

X-Application: XXX

Expires: Sat, 1 Jan 2000 00:00:01 GMT

Cache-Control: No-Cache

Pragma: No-Cache

Connection: Keep-Alive

Content-Type: text/xml; charset="utf-8"

Content-Length: 946

<?xml version="1.0" encoding="UTF-8" standalone="no"?><SOAP-ENV:Envelope SOAP-EN

V:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http

://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.or

g/soap/encoding/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</fau

ltcode><faultstring>Operation name is not valid</faultstring><detail><m:ErrorInf

o xmlns:m="http://schemas.cisco.com/ast/soap/"><Version>3.2.0.7</Version><Time>0

3/28/2006 - 15:54:12</Time><ProcId>5876</ProcId><ThreadId>3852</ThreadId><ArrayO

fCallInfo SOAP-ENC:arrayType='m:CallInfoType[]'><CallInfo><FileName>D:\Builds\ES

BUILD_4.1.3.sr.1\ccm_sw\Projects\AST\ISAPI\server\soap\service\port\risport\rism

ain.cpp</FileName><LineNo>344</LineNo><ErrorCode>0</ErrorCode><Function>Lookup

</Function><Params>SelectCmDevices</Params></CallInfo></ArrayOfCallInfo></m:Erro

rInfo></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

1 REPLY

Re: AXL Serviceability

And I cannot see the risport.wsdl file either

http://ASTSERVERNAME/soap/risport.wsdl

123
Views
0
Helpful
1
Replies
CreatePlease to create content