Click here to Skip to main content
15,913,055 members
Home / Discussions / C#
   

C#

 
Questionhow to download file using https? Pin
Larisa_K15-Nov-06 0:06
Larisa_K15-Nov-06 0:06 
AnswerRe: how to download file using https? Pin
Ashish Derhgawen15-Nov-06 5:22
Ashish Derhgawen15-Nov-06 5:22 
AnswerRe: how to download file using https? Pin
Scott Dorman15-Nov-06 7:44
professionalScott Dorman15-Nov-06 7:44 
QuestionExecute a part of code in other context Pin
James Poulose15-Nov-06 0:05
James Poulose15-Nov-06 0:05 
QuestionXPaths to SOAP xmls Pin
James Poulose15-Nov-06 0:02
James Poulose15-Nov-06 0:02 
AnswerRe: XPaths to SOAP xmls Pin
Stefan Troschuetz15-Nov-06 0:07
Stefan Troschuetz15-Nov-06 0:07 
GeneralRe: XPaths to SOAP xmls Pin
James Poulose15-Nov-06 5:06
James Poulose15-Nov-06 5:06 
GeneralRe: XPaths to SOAP xmls Pin
Stefan Troschuetz15-Nov-06 5:36
Stefan Troschuetz15-Nov-06 5:36 
I'm not sure, but I think the problem is that the SetResponse and sMessageID element are in the "http://tempuri.org/" namespace (defined as standard namespace without prefix) but this doesn't reflect in your XPath expression.
Try to use the SelectSingleNode overload that additionally takes a XmlNamespaceManager instance. Add entries for the pair (soap "http://schemas.xmlsoap.org/soap/envelope/") and (somePrefix "http://tempuri.org/") and use the somePrefix in your XPath: /soap:Envelope/soap:Body/somePrefix:SetResponse/somePrefix:sMessageID.


"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

www.troschuetz.de

GeneralRe: XPaths to SOAP xmls Pin
James Poulose15-Nov-06 17:57
James Poulose15-Nov-06 17:57 
QuestionHow do you update an XML record? Pin
gowland037915-Nov-06 0:01
gowland037915-Nov-06 0:01 
Questionconverting from string array to int array Pin
karanba14-Nov-06 23:32
karanba14-Nov-06 23:32 
AnswerRe: converting from string array to int array Pin
rah_sin14-Nov-06 23:51
professionalrah_sin14-Nov-06 23:51 
AnswerRe: converting from string array to int array Pin
Guffa15-Nov-06 1:02
Guffa15-Nov-06 1:02 
GeneralRe: converting from string array to int array Pin
karanba15-Nov-06 4:03
karanba15-Nov-06 4:03 
QuestionNetwork cable status notification Pin
aamer malik14-Nov-06 23:21
aamer malik14-Nov-06 23:21 
AnswerRe: Network cable status notification Pin
Scott Dorman15-Nov-06 7:48
professionalScott Dorman15-Nov-06 7:48 
QuestionCreate Process With User Info Pin
Ferudun Atakan14-Nov-06 23:21
Ferudun Atakan14-Nov-06 23:21 
AnswerRe: Create Process With User Info Pin
Stefan Troschuetz15-Nov-06 0:03
Stefan Troschuetz15-Nov-06 0:03 
GeneralRe: Create Process With User Info Pin
Ferudun Atakan15-Nov-06 1:14
Ferudun Atakan15-Nov-06 1:14 
GeneralRe: Create Process With User Info Pin
Stefan Troschuetz15-Nov-06 1:26
Stefan Troschuetz15-Nov-06 1:26 
GeneralRe: Create Process With User Info Pin
Ferudun Atakan15-Nov-06 1:59
Ferudun Atakan15-Nov-06 1:59 
GeneralRe: Create Process With User Info Pin
Stefan Troschuetz15-Nov-06 2:16
Stefan Troschuetz15-Nov-06 2:16 
QuestionConnected to the network or not? Pin
mertkan6514-Nov-06 23:17
mertkan6514-Nov-06 23:17 
AnswerRe: Connected to the network or not? Pin
saqib8214-Nov-06 23:51
saqib8214-Nov-06 23:51 
AnswerRe: Connected to the network or not? Pin
Scott Dorman15-Nov-06 8:07
professionalScott Dorman15-Nov-06 8:07 

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.