Hi everbody, i�m programming for palm OS 4.x and use the inet.lib to send a
http request.
I�m using xml, but i only get the xml errormessage "The request could not be
processed".
Yes, that means that the http request is successful itself, but it seems
that my Request argument (3rd in INetLibSockHTTPReqSend) is totally ignored.
No matter what i enter, it always gives me the same errormessage.
I�m wondering if i did something wrong with writing "xml=..." to Request.
The sourcecode i wrote is shown below:

err = INetLibOpen (libRefNum, configIndex, NULL, NULL, NULL, &inetHP);
err = INetLibSockOpen (libRefNum, inetHP, inetSchemeHTTP, &sockHP);
err = INetLibSockHTTPReqCreate (libRefNum, sockHP, "POST",
"http.www.myserver.com/blaapi.oxp", NULL);
err = INetLibSockHTTPReqSend (libRefNum, sockHP, Request, StrLen (Request),
100);

Did i do anything wrong so far? I know its hard to give a statement without
knowing the xml calls and stuff, but i hope you can help me with that few
information. Thanx in advance.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to