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 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
oops, sorry about the double post, i did a reply-all, and it posted to
the group twice
just a quick update on what i've tried
i tried setting the $arrDestinationAddressSet directly as a string not
an array, same problem
tried putting the string $arrID[$i] in place of the object $sd in the
sendSms() call, same problem
dave
--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php