- Bronze, 100 points or more
We are trying to get the details from WAAS CM device using API's as defined by Cisco. The document can be referred to from the below link:
Cisco API doc asks to call the required service (here DeviceConf) as https://<hostname/ip>:8443/ws/DeviceConf and we are calling it through through Java (using 'HttpConnection') and then embedding a SOAP request with WS-Security Header and using the action named 'getWANInfo'.
The result is that we are unable to read any information and always end getting an HTTP status error 500 from the WAAS CM.
Any idea on what we could be doing wrong or on how to get the WAAS stats via API?
In the body of the request, try enclosing https://10.88.80.142:8443/ws/DeviceConf in quotations. I used the following version of your request and it worked:
<?xml version='1.0' encoding='UTF-8'?>
http://schemas.xmlsoap.org/soap/encoding/' xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/' xmlns:xsi='http://www.w3.org/1999/XMLSchema-instance' xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/1999/XMLSchema'>