Use our SOAP API to integrate your text messaging solutions with other languages.

The messaging web service provided by MessageMedia is a web service that allows client applications to send and receive SMS and voice messages over the internet. This web service provides an interface to the MessageMedia gateway. The MessageMedia gateway provides intelligent carrier-switching and routes messages through different communication carriers to maximise efficiency and service.

The messaging web service is provided as a server-side API that may be integrated into client applications. It provides client applications with the ability to use the MessageMedia gateway to send SMS and voice messages, receive SMS reply messages, and track delivery of SMS messages.

Client applications communicate with the messaging web service via XML documents. These XML documents may be transported to and from the web service via either SOAP or HTTP-POST.

Read more about SOAP implementation here: SOAP messaging web service

Messaging web service features

The messaging web service provides client applications with the following features:

  • Communication with the MessageMedia gateway via XML over either SOAP or HTTP-POST
  • Communication over either secure or non-secure HTTP
  • Support of mobile-terminated (MT) and mobile-originated (MO) messaging
  • Ability to send voice messages to both mobile and landline devices
  • Support of multiple mixed-format message sending per transaction
  • Support of delivery reporting (delivery status information for MT messages returned by the carrier network)
  • Ability to receive multiple MO messages per transaction
  • Support of concatenated SMS (i.e. SMS messages greater than 160 characters are not split up — they are concatenated into a single SMS message delivered to the recipient)
  • Redundant service

Client requirements for service integration

The messaging web service provides a server-side interface to client applications. It can be leveraged by any programming language and platform that can transfer XML data over the internet via either SOAP or generic HTTP-POST. These are the minimum level of requirements necessary for integration of the web service:

  • General web programming knowledge and experience
  • Basic familiarity with either SOAP or HTTP-POST
  • Basic understanding of XML

XML transport

XML transport via SOAP

The messaging web service is available as a SOAP 1.1 web service at In general, it is much easier for developers to integrate with SOAP web services as opposed to communication via XML over HTTP-POST. The reason for this is that there is an abundance of third party toolkits for generating client proxies for XML web services.

A client proxy is a software module (usually a set of classes) that is integrated into a client application. It provides the client application with the ability to communicate with a specific web service via function calls. Client proxies allow the developer to work at a higher level, focusing on objects and patterns rather than the manipulation and transport of raw XML. Most computing languages and platforms offer tools that take a WSDL file and associated XML schema files as input and automatically generate a client proxy for the developer.

The messaging web service WSDL file can be found at The messaging web service implements a document/literal wrapped web service that conforms to WS-I Basic Profile 1.0. In general document/literal wrapped web services and in particular, WS-I Basic Profile compliant web services, provide the highest level of interoperability with client applications and third-party tools.

XML transport via HTTP-POST

In addition to SOAP, the MessageMedia messaging web service is also available via HTTP-POST. For ease of implementation it is recommended that developers integrate the messaging service as a SOAP web service. Given the prominence of SOAP development frameworks and tools, this saves having to generate and parse raw XML documents. If, for whatever reason, SOAP is not a viable option the HTTP-POST method is made available and provides the same level of functionality.

The messaging web service is available as a HTTP-POST web service at The HTTP-POST method follows the exact same XML format as the SOAP method — instead of the XML request being contained within the body of a SOAP envelope it is passed to the messaging web service as a HTTP-POST message. The body of the POST should contain a single parameter, “XMLDATA”. The value of the parameter is a URL-encoded text string that contains the XML request document.

Sample codes for you to connect to a SOAP API and get up and running on Windows, Linux/Unix or Mac in your preferred language are also available on GitHub in C#, Java, PHP, Bash and Python.

Ready to go?

The easiest way to send engaging
messages to your customers

Start messaging for free