Jason_L__54018
Feb 21, 2008Nimbostratus
SNMPConfiguration.set_readonly_community call complains about no deserializer
Hi All,
This is my first time posting, so hopefully I'm not asking anything too dumb. I am trying to write a simple of proof of concept piece of code to simply set the SNMP readonly string using a SOAP call. I have been successful in making simple calls to functions that don't require any arguments, having worked through the first small hurdle of SOAP over HTTPS. Where I ran into trouble is when I tried to make a call to set_readonly_community that takes an array parameter.
I've read over similar examples in this forum and studied the Management.SNMPConfiguration.wsdl file intently, yet the call always throws a "no deserializer" type SOAP Fault.
Below is the XML trace of my client's request:
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">testStringdefault.1false
The response is the typical one I get when I've screwed up the message. I just can't seem to figure out why it doesn't like my request:
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:Server.userException
org.xml.sax.SAXException: No deserializer for {http://www.w3.org/2001/XMLSchema}anyType
localhost
Does anyone have any idea as to what's wrong with this request?