Series 60 WAP API problems
I'm writing a program that will request information from web servers via a WAP gateway. However, I have not got the Series 60 WAP API working.
What I'm doing is:
1) Request outbound communications from generic agent
2) Connect to the Symbian OS wap server
3) Initialize a connection to the wap gateway
// host contains the IP address of the wap gw
User::LeaveIfError(connection.Open(server, host, 9201, 0, EIP, EFalse));
4) Connect the connection
5) Create a transaction (the actual HTTP request equivalent?)
RWAPConn::EGet, uri, clientHeaders,
Am I doing things right and in right order? When running on real hw, I get the connection point selection dialog, after which the GPRS connection gets opened and WAP GW reports a connection. But! The connection gets disconnected right away.
What should the client headers in step 4 include?
Any help is _very_ warmly appreciated!