On Fri, 2011-11-25 at 08:59, Willy Mularto wrote:
> Hi,
> Thanks for the reply. I will do in simple PHP as gateway for MO I guess.

You set HTTP server with CGI script (if you don't like to create HTTP
server for this task from the scratch) which will handle incoming
messages.

> But for MT, is it only standard HTTP POST with XML tag in the body? Thanks.

Yes. With 'Content-Type' set to text/xml, if your telco does not want
something unusual in header or body.

> On Nov 24, 2011, at 5:34 PM, Milan P. Stanic wrote:
> 
> > On Thu, 2011-11-24 at 15:59, Willy Mularto wrote:
> >> Hi,
> >> We just received new API from our telco. And it said all MO, MT, DLR will 
> >> use HTTP SOAP.
> > 
> > Is that a trend with telco's now? I received the same few months ago.
> > 
> >> Since basically SOAP is an XML request. Is it possible if we treat it as 
> >> standard HTTP POST and only need to parse the XML structure? Thanks.
> > 
> > Yes, of course. I do that for some SOAP services (not related to
> > Kannel).
> > I usually strip namespace and other useless tags (envelope, and what
> > not) and I have simple XML, which can be then processed with XML tools
> > (library functions).
> > Also, I create SOAP requests with simple printf (or alike) functions and
> > send it as HTTP POST.
> > 
> > <rant>
> > I don't understand why so many service providers uses SOAP which is
> > bloated.
> > While SOAP itself seems, for the moment, to be patent unencumbered,
> > WSDL, UDDI, various security add-ons, and possibly alternate transport
> > mechanisms are all looking questionable.
> > ...
> > </rant>
> > 
> > -- 
> > Kind regards,  Milan
> > --------------------------------------------------
> > Arvanta, IT Security        http://www.arvanta.net
> > Please do not send me e-mail containing HTML code or documents in
> > proprietary format (word, excel, pps and so on)
> > 
> 
> Willy Mularto
> F300HD+MR18DE (NLC1725)
> 
> 
> 
> 
> 
> 
> 
> 
> 

-- 
Kind regards,  Milan
--------------------------------------------------
Arvanta, IT Security        http://www.arvanta.net
Please do not send me e-mail containing HTML code or documents in
proprietary format (word, excel, pps and so on)

Reply via email to