Re: re: php5 soap deserializer error
| From: | dtra | Date: | Tue, 13 Sep 2005 00:00:04 +0000 |
| Subject: | Re: re: php5 soap deserializer error | ||
| References: | 1 2 | Groups: | php.soap php.soap |
| Request: | Send a blank email to php-soap+get-1988@lists.php.net to get a copy of this message | ||
Michael Rasmussen wrote:
On Mon, 12 Sep 2005 18:27:06 +1000, dtra wrote:ok, hi it shows up a few times in the wsdl file as part of a complex type <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 i'll just add some more of the php code that accesses it [php] for ($i = 0; $i < $intCount; $i++) { # arrID is a string array that is set earlier where we get data from our own dbbut i'm getting this error when i run the script [code] SoapFault exception: [soapenv:Server.userException] org.xml.sax.SAXException: No deserializer for {http://company.com/soap/server}ArrayOf_xsd_string in /home/www/soap/client.php:36 [/code]Could you show the peace of the wsdl file where the complexType ArrayOf_xsd_string in defined?
$arrDestinationAddressSet = array($arrID[$i]);
$sd = new SmsDelivery($arrDestinationAddressSet, $strSenderName, $strEncoding, $strMessage);
try {
# error occurs on below line, line 36, i'm guessing it is the $sd object
$strReturnValue = $sc->sendSms($strAccessID, $strPassword, $strUrl, $sip, $sd);
}
catch (SoapFault $strException) {
print $strException;
}
catch (Exception $e) {
print $e->getMessage();
}
}
[/php]
please let me know if you need more information
thanks
dave