Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
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)

JAVA

Tony.Plaza@bmwmelbourne.com.au?subject=SMS Reply&body=Hi+Tony+5Sep+is+ok.+I+will+need+a+car+as+i+have+2+get+2+work.Can+u+confirm+if+this+is+ok.Thks+Virginia%5Cn%5Cn+--in+reply+to--%5Cn%5CnHello+Vicki%2C%0A%0AWe+have+arranged+a+service+booking 

This is an example using JAVA to send a more advanced message to the SMS gateway using the Web Service's sendDocument method.

...