Sending WAP OTA Settings | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through December 01, 2004 ⬆ |
◄ ► |
Author | Message | |||
Anonymous |
Hi, I need to send WAP OTA Settings programatically. How can i achieve this?i understand i have to use URL Parameters.I would appreciate if anyone could guide me how to go about it. Im looking in the documentation for the URL parameters for OTA Settings but without luck. thanks, Mark | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 3454 Registered: 10-2002 |
Hi Mark, There are two types of OTA settings. Older Nokia and (Sony)Ericsson phones use a standard specific to those manufacturers ... while newer phones use a settings specification standardised by the Open Mobile Alliance (OMA). For the older Nokia/Ericsson settings, we do support URL parameters: http://www.nowsms.com/documentation/ProductDocumentation/sending_wap_ota_message s/wap_configuration_ota_messages.htm But you need to understand the format of the XML settings documents in order to effectively use them. I generally recommend that you're better off building XML settings documents for the settings that you need, and then using HTTP POST to submit them to NowSMS. The above link also talks about that approach. The HTTP POST can also be used with OMA OTA settings. Basically, you just open an HTTP connection to the port for the NowSMS web interface, and then you issue an HTTP POST: POST /?PhoneNumber=xxxxxxxx&OTA=POST HTTP/1.0 Content-Length: yyyyyy (*blank line*) <xml settings document> When submitting an OTA request in this manner, the HTTP POST request must include a “Content-Length:” header. This should match the length of your XML document. NowSMS will scan the XML content to automatically determine what the content type is ... so that it can be encoded properly for sending over the air. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 3456 Registered: 10-2002 |
I should add, it can be a bit overwhelming to create your own XML settings from scratch. A good starting point is to use the NowSMS forms web forms to send settings similar to those that you want to send, and then intercept the XML that is generated so that you can make edits. A tip on doing that can be found at the following link: http://support.nowsms.com/discus/messages/485/4555.html |