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;