Hi,
Do you know how you can deserialize the SOAP message below I receive this message from a webservice.
I would be nice if I can use it in my proxy class.
Thank you.
< xml version="1.0" encoding="UTF-8" >
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="urn:xs.wsdl"
xmlns:ns2="http://xml.apache.org/xml-soap"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:getDocumentGroupsResponse>
<getDocumentGroupsReturn SOAP-ENC:arrayType="ns2:Map[7]" xsi:type="SOAP-ENC:Array">
<item xsi:type="ns2:Map">
<item>
<key xsi:type="xsd:string">vch_name</key>
<value xsi:type="xsd:string">OKZ</value>
</item>
<item>
<key xsi:type="xsd:string">int_docgroupid</key>
<value xsi:type="xsd:string">37</value>
</item>
</item>
<item xsi:type="ns2:Map">
<item>
<key xsi:type="xsd:string">vch_name</key>
<value xsi:type="xsd:string">Arrangementen KVV Rotterdam</value>
</item>
<item>
<key xsi:type="xsd:string">int_docgroupid</key>
<value xsi:type="xsd:string">38</value>
</item>
</item>
</getDocumentGroupsReturn>
</ns1:getDocumentGroupsResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

SOAP deserialisation
code jockey
ok.... but using this wsdl, are you able to add a new web reference in Visual Studio
I tried, and I could....
Sten G
oh.... now I see your problem....
I would try to create my custom Map class as defined in the SOAP message you sent (with key and value pairs) and then manually change the proxy so this method returns a Map[].... you will have to use the SoapType attrbiute to set the name of the serialized xml tag.
Rgds
Rodrigo
gorla
hkrabben, can't you get the wsdl of this web service
Bastiaan Molsbeck
< xml version="1.0" encoding="UTF-8" >
</portType>
gmukherjee
Vista2007new