All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

Old 07-07-2003, 12:25 PM
Posts: n/a
WAP Gateway Problem ?

Hi all,

I have written Symbian application thath makes a connection to one WAP Gateway and gets wml page.

This is most important part of source code :
LIT8(RemoteHost,"" ; //wap gateway
_LIT(URI, "";
_LIT8(Headers, "";
_LIT8(Body, "";
_LIT8(ClientHeaders, "";

iWapServ = new RWAPServ();
iWspConn = new RWSPCOConn();
iWspTrans = new RWSPCOTrans();
iCap = CCapCodec::NewL();



RWAPConn::TPort RemotePort = 9201;
RWAPConn::TPort LocalPort = 0;
TBearer Bearer = EIP;
TBool SecureConn = EFalse;

iErr = iWspConn->Open(*iWapServ, RemoteHost, RemotePort, LocalPort, Bearer, SecureConn);

iErr = iWspConn->Connect(ClientHeaders, iCap);

RWAPConn::TMethod Method = RWAPConn::EGet;

iErr = iWspConn->CreateTransaction(Method, URI, Headers, Body, *iWspTrans);

HBufC8* iBuffer;
iBuffer = HBufC8::NewL(200);

TPtr8 p = iBuffer->Des();
iErr = iWspTrans->GetData(p, RWSPCOTrans::EResultBody);

The problem is thath it is works with Nokia Active Server ( Nokia WAP Gateway ) and Wind ( Italian Provider ) WAP GW, but not with TIM / Omnitel (others italian provider) WAP GW.

Which would be able be the differences ?



Old 07-07-2003, 12:41 PM
Posts: n/a
Wow, that is way over my head, sorry! But I am sure young Jimmy will know the answer...!

Old 01-10-2006, 09:09 PM
mightyturnip mightyturnip is offline
Registered User
Join Date: Oct 2006
Posts: 2
mightyturnip is on a distinguished road
will this solve the problem of there not being a listed option to change or create a Gateway IP on my phone which is the Nokia 6260?


gateway, problem, wap

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 06:52 PM.

vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy