Click here to Skip to main content
15,900,108 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: trace error Pin
CPallini4-Dec-07 23:41
mveCPallini4-Dec-07 23:41 
GeneralRe: trace error Pin
Nelek4-Dec-07 23:46
protectorNelek4-Dec-07 23:46 
GeneralRe: trace error Pin
vasarlajagadish15-Oct-09 4:02
vasarlajagadish15-Oct-09 4:02 
GeneralRe: trace error Pin
ThatsAlok4-Dec-07 23:40
ThatsAlok4-Dec-07 23:40 
Generalabout send function!! Pin
Laurence4-Dec-07 22:35
Laurence4-Dec-07 22:35 
GeneralRe: about send function!! Pin
Laurence4-Dec-07 22:44
Laurence4-Dec-07 22:44 
GeneralRe: about send function!! Pin
SandipG 4-Dec-07 22:59
SandipG 4-Dec-07 22:59 
GeneralRe: about send function!! Pin
Laurence5-Dec-07 1:45
Laurence5-Dec-07 1:45 
GeneralRe: about send function!! Pin
followait4-Dec-07 23:24
followait4-Dec-07 23:24 
GeneralRe: about send function!! Pin
ktm TechMan5-Dec-07 0:13
ktm TechMan5-Dec-07 0:13 
GeneralRe: about send function!! Pin
Laurence5-Dec-07 1:46
Laurence5-Dec-07 1:46 
GeneralR about send function!! Pin
Laurence5-Dec-07 1:50
Laurence5-Dec-07 1:50 
GeneralRe: about send function!! Pin
JudyL_MD5-Dec-07 2:33
JudyL_MD5-Dec-07 2:33 
GeneralRe: about send function!! Pin
Dexterus5-Dec-07 21:24
Dexterus5-Dec-07 21:24 
QuestionHow to catch GDI+ exceptions? [modified] Pin
followait4-Dec-07 22:08
followait4-Dec-07 22:08 
AnswerRe: How to catch GDI+ exceptions? Pin
SandipG 4-Dec-07 22:47
SandipG 4-Dec-07 22:47 
GeneralRe: How to catch GDI+ exceptions? Pin
followait4-Dec-07 23:00
followait4-Dec-07 23:00 
GeneralRe: How to catch GDI+ exceptions? Pin
SandipG 4-Dec-07 23:08
SandipG 4-Dec-07 23:08 
GeneralRe: How to catch GDI+ exceptions? Pin
followait4-Dec-07 23:18
followait4-Dec-07 23:18 
GeneralVC++ https Pin
mohindar_kks4-Dec-07 22:02
mohindar_kks4-Dec-07 22:02 
GeneralRe: VC++ https Pin
ThatsAlok4-Dec-07 23:33
ThatsAlok4-Dec-07 23:33 
GeneralRe: VC++ https Pin
mohindar_kks5-Dec-07 0:13
mohindar_kks5-Dec-07 0:13 
m using the 'Post type.am attaching the code.Please verify.The http is working in same code.Is there any credentials to pass the code?

HTTPMethod = _bstr_t( "POST" );
httpReq->open(HTTPMethod ,"https://gtl-334/XmlTesting/Service.asmx",noAsync,vUser,vPassword);
httpReq->setRequestHeader("Content-Type", "application/soap+xml");


CString szRequest;// = "<strUserName>";
//szRequest += "chaitanya";
//szRequest +="</strUserName>";

szRequest = "<?xml version=\"1.0\" encoding=\"utf-8\"?> \
<soap12:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap12=\"http://www.w3.org/2003/05/soap-envelope\"> \
<soap12:Body>\
<RetrieveKey xmlns=\"http://tempuri.org/\"> \
<serial>1001</serial>\
</RetrieveKey>\
</soap12:Body>\
</soap12:Envelope>";

//szRequest = "Chaitanya";
VARIANT vRequest;
vRequest.vt = VT_BSTR;
vRequest.bstrVal = szRequest.AllocSysString();

httpReq->send(vRequest);
BSTR strText;

_bstr_t bsResponse = httpReq->responseText;
Generalconverting LPCSTR to char* Pin
neha.agarwal274-Dec-07 21:27
neha.agarwal274-Dec-07 21:27 
GeneralRe: converting LPCSTR to char* Pin
Cedric Moonen4-Dec-07 21:30
Cedric Moonen4-Dec-07 21:30 
GeneralRe: converting LPCSTR to char* Pin
CPallini4-Dec-07 21:44
mveCPallini4-Dec-07 21:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.