I've been trying to get started with the Serviceability APIs. (I'm ultimately wanting to get useage details of MGCP PRI)
My first one worked fine:
<?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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://w
ww.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<q1

erfmonListCounter xmlns:q1="http://schemas.cisco.com/ast/soap/">
<Host xsi:type="xsd:string">192.168.0.1</Host>
</q1

erfmonListCounter>
</soap:Body>
</soap:Envelope>
I then tried the following from example from the docs:
<?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:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<q1

erfmonListInstance xmlns:q1="http://schemas.cisco.com/ast/soap/">
<Host xsi:type="xsd:string">192.168.0.1</Host>
<Object xsi:type="xsd:string">Process</Object>
</q1

erfmonListInstance>
</soap:Body>
</soap:Envelope>
But I then got back a Java stacktrace ! Top of the trace:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>org.xml.sax.SAXException: Bad types (class java.lang.String -> class com.cisco.ccm.serviceability.soap.perfport.ObjectNameType)</faultstring>
<detail>
<ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">org.xml.sax.SAXException: Bad types (class java.lang.String -> class com.cisco.ccm.serviceability.soap.perfport.ObjectNameType)
....
I'm sending both request to the URL:
https://192.168.0.1:8443/perfmonservice/services/PerfmonPort?wsdl
Can someone tell me what I'm doing wrong ?
Thanks,
GTG