Hi all
I'm building a two-way SMS (mobile short message) service using a 3rd party SMS gateway over SOAP.
I've managed to get outgoing messages (web to phone) working nicely using PHP5's built in SoapClient object - that's all fine.
I'm now trying to work out how to recieve and process mobile-originated messages via the SMS gateway. The documentation says that "The SOAP connection is made over an HTTP connection using the POST command. " Trouble is, I'm not sure what this means in reality and how to actually deal with it using PHP5 etc. I'm guessing I do something like:
if ($_SERVER['REQUESTMETHOD']=='POST')
{
// do something SOAPy, not sure what.
}
Can anyone point me in the right direction for more help on this? Do I need to write a SOAP server of some kind??
Any tips greatly appreciated. If you're interested, the doc is here: SMS to SOAP API
Many thanks,
sim