Click here to Skip to main content
15,888,521 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: upload unicode big endian file in vc++ Pin
Rajesh R Subramanian25-Jun-09 23:50
professionalRajesh R Subramanian25-Jun-09 23:50 
GeneralRe: upload unicode big endian file in vc++ Pin
CPallini25-Jun-09 23:35
mveCPallini25-Jun-09 23:35 
AnswerRe: [Message Deleted] Pin
Rajesh R Subramanian26-Jun-09 1:08
professionalRajesh R Subramanian26-Jun-09 1:08 
QuestionTextbox -> invisible Mouse Cursor Pin
baerten25-Jun-09 23:13
baerten25-Jun-09 23:13 
AnswerRe: Textbox -> invisible Mouse Cursor Pin
PJ Arends26-Jun-09 5:17
professionalPJ Arends26-Jun-09 5:17 
GeneralRe: Textbox -> invisible Mouse Cursor Pin
baerten29-Jun-09 22:38
baerten29-Jun-09 22:38 
GeneralRe: Textbox -> invisible Mouse Cursor Pin
PJ Arends30-Jun-09 6:23
professionalPJ Arends30-Jun-09 6:23 
QuestionXMLHTTP Wrong Response Pin
Ash_VCPP25-Jun-09 22:50
Ash_VCPP25-Jun-09 22:50 
Hi All,

i am posting one url to server and expecting some meaningful data in response but i am getting one dummy xml:

<<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GenerateSearchResponse xmlns="http://intuitivesystems"><GenerateSearchResult><SearchMode>Hotel</SearchMode><PropertyCount>135</PropertyCount><FlightCount>0</FlightCount><TotalFlightCount>0</TotalFlightCount></GenerateSearchResult></GenerateSearchResponse></soap:Body></soap:Envelope>>

Can anyone tell me that if status of the request is 200 then the response which i get will surely be correct.

and the code which i am using is:

strurl = "http://www.lowcostholidays.com/webservices/search.asmx"
        
             xmlHttp.Open "POST", strurl, False
             xmlHttp.setRequestHeader("Accept", "*/*")
           xmlHttp.setRequestHeader"Referer", "http://www.lowcostholidays.com")                   xmlHttp.setRequestHeader("Content-Type", "text/xml")
             xmlHttp.setRequestHeader("User-Agent", "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 1.1.4322; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)")
             xmlHttp.setRequestHeader("Host", "www.lowcostholidays.com")
             xmlHttp.setRequestHeader("Connection", "Keep-Alive")
             xmlHttp.setRequestHeader("Cache-Control", "no-cache")

             xmlHttp.setRequestHeader("Cookie", strCookie(it))
             xmlHttp.send (strpostdata)


Thanks A Ton
Ash_VCPP
walking over water is just knowing where the stones are.....

AnswerRe: XMLHTTP Wrong Response Pin
Pavan_Putra25-Jun-09 23:27
Pavan_Putra25-Jun-09 23:27 
GeneralRe: XMLHTTP Wrong Response Pin
Ash_VCPP25-Jun-09 23:34
Ash_VCPP25-Jun-09 23:34 
GeneralRe: XMLHTTP Wrong Response Pin
Pavan_Putra26-Jun-09 0:38
Pavan_Putra26-Jun-09 0:38 
AnswerRe: XMLHTTP Wrong Response Pin
Stuart Dootson26-Jun-09 0:39
professionalStuart Dootson26-Jun-09 0:39 
GeneralRe: XMLHTTP Wrong Response Pin
Ash_VCPP26-Jun-09 1:17
Ash_VCPP26-Jun-09 1:17 
QuestionCRecordset insert problem Pin
Bilge Kaan25-Jun-09 22:42
Bilge Kaan25-Jun-09 22:42 
AnswerRe: CRecordset insert problem Pin
Rajesh R Subramanian25-Jun-09 22:48
professionalRajesh R Subramanian25-Jun-09 22:48 
QuestionRe: CRecordset insert problem Pin
David Crow26-Jun-09 4:05
David Crow26-Jun-09 4:05 
QuestionComboBox Pin
siva45525-Jun-09 20:30
siva45525-Jun-09 20:30 
AnswerRe: ComboBox Pin
Rajesh R Subramanian25-Jun-09 20:33
professionalRajesh R Subramanian25-Jun-09 20:33 
GeneralRe: ComboBox Pin
siva45525-Jun-09 20:37
siva45525-Jun-09 20:37 
GeneralRe: ComboBox Pin
Rajesh R Subramanian25-Jun-09 20:44
professionalRajesh R Subramanian25-Jun-09 20:44 
GeneralRe: ComboBox Pin
KarstenK25-Jun-09 21:08
mveKarstenK25-Jun-09 21:08 
JokeRe: ComboBox Pin
CPallini25-Jun-09 21:31
mveCPallini25-Jun-09 21:31 
RantRe: ComboBox Pin
Rajesh R Subramanian25-Jun-09 21:30
professionalRajesh R Subramanian25-Jun-09 21:30 
GeneralRe: ComboBox Pin
siva45525-Jun-09 22:11
siva45525-Jun-09 22:11 
RantRe: ComboBox Pin
Rajesh R Subramanian25-Jun-09 22:22
professionalRajesh R Subramanian25-Jun-09 22:22 

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.