PHP example:

$s = new soapclient($services_url.$port."?wsdl");
$s->setCredentials($user,$password);
$s->setHeaders("<provider-service><service-id>$service_id</service-id></provider-service>");
 
$param = array('acount_ids' => $account_ids, 'msisdns' => $msisdns,
		'billAmount' => $bill_amount, 'billCurrency' => $bill_currency,
		'smsSender' => $sms_sender, 'smsBody' => $sms_body, 'smsLanguage' => $sms_language,
		'smsHeaders' => null,
		'startDeliveryTime' => null, 'endDeliveryTime' => null,
		'giveNotification' => false);
 
$res = $s->call('sendSMS', $param, "http://biteapi.metasite.net/messaging",
"http://biteapi.metasite.net/messaging/sendSMS");
 
faq5.txt · Last modified: 2007/09/25 15:30 by simonas