SendSMS


Click here for a complete list of operations.

SendSMSToIndia

Send unlimited free SMS to India - Maximum message size is 120 characters

Usage:If your mobile number is 098XXXXXXXX ,Please enter as 98XXXXXXXX
Network Covered: Airtel,Idea Cellular,Skycell ,RPG Cellular,Hutch,Celforce / Fascel,BPL Mobile,Escotel

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
MobileNumber:
FromEmailAddress:
Message:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /SendSMS.asmx HTTP/1.1
Host: www.webservicex.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.webserviceX.NET/SendSMSToIndia"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SendSMSToIndia xmlns="http://www.webserviceX.NET">
      <MobileNumber>string</MobileNumber>
      <FromEmailAddress>string</FromEmailAddress>
      <Message>string</Message>
    </SendSMSToIndia>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SendSMSToIndiaResponse xmlns="http://www.webserviceX.NET">
      <SendSMSToIndiaResult>
        <FromEmailAddress>string</FromEmailAddress>
        <MobileNumber>string</MobileNumber>
        <Provider>string</Provider>
        <State>string</State>
        <Status>string</Status>
      </SendSMSToIndiaResult>
    </SendSMSToIndiaResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /SendSMS.asmx HTTP/1.1
Host: www.webservicex.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SendSMSToIndia xmlns="http://www.webserviceX.NET">
      <MobileNumber>string</MobileNumber>
      <FromEmailAddress>string</FromEmailAddress>
      <Message>string</Message>
    </SendSMSToIndia>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SendSMSToIndiaResponse xmlns="http://www.webserviceX.NET">
      <SendSMSToIndiaResult>
        <FromEmailAddress>string</FromEmailAddress>
        <MobileNumber>string</MobileNumber>
        <Provider>string</Provider>
        <State>string</State>
        <Status>string</Status>
      </SendSMSToIndiaResult>
    </SendSMSToIndiaResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /SendSMS.asmx/SendSMSToIndia?MobileNumber=string&FromEmailAddress=string&Message=string HTTP/1.1
Host: www.webservicex.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<SMSResult xmlns="http://www.webserviceX.NET">
  <FromEmailAddress>string</FromEmailAddress>
  <MobileNumber>string</MobileNumber>
  <Provider>string</Provider>
  <State>string</State>
  <Status>string</Status>
</SMSResult>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /SendSMS.asmx/SendSMSToIndia HTTP/1.1
Host: www.webservicex.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

MobileNumber=string&FromEmailAddress=string&Message=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<SMSResult xmlns="http://www.webserviceX.NET">
  <FromEmailAddress>string</FromEmailAddress>
  <MobileNumber>string</MobileNumber>
  <Provider>string</Provider>
  <State>string</State>
  <Status>string</Status>
</SMSResult>