SOAP Web Service Send SMS text messages with our SOAP Web Service

soap

SOAP is a call protocol remote RPC (Remote Procedure Call) object-oriented and built on XML procedure. It enables the transmission of messages between remote objects, which means that it allows an object to invoke object methods physically located on another server, usually using the http protocol.”); ?>

SOAP protocol is composed of two parts:

  • a data model defining the format of the message, that is to say, the information to be transmitted
  • an envelope, containing information about the message itself to allow its transport and treatment

sms_iphone5

AllMySMS.com SOAP API uses a WSDL (Web Service Description Language) file that is used to provide a detailed report on the use of Web Service SOAP AllMySMS.com model.

WSDL is used to describe:

  • the communication protocol
  • the message format required to communicate with the service
  • methods that can be invoked
  • the location service

SEND REQUEST TO THE PLATFORM SOAP ALLMYSMS.COM

The WSDL for the web AllMySMS.com service is available at the following url:

http://api.msinnovations.com/soap/wsdl.php

To send SOAP requests to the server via HTTP AllMySMS.com, please send your information to the following url:
http://api.msinnovations.com/soap/server.php

TEST OUR SERVICE

We recommend that you test our web service SOAP with SoapUI software:

soap_ui2 soapui.org,

Then simply import our project available at this address:

SOAP MSINNOVATIONS-soapui-project

DOCUMENTATION

To view definitions objects and all methods available please refer to the documentation available at:

allmysms_api_SOAP_1.5_FR.pdf

SAMPLE

To make things easier, we provide pieces of code so you can test our services faster:

EXAMPLE SOAP ENVELOPE

REQUEST

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://api.msinnovations.com/soap/server.php">
<soapenv:Header/>
<soapenv:Body>
<ser:sendSms soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<clientCode xsi:type="xsd:string">your login</clientCode>
<passCode xsi:type="xsd:string">your password</passCode>
<messageData xsi:type="ser:MsInnovations_Api_Soap_Objects_MessageData">
<!--You may enter the following 9 items in any order-->
<message xsi:type="xsd:string">lorem ipsum dolor sit amet.</message>
<dynamic xsi:type="xsd:int"></dynamic>
<lowcost xsi:type="xsd:int"></lowcost>
<campaignName xsi:type="xsd:string">Soap Campaign</campaignName>
<cliMsgId xsi:type="xsd:string">your own parameter</cliMsgId>
<date xsi:type="xsd:string"></date>
<tpoa xsi:type="xsd:string"></tpoa>
<mailNotif xsi:type="xsd:int"></mailNotif>
<sms xsi:type="ser:ArrayOfMsinnovations_api_soap_objects_sms">
<!--Zero or more repetitions:-->
<item xsi:type="ser:MsInnovations_Api_Soap_Objects_Sms">
<!--You may enter the following 2 items in any order-->
<mobilePhone xsi:type="xsd:string">33612345678</mobilePhone>
<params xsi:type="ser:ArrayOfString">
<!--Zero or more repetitions:-->
<item xsi:type="xsd:string"></item>
</params>
</item>
</sms>
</messageData>
</ser:sendSms>
</soapenv:Body>
</soapenv:Envelope>

RESPONSE

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:MsInnovations_Api_Soap_Wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:sendSmsResponse>
<return xsi:type="SOAP-ENC:Struct">
<status xsi:type="xsd:string">100</status>
<statusText xsi:type="xsd:string">Le message a été envoyé</statusText>
<credits xsi:type="xsd:string">5000</credits>
<invalidNumbers xsi:type="xsd:string"/>
<campaignId xsi:type="xsd:string">ap_291195728421</campaignId>
<ids SOAP-ENC:arrayType="SOAP-ENC:Struct[1]" xsi:type="SOAP-ENC:Array">
<item xsi:type="SOAP-ENC:Struct">
<mobilePhone xsi:type="xsd:string">33612345678</mobilePhone>
<id xsi:type="xsd:string">42224660</id>
</item>
</ids>
</return>
</ns1:sendSmsResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>