Hi All,
I need one HTTP client example application,
can any one send me link from where I can download the example.
with regards
VK
Hi All,
I need one HTTP client example application,
can any one send me link from where I can download the example.
with regards
VK
have you checked the examples available on this forum already, there should be one pretty good one for HTTP as well.
Hi yucca,
Thanks for ur quick reply.
I found one example in emcc soft but it is not compiling one.
there are some linking errors related to http.lib.
the application is not able to get the http lib so all http api's used in application will come as linking errors.
I chekced the mmp file and http lib is added in mmp file
with regards
VK
would it be easier to go to www.Forum.nokia.com, and write HTTP on the search box in there, at least two examples that should work:
http://www.forum.nokia.com/info/sw.n..._0_en.zip.html
http://www.forum.nokia.com/info/sw.n..._3_en.zip.html
Hi yucca,
I download S60_Platform_HTTP_Client_API_Example_v2_0_en example.
and compiled it. As I explained to u in prev mail, same http lib problem is comming here.
I thought my sdk might be corrupted and tried in other systems but getting same errors.
there are linking errors related to http lib.
I am pasting the error what I got from compiling the application.
mwldsym2.exe: Undefined symbol: 'void RHTTPSession::Close(void) (?Close@RHTTPSes
sion@@QAEXXZ)'
mwldsym2.exe: referenced from 'CClientEngine::~CClientEngine(void) (??1CClientEn
gine@@UAE@XZ)' in ClientEngine.cpp:89
mwldsym2.exe: Undefined symbol: 'void RHTTPSession::OpenL(void) (?OpenL@RHTTPSes
sion@@QAEXXZ)'
mwldsym2.exe: referenced from 'void CClientEngine::ConstructL(void) (?ConstructL
@CClientEngine@@AAEXXZ)' in ClientEngine.cpp:108
mwldsym2.exe: Undefined symbol: 'class RStringPool RHTTPSession::StringPool(void
) const (?StringPool@RHTTPSession@@QBE?AVRStringPool@@XZ)'
mwldsym2.exe: referenced from 'void CClientEngine::SetHeaderL(class RHTTPHeaders
, int, class TDesC8 const &) (?SetHeaderL@CClientEngine@@AAEXVRHTTPHeaders@@HABV
TDesC8@@@Z)' in ClientEngine.cpp:137
mwldsym2.exe: referenced from 'void CClientEngine::SetHeaderL(class RHTTPHeaders
, int, class TDesC8 const &) (?SetHeaderL@CClientEngine@@AAEXVRHTTPHeaders@@HABV
TDesC8@@@Z)' in ClientEngine.cpp:140
mwldsym2.exe: referenced from 'void CClientEngine::IssueHTTPGetL(class TDesC8 co
nst &) (?IssueHTTPGetL@CClientEngine@@QAEXABVTDesC8@@@Z)' in ClientEngine.cpp:16
0
mwldsym2.exe: referenced from 'void CClientEngine::IssueHTTPPostL(class TDesC8 c
onst &, class TDesC8 const &, class TDesC8 const &) (?IssueHTTPPostL@CClientEngi
ne@@QAEXABVTDesC8@@00@Z)' in ClientEngine.cpp:203
mwldsym2.exe: referenced from 'void CClientEngine::SetupConnectionL(void) (?Setu
pConnectionL@CClientEngine@@AAEXXZ)' in ClientEngine.cpp:574
mwldsym2.exe: Undefined symbol: 'THTTPHdrVal::THTTPHdrVal(class RStringF) (??0TH
TTPHdrVal@@QAE@VRStringF@@@Z)'
mwldsym2.exe: referenced from 'void CClientEngine::SetHeaderL(class RHTTPHeaders
, int, class TDesC8 const &) (?SetHeaderL@CClientEngine@@AAEXVRHTTPHeaders@@HABV
TDesC8@@@Z)' in ClientEngine.cpp:139
mwldsym2.exe: Undefined symbol: 'struct TStringTable const & RHTTPSession::GetTa
ble(void) (?GetTable@RHTTPSession@@SAABUTStringTable@@XZ)'
mwldsym2.exe: referenced from 'void CClientEngine::SetHeaderL(class RHTTPHeaders
, int, class TDesC8 const &) (?SetHeaderL@CClientEngine@@AAEXVRHTTPHeaders@@HABV
TDesC8@@@Z)' in ClientEngine.cpp:140
mwldsym2.exe: referenced from 'void CClientEngine::IssueHTTPGetL(class TDesC8 co
nst &) (?IssueHTTPGetL@CClientEngine@@QAEXABVTDesC8@@@Z)' in ClientEngine.cpp:16
0
mwldsym2.exe: referenced from 'void CClientEngine::IssueHTTPPostL(class TDesC8 c
onst &, class TDesC8 const &, class TDesC8 const &) (?IssueHTTPPostL@CClientEngi
ne@@QAEXABVTDesC8@@00@Z)' in ClientEngine.cpp:203
mwldsym2.exe: referenced from 'void CClientEngine::SetupConnectionL(void) (?Setu
pConnectionL@CClientEngine@@AAEXXZ)' in ClientEngine.cpp:578
mwldsym2.exe: referenced from 'void CClientEngine::SetupConnectionL(void) (?Setu
pConnectionL@CClientEngine@@AAEXXZ)' in ClientEngine.cpp:581
mwldsym2.exe: Undefined symbol: 'void RHTTPHeaders::SetFieldL(class RStringF, cl
ass THTTPHdrVal) (?SetFieldL@RHTTPHeaders@@QAEXVRStringF@@VTHTTPHdrVal@@@Z)'
mwldsym2.exe: referenced from 'void CClientEngine::SetHeaderL(class RHTTPHeaders
, int, class TDesC8 const &) (?SetHeaderL@CClientEngine@@AAEXVRHTTPHeaders@@HABV
TDesC8@@@Z)' in ClientEngine.cpp:140
mwldsym2.exe: Undefined symbol: 'class RHTTPTransaction RHTTPSession::OpenTransa
ctionL(class TUriC8 const &, class MHTTPTransactionCallback &, class RStringF) (
?OpenTransactionL@RHTTPSession@@QAE?AVRHTTPTransaction@@ABVTUriC8@@AAVMHTTPTrans
actionCallback@@VRStringF@@@Z)'
mwldsym2.exe: referenced from 'void CClientEngine::IssueHTTPGetL(class TDesC8 co
nst &) (?IssueHTTPGetL@CClientEngine@@QAEXABVTDesC8@@@Z)' in ClientEngine.cpp:16
5
mwldsym2.exe: referenced from 'void CClientEngine::IssueHTTPPostL(class TDesC8 c
onst &, class TDesC8 const &, class TDesC8 const &) (?IssueHTTPPostL@CClientEngi
ne@@QAEXABVTDesC8@@00@Z)' in ClientEngine.cpp:208
mwldsym2.exe: Undefined symbol: 'class RHTTPRequest RHTTPTransaction::Request(vo
id) const (?Request@RHTTPTransaction@@QBE?AVRHTTPRequest@@XZ)'
mwldsym2.exe: referenced from 'void CClientEngine::IssueHTTPGetL(class TDesC8 co
nst &) (?IssueHTTPGetL@CClientEngine@@QAEXABVTDesC8@@@Z)' in ClientEngine.cpp:16
8
mwldsym2.exe: referenced from 'void CClientEngine::IssueHTTPPostL(class TDesC8 c
onst &, class TDesC8 const &, class TDesC8 const &) (?IssueHTTPPostL@CClientEngi
ne@@QAEXABVTDesC8@@00@Z)' in ClientEngine.cpp:212
mwldsym2.exe: referenced from 'void CClientEngine::IssueHTTPPostL(class TDesC8 c
onst &, class TDesC8 const &, class TDesC8 const &) (?IssueHTTPPostL@CClientEngi
ne@@QAEXABVTDesC8@@00@Z)' in ClientEngine.cpp:220
mwldsym2.exe: Undefined symbol: 'class RHTTPHeaders RHTTPMessage::GetHeaderColle
ction(void) (?GetHeaderCollection@RHTTPMessage@@QAE?AVRHTTPHeaders@@XZ)'
mwldsym2.exe: referenced from 'void CClientEngine::IssueHTTPGetL(class TDesC8 co
nst &) (?IssueHTTPGetL@CClientEngine@@QAEXABVTDesC8@@@Z)' in ClientEngine.cpp:16
8
mwldsym2.exe: referenced from 'void CClientEngine::IssueHTTPPostL(class TDesC8 c
onst &, class TDesC8 const &, class TDesC8 const &) (?IssueHTTPPostL@CClientEngi
ne@@QAEXABVTDesC8@@00@Z)' in ClientEngine.cpp:212
mwldsym2.exe: Undefined symbol: 'void RHTTPTransaction::SubmitL(class THTTPFilte
rHandle) (?SubmitL@RHTTPTransaction@@QAEXVTHTTPFilterHandle@@@Z)'
mwldsym2.exe: referenced from 'void CClientEngine::IssueHTTPGetL(class TDesC8 co
nst &) (?IssueHTTPGetL@CClientEngine@@QAEXABVTDesC8@@@Z)' in ClientEngine.cpp:17
4
mwldsym2.exe: referenced from 'void CClientEngine::IssueHTTPPostL(class TDesC8 c
onst &, class TDesC8 const &, class TDesC8 const &) (?IssueHTTPPostL@CClientEngi
ne@@QAEXABVTDesC8@@00@Z)' in ClientEngine.cpp:224
mwldsym2.exe: Undefined symbol: 'void RHTTPMessage::SetBody(class MHTTPDataSuppl
ier &) (?SetBody@RHTTPMessage@@QAEXAAVMHTTPDataSupplier@@@Z)'
mwldsym2.exe: referenced from 'void CClientEngine::IssueHTTPPostL(class TDesC8 c
onst &, class TDesC8 const &, class TDesC8 const &) (?IssueHTTPPostL@CClientEngi
ne@@QAEXABVTDesC8@@00@Z)' in ClientEngine.cpp:220
mwldsym2.exe: Undefined symbol: 'void RHTTPTransaction::Close(void) (?Close@RHTT
PTransaction@@QAEXXZ)'
mwldsym2.exe: referenced from 'void CClientEngine::CancelTransaction(void) (?Can
celTransaction@CClientEngine@@QAEXXZ)' in ClientEngine.cpp:243
mwldsym2.exe: referenced from 'void CClientEngine::MHFRunL(class RHTTPTransactio
n, class THTTPEvent const &) (?MHFRunL@CClientEngine@@EAEXVRHTTPTransaction@@ABV
THTTPEvent@@@Z)' in ClientEngine.cpp:335
mwldsym2.exe: referenced from 'void CClientEngine::MHFRunL(class RHTTPTransactio
n, class THTTPEvent const &) (?MHFRunL@CClientEngine@@EAEXVRHTTPTransaction@@ABV
THTTPEvent@@@Z)' in ClientEngine.cpp:345
mwldsym2.exe: referenced from 'void CClientEngine::MHFRunL(class RHTTPTransactio
n, class THTTPEvent const &) (?MHFRunL@CClientEngine@@EAEXVRHTTPTransaction@@ABV
THTTPEvent@@@Z)' in ClientEngine.cpp:361
mwldsym2.exe: Undefined symbol: 'class RHTTPResponse RHTTPTransaction::Response(
void) const (?Response@RHTTPTransaction@@QBE?AVRHTTPResponse@@XZ)'
mwldsym2.exe: referenced from 'void CClientEngine::MHFRunL(class RHTTPTransactio
n, class THTTPEvent const &) (?MHFRunL@CClientEngine@@EAEXVRHTTPTransaction@@ABV
THTTPEvent@@@Z)' in ClientEngine.cpp:270
mwldsym2.exe: referenced from 'void CClientEngine::MHFRunL(class RHTTPTransactio
n, class THTTPEvent const &) (?MHFRunL@CClientEngine@@EAEXVRHTTPTransaction@@ABV
THTTPEvent@@@Z)' in ClientEngine.cpp:291
mwldsym2.exe: Undefined symbol: 'int RHTTPResponse::StatusCode(void) const (?Sta
tusCode@RHTTPResponse@@QBEHXZ)'
mwldsym2.exe: referenced from 'void CClientEngine::MHFRunL(class RHTTPTransactio
n, class THTTPEvent const &) (?MHFRunL@CClientEngine@@EAEXVRHTTPTransaction@@ABV
THTTPEvent@@@Z)' in ClientEngine.cpp:271
mwldsym2.exe: Undefined symbol: 'class RStringF RHTTPResponse::StatusText(void)
const (?StatusText@RHTTPResponse@@QBE?AVRStringF@@XZ)'
mwldsym2.exe: referenced from 'void CClientEngine::MHFRunL(class RHTTPTransactio
n, class THTTPEvent const &) (?MHFRunL@CClientEngine@@EAEXVRHTTPTransaction@@ABV
THTTPEvent@@@Z)' in ClientEngine.cpp:275
mwldsym2.exe: Undefined symbol: 'class MHTTPDataSupplier * RHTTPMessage::Body(vo
id) const (?Body@RHTTPMessage@@QBEPAVMHTTPDataSupplier@@XZ)'
mwldsym2.exe: referenced from 'void CClientEngine::MHFRunL(class RHTTPTransactio
n, class THTTPEvent const &) (?MHFRunL@CClientEngine@@EAEXVRHTTPTransaction@@ABV
THTTPEvent@@@Z)' in ClientEngine.cpp:291
mwldsym2.exe: Undefined symbol: 'class RHTTPConnectionInfo RHTTPSession::Connect
ionInfo(void) const (?ConnectionInfo@RHTTPSession@@QBE?AVRHTTPConnectionInfo@@XZ
)'
mwldsym2.exe: referenced from 'void CClientEngine::SetupConnectionL(void) (?Setu
pConnectionL@CClientEngine@@AAEXXZ)' in ClientEngine.cpp:575
mwldsym2.exe: Undefined symbol: 'THTTPHdrVal::THTTPHdrVal(int) (??0THTTPHdrVal@@
QAE@H@Z)'
mwldsym2.exe: referenced from 'void CClientEngine::SetupConnectionL(void) (?Setu
pConnectionL@CClientEngine@@AAEXXZ)' in ClientEngine.cpp:578
mwldsym2.exe: referenced from 'void CClientEngine::SetupConnectionL(void) (?Setu
pConnectionL@CClientEngine@@AAEXXZ)' in ClientEngine.cpp:581
Errors caused tool to abort.
mwldsym2.exe: Undefined symbol: 'void RHTTPPropertySet::SetPropertyL(class RStri
ngF, class THTTPHdrVal) (?SetPropertyL@RHTTPPropertySet@@QAEXVRStringF@@VTHTTPHd
rVal@@@Z)'
if you do not have the http.lib, then there is something wrong with your SDK , it should be included in normalpublic SDKs.
there is a http lib in my system, and not only my systems I tried in other systems and same error is coming. I am able to find it when i searched in my system.
i tried compiling not only for 2nd fp2 but also for 2fp3 and 3rd edition sdk and facing some problem in all those sdk's.
any thing extra i need to do.
with regards
VK
Hi,
Have you changed any thing in mmp file. It easily gets compiled in both these IDE VC++ 6 and Carbide. Try to complie it from command prompt. Before building clean all the builds.
Thanks and Regards,
Ravi
In the 2nd ed FP2 SDK there is an example @
\Symbian\8.0a\S60_2nd_FP2_CW\Examples\appprots\exampleclient
when I tried importing http example in code warrior it is giving me below error
Files missing from file hierarchy
Some files were missing from file hierarchy information for the files view project
these files have been added to the files view hierarchy in a group called "Rescued Items"
and when i saw that rescued items it is having http.lib in that
any thing wrong with my code warrior ???
I tried running other examples in code warrior they all are working fine. and i tried in carbide then also same error
paul with ur exmample also same issue.
it looks like whereever i have http lib included in mmp it is giving link error.
Hi vinayakak,
Try these commands from Command Promt (from group folder)
abld reallyclean
abld cleanall
abld clean
bldmake clean
bldmake bldfiles
abld build wins udeb (if wins platform)
OR
abld build winscw udeb (if Code Warrior)
Thanks and Regards,
Ravi
Hi,
Can you compress (zip or rar) the HTTP Client Example and send it to me
emailatravi@gmail.com
Thanks and Regards,
Ravi