Michael Rasmussen wrote:
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"/>
omg, apologies
i should have viewed source to get all the xml
sorry i'm trying to only paste relevant stuff, but it's hard to work out
what is need and what isn't
<wsdl:definitions targetNamespace="http://soapserver"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://soapserver" xmlns:intf="http://soapserver"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns1="urn:types.api.atomic.com"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
dave
--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php