Re: php5 soap deserializer error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux