Write a script, either a web or an executable that accepts the data needed (either as HTTP GET/POST arguments or command line arguments), creates from it the neccessary XML and submits it to where it needs going. then read the user-guide on how to call that script from a sms-service group.-----Message d'origine----- De : Oded Arbel [mailto:[EMAIL PROTECTED]] Envoyé : vendredi 12 juillet 2002 20:10 À : nil Cc : [EMAIL PROTECTED] Objet : Re: XMLnil wrote:Hi When I receive an sms, I want to post through http a XML message. Does anybody knows how I can do this. the http url is: http://mysms.com/MessageServlet And the xml messages are: <?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE mobilectrl_received_sms> <mobilectrl_received_sms> <header> <customer_id>MYNAME</customer_id><mobilectrl_id>.1.12:16ac04:eed9dbe852:-5cc2</mobilectrl_id></header> <payload> <sms premiumrate="15"> <message>MY Message</message> <from_msisdnoperator="tele2">+3372584253</from_msisdn></sms> </payload> </mobilectrl_received_sms> I need to put the phone number and the message in the XML doc and postit foreach sms that I receive. Thank you.Kannel can't do that directly (though you might want to check the XMLRPC interface that does something similar), but you can set the sms-service to call an executable script or a web script to format the XML and POST it to where you need to. How do I do that ?
--
Oded Arbel
m-Wise mobile solutions
