Re: AW: Problems sending OTA conf. Nokia

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
Bjoern Buettner wrote:
> 
> Thanx,
> 
>  but I've some problems using XML4OTA
> 
> This is my understanding of the Kannel Doc.
> http://mysmsgw:13013/cgi-bin/sendota?username=ota&password=ota1&phonenumber=
> 1234567&text=/usr/local/kannel-20020228/test.xml&type=settings
> 
> Is this correct??

No, the GET request parameter "text" has to contain the whole XML
encoded OTA file. It's not pointing to the file name, it includes the
whole thing, i.e.

http://mysmsgw:13013/cgi-bin/sendota?username=ota&password=ota1&phonenumber=
1234567&text=<?xml version="1.0"?><!DOCTYPE CHARACTERISTIC-LIST
SYSTEM...

Beware that the XML document must of course be url-encoded for this
purpose.

BTW, Aarno, shouldn't we use POST instead here for individual OTA XML
processing?
Using GET like this is someway nasty.

Stipe

[email protected]
-------------------------------------------------------------------
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: [email protected]
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.