Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

Examples

Using the Web Services

The web services are hosted for testing on the following URL

http://test.smartmessagingservices.net:8080/gateway/services/SMSService

In order to use the SMS service you will need to be provided with a MessageCore username and password

ASP

An example using ASP to send SMS "Hello World" to 2 recipient phone numbers

Set client = Server.CreateObject("MSSOAP.SoapClient")
 
client.ClientProperty("ServerHTTPRequest") = True
client.MSSoapInit("http://test.smartmessagingservices.net:8080/gateway/services/SMSService?wsdl")
 
Dim username
Dim password
Dim recipients(1)
Dim message
Dim documentId
 
username = "username"
password = "password"
 
recipients(0) =  "0410111111"
recipients(1) =  "0410222222"
 
message = "Hello World"
 
documentId = client.send(username, password, recipients, message)
  • No labels