Open GoogleCodeExporter opened 9 years ago
Hi, I have been trying to read elements from an array with this library, but always the array comes empty, do you know what do I have to do in order to deserialize a SoapArray? This is the XML: <definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="https://aaa/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="https://aaa/"> <types> <xsd:schema targetNamespace="https://aaa/"> <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/"/> <xsd:complexType name="Chapter"> <xsd:all> <xsd:element name="title" type="xsd:string"/> <xsd:element name="page" type="xsd:int"/> </xsd:all> </xsd:complexType> <xsd:complexType name="ChapterArray"> <xsd:complexContent> <xsd:restriction base="SOAP-ENC:Array"> <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="tns:Chapter[]"/> </xsd:restriction> </xsd:complexContent> </xsd:complexType> <xsd:complexType name="Book"> <xsd:all> <xsd:element name="author" type="xsd:string"/> <xsd:element name="title" type="xsd:string"/> <xsd:element name="numpages" type="xsd:int"/> <xsd:element name="toc" type="tns:ChapterArray"/> </xsd:all> </xsd:complexType> </xsd:schema> </types> <message name="getBookRequest"> <part name="title" type="xsd:string"/> </message> <message name="getBookResponse"> <part name="return" type="tns:Book"/> </message> <portType name="teatroPortType"> <operation name="getBook"> <input message="tns:getBookRequest"/> <output message="tns:getBookResponse"/> </operation> </portType> <binding name="teatroBinding" type="tns:teatroPortType"> <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="getBook"> <soap:operation soapAction="https://aaa/pruebalista2.php/getBook" style="rpc"/> <input> <soap:body use="encoded" namespace="" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </input> <output> <soap:body use="encoded" namespace="" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </output> </operation> </binding> <service name="teatro"> <port name="teatroPort" binding="tns:teatroBinding"> <soap:address location="https://aaa:443/pruebalista2.php"/> </port> </service> </definitions> Thanks, W
Original issue reported on code.google.com by wilmar.c...@gmail.com on 8 Mar 2012 at 9:12
wilmar.c...@gmail.com
See Issue 19 for suggestions for workarounds: http://code.google.com/p/sudzc/issues/detail?id=19
Original comment by j...@funktional.com on 18 Apr 2012 at 11:02
j...@funktional.com
Original issue reported on code.google.com by
wilmar.c...@gmail.com
on 8 Mar 2012 at 9:12