Re: php5 soap deserializer error

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

 



Michael Rasmussen wrote:

dtra writes:

apologies if it seems like i am spamming this group

It is OK but could you not skip sending me a copy by email? I read the list every day and I prifer using nntp.
sure no worries


The problem, as I see it, is that the serializer cannot find any definition for the type ArrayOf_xsd_string. I think this is coursed by an error in the wsdl file. According to your wsdl snippet the type is defined in this way: type="impl:ArrayOf_xsd_string" but the deserializer is looking here: {http://soapserver}ArrayOf_xsd_string. At least a / is missing (http://soapserver/). That means that this datatype is defined in the schema which ever impl is a reference to. Could you provide the headers and the schema section from the wsdl file?

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

thanks
dave

<wsdl:definitions targetNamespace="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"/>
<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>
<complexType name="ServiceException">
<sequence/>
</complexType>
<complexType name="SingleItemPurchase">
<sequence>
<element name="orderDate" nillable="true" type="xsd:dateTime"/>
<element name="contentClassification" nillable="true" type="xsd:string"/>
<element name="amount" nillable="true" type="xsd:decimal"/>
<element name="requestMethod" nillable="true" type="xsd:string"/>
<element name="referenceCode" nillable="true" type="xsd:string"/>
<element name="sessionToken" nillable="true" type="xsd:string"/>
<element name="deliveryMethod" nillable="true" type="xsd:string"/>
<element name="cpAccountId" nillable="true" type="xsd:string"/>
<element name="currency" nillable="true" type="xsd:string"/>
<element name="orderSubmitDate" nillable="true" type="xsd:dateTime"/>
<element name="productCode" nillable="true" type="xsd:string"/>
<element name="parameters" nillable="true" type="xsd:string"/>
<element name="productDescription" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
<complexType name="InvalidArgumentException">
<sequence/>
</complexType>
</schema>

--
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