Hi,
I'm trying to integrate a webservice into a c#-program, creating proxy classes from a wsdl-file with wsdl.exe. All works fine, except if containers are returned. Although I can see in the returned xml that there are entries in the containers the proxy-classes say it is empty.
Has anybody an idea why this is so an how to solve this problem
-- the returned xml-data looks like this
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelop
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
xmlns:xsd="http://www.w3.org/2001/XMLSchema
xmlns:ns1="urn:SoapSvr"><SOAP-ENV:Body id="_0"><ListClass xmlns="urn:SoapSvr"><Cont>10</Cont><Cont>20</Cont></ListClass></SOAP-ENV:Body></SOAP-ENV:Envelope
-- The wsdl-file looks like this
<?xml version="1.0" encoding="UTF-8"?><definitions name="SoapSvr
targetNamespace="urn:SoapSvr
xmlns:tns="urn:SoapSvr
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
xmlns:xsd="http://www.w3.org/2001/XMLSchema
xmlns:ns1="urn:SoapSvr
xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/
xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/
xmlns="http://schemas.xmlsoap.org/wsdl/"><types><schema targetNamespace="urn:SoapSvr
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
xmlns:xsd="http://www.w3.org/2001/XMLSchema
xmlns:ns1="urn:SoapSvr
xmlns="http://www.w3.org/2001/XMLSchema
elementFormDefault="unqualified
attributeFormDefault="unqualified"><import namespace="http://schemas.xmlsoap.org/soap/encoding/"/><complexType name="ListClass"><sequence><element name="Cont" type="xsd:int" minOccurs="1" maxOccurs="unbounded"/></sequence></complexType><element name="GetList"><complexType><sequence></sequence></complexType></element><element name="ListClass"><complexType><sequence><element name="Cont" type="xsd:int" minOccurs="1" maxOccurs="unbounded"/></sequence></complexType></element></schema></types><message name="GetListRequest"><part name="body" element="ns1:GetList"/></message><message name="ListClass"><part name="body" element="ns1:ListClass"/></message><portType name="SoapSvrPortType"><operation name="GetList"><documentation>Service definition of function ns1__GetList</documentation><input message="tns:GetListRequest"/><output message="tns:ListClass"/></operation></portType><binding name="SoapSvr" type="tns:SoapSvrPortType"><SOAP:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/><operation name="GetList"><SOAP:operation style="document" soapAction=""/><input><SOAP:body use="literal"/></input><output><SOAP:body use="literal"/></output></operation></binding><service name="SoapSvr"><documentation>gSOAP 2.6.0 generated service definition</documentation><port name="SoapSvr" binding="tns:SoapSvr"><SOAP:address location="http://localhost:80"/></port></service></definitions>