×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

AXL Serviceability

Unanswered Question
Mar 27th, 2006
User Badges:
  • Silver, 250 points or more

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
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.

Actions

This Discussion