Michael Rasmussen wrote:
On Mon, 12 Sep 2005 18:27:06 +1000, dtra wrote:
but 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?
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 db
$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
--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php