Re: re: php5 soap deserializer error

From: Date: Tue, 13 Sep 2005 22:38:06 +0000
Subject: Re: re: php5 soap deserializer error
References: 1 2 3  Groups: php.soap php.soap 
Request: Send a blank email to php-soap+get-1991@lists.php.net to get a copy of this message
On Tue, 13 Sep 2005 10:00:04 +1000, dtra wrote: > <sequence> > <element name="destinationAddressSet" nillable="true" > type="impl:ArrayOf_xsd_string"/> > <element name="senderName" nillable="true" > type="xsd:string"/> > <element name="message" nillable="true" > type="xsd:string"/> > <element name="encoding" nillable="true" > type="xsd:string"/> > </sequence> > > the encoding element above can be 'text', '8 bit', or 'unicode' > as it's > values To be able to parse lists to and from a webservice you need to define something similar like this: <sequence> <element name="destinationAddressSet" nillable="true" type="impl:ArrayOf_xsd_string"/> <element name="senderName" nillable="true" type="xsd:string"/> <element name="message" nillable="true" type="xsd:string"/> <element name="encoding" nillable="true" type="xsd:string"/> </sequence> <complexType name="ArrayOf_xsd_string"> <complexContent> <sequence> <element name="ArrayOfString" type="xsd:string" minOccurs="0" maxOccurs="unbounded" nillable="1" /> <restriction base="SOAP-ENC:Array"> <attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string[]>" /> </restriction> </sequence> </complexContent> </complexType> Untested. -- Hilsen/Regards Michael Rasmussen http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917

« previous php.soap (#1991) next »