When using getProfileSoap, I get an error "Error in deserializing body of reply message for operation 'getProfileSoap'" and if I edit my app.config with:
<system.diagnostics>
<switches>
<add name="XmlSerialization.Compilation" value="1" />
</switches>
</system.diagnostics>
I get a bit more detail from the Cisco "XmlSerializationWriterWDSoapInterface" -- looks to be from the "object Read7_GetConfigResponse()" method?
It's an "InvalidOperationException was unhandled by user code":
The specified type was not recognized: name='WDDeviceInfo', namespace='urn:WebdialerSoap', at <deviceInfoList xmlns=''>.
Anyway, I'm wondering what I'm doing wrong?
Fiddler2 actually shows the call as being a success and I get some XML in the trace as below, but it's not putting that into my GetConfigResponse as expected?
Any thoughts?
Thanks in advance,
D.
<?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="[url=http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ns1:getProfileSoapResponse]http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><ns1:getProfileSoapResponse soapenv:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:WD70"><getProfileSoapReturn href="#id0"/></ns1:getProfileSoapResponse><multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:GetConfigResponse" xmlns:soapenc="
http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:WD70"><description xsi:type="xsd:string">
Success</description><deviceInfoList soapenc:arrayType="ns3:WDDeviceInfo[2]" xsi:type="soapenc:Array" xmlns:ns3="urn:WebdialerSoap"><item href="#id1"/><item href="#id2"/></deviceInfoList><responseCode href="#id3"/></multiRef><multiRef id="id3" soapenc:root="0" soapenv:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:int" xmlns:soapenc="[url=http://schemas.xmlsoap.org/soap/encoding/">0</multiRef><multiRef]http://schemas.xmlsoap.org/soap/encoding/">0</multiRef><multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:WDDeviceInfo" xmlns:ns4="urn:WebdialerSoap" xmlns:soapenc="[url=http://schemas.xmlsoap.org/soap/encoding/"><deviceName]http://schemas.xmlsoap.org/soap/encoding/"><deviceName xsi:type="xsd:string">SEP0019AAAA3DF3</deviceName><lines soapenc:arrayType="xsd:string[2]" xsi:type="soapenc:Array"><item xsi:type="xsd:string">74271 ; DemoLab-PT</item><item xsi:type="xsd:string">15002 ; DemoLab-PT</item></lines></multiRef><multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns5:WDDeviceInfo" xmlns:ns5="urn:WebdialerSoap" xmlns:soapenc="[url=http://schemas.xmlsoap.org/soap/encoding/"><deviceName]http://schemas.xmlsoap.org/soap/encoding/"><deviceName xsi:type="xsd:string">SEP0019AAAA3DF3</deviceName><lines soapenc:arrayType="xsd:string[2]" xsi:type="soapenc:Array"><item xsi:type="xsd:string">74271 ; DemoLab-PT</item><item xsi:type="xsd:string">15002 ; DemoLab-PT</item></lines></multiRef></soapenv:Body></soapenv:Envelope>