smsc_soap - part 2
"Alex Kinch" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <0a7201c31f28$b92af920$6601a8c0@alex> |
I've done some reading, and figured out smsc_soap is more of an XML-RPC parser than an XML-SOAP parser. Anyway.. it should work ok with O2 Online and possibly T-Mobile here in the UK, as the former definitely supports XML-RPC and I assume the latter does to. I'm trying to get it parse the attached file - not getting very far. Can anyone (Oded?) give me some pointers? Thanks, Alex
SampleSubmission.xml
(text/xml, 728 B)
<?xml version="1.0" encoding="utf-8" ?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Header> <ReceivedHeader xmlns="urn:www-esendex-net:virtualmodemservice"> <username>[email protected]</username> <password>password</password> </ReceivedHeader> </soap:Header> <soap:Body> <SMSMessageReceived xmlns="urn:www-esendex-net:virtualmodemservice"> <messageID>570785ba-1fe3-4414-9ada-26937590954d</messageID> <from>+447711432089</from> <to>+447800140888</to> <message>Hello World</message> <contentType>0</contentType> </SMSMessageReceived> </soap:Body> </soap:Envelope>