Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
what is like this code from asp.net? soapclient


$options = array('login' => 'user','password' => 'pass'); $client = new SoapClient('http://sms.host.net/?WSDL', $options);
$messageId = $client->send('0032323','abc');
sleep(3);
print ($client->deliveryStatus($messageId));
Posted

Hello,

From ASP.NET you can add a proxy to your project based in the webservice address (in this case is http://sms.host.net/?WSDL).

Don't forget to set the credentials (the $options code). After that, you can call the method send and deliveryStatus.

Cheers,
JAFC
 
Share this answer
 
i add credentials but that not work
 
Share this answer
 
Comments
This is not an answer. Please delete this and if you want to reply to any answer, then click on "Have a Question or Comment" in that Answer Box itself.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900