Re: php5 soap deserializer error

From: Date: Thu, 15 Sep 2005 00:30:12 +0000
Subject: Re: php5 soap deserializer error
References: 1 2 3 4 5 6 7 8 9  Groups: php.soap 
Request: Send a blank email to php-soap+get-2001@lists.php.net to get a copy of this message
On Thu, 15 Sep 2005 09:13:29 +1000, dtra wrote: > > this is copied directly from the wsdl file > i have removed some of the stuff that doesn't seem relevant, eg. other > methods and objects that aren't used/called > please let me know if there is more information that you need > The WSDL file is not correct. Read below. > > <wsdl:definitions > targetNamespace="http://soapserver"> A reference to the current namespace is missing E.g xmlns:tns="http://soapserver" > <wsdl:types> > <schema targetNamespace="http://soapserver"> > <import > namespace="http://schemas.xmlsoap.org/soap/encoding/"/> > <complexType name="ArrayOf_xsd_string"> > <complexContent> > <restriction base="soapenc:Array"> > <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]"/> > </restriction> > </complexContent> > </complexType> > </schema> > <schema targetNamespace="urn:types.api.soapserver"> > <import > namespace="http://schemas.xmlsoap.org/soap/encoding/"/> > <complexType name="Sms"> > <sequence> > <element name="destinationAddressSet" nillable="true" > type="impl:ArrayOf_xsd_string"/> This is wrong. The reference impl is not referencing any schema. If current namespace was specified it should have looked like this: <element name="destinationAddressSet" nillable="true" type="tns:ArrayOf_xsd_string"/> -- Hilsen/Regards Michael Rasmussen http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917

« previous php.soap (#2001) next »