Click here to Skip to main content
15,912,207 members
Home / Discussions / C#
   

C#

 
AnswerRe: DataReader To DataTable Pin
Luc Pattyn26-May-11 6:24
sitebuilderLuc Pattyn26-May-11 6:24 
GeneralRe: DataReader To DataTable Pin
Alexandra - Marie Schembri26-May-11 7:40
Alexandra - Marie Schembri26-May-11 7:40 
QuestionHow to consume XML Web Services with Parameters Pin
samir.abda25-May-11 17:27
samir.abda25-May-11 17:27 
AnswerRe: How to consume XML Web Services with Parameters Pin
Mark Salsbery25-May-11 18:50
Mark Salsbery25-May-11 18:50 
GeneralRe: How to consume XML Web Services with Parameters Pin
samir.abda25-May-11 21:16
samir.abda25-May-11 21:16 
GeneralRe: How to consume XML Web Services with Parameters Pin
Mark Salsbery25-May-11 21:27
Mark Salsbery25-May-11 21:27 
GeneralRe: How to consume XML Web Services with Parameters Pin
samir.abda25-May-11 21:51
samir.abda25-May-11 21:51 
QuestionRe: How to consume XML Web Services with Parameters Pin
Mark Salsbery25-May-11 22:03
Mark Salsbery25-May-11 22:03 
AnswerRe: How to consume XML Web Services with Parameters Pin
samir.abda25-May-11 22:19
samir.abda25-May-11 22:19 
GeneralRe: How to consume XML Web Services with Parameters [modified] Pin
Mark Salsbery25-May-11 22:27
Mark Salsbery25-May-11 22:27 
GeneralRe: How to consume XML Web Services with Parameters Pin
samir.abda25-May-11 22:46
samir.abda25-May-11 22:46 
QuestionRe: How to consume XML Web Services with Parameters Pin
Mark Salsbery26-May-11 11:07
Mark Salsbery26-May-11 11:07 
QuestionRe: How to consume XML Web Services with Parameters Pin
samir.abda26-May-11 14:10
samir.abda26-May-11 14:10 
AnswerRe: How to consume XML Web Services with Parameters Pin
Mark Salsbery26-May-11 14:15
Mark Salsbery26-May-11 14:15 
GeneralRe: How to consume XML Web Services with Parameters Pin
walterhevedeich26-May-11 20:17
professionalwalterhevedeich26-May-11 20:17 
Basically, as Mark suggested, you need to navigate to your webservice through your browser. From there, you can see the format of the XML messages that you will send/receive. You will also see the headers that you need to assign to your _request object before firing it up. I can see in your code that you havent assigned the SOAPAction header in your request object. You also need to set that if you are going to use SOAP, like this.

_request.Headers["SOAPAction"] = "[Value of SOAPAction, you can see this by navigating on the web method of the web service, through browser]"; 


After setting this, I believe your'e good to go. Just make sure that you are using the right format of XML that was provided on the web service.
Ignorance of the ability brings disability.

QuestionHow can I set LOCALHOST in web config to use web services root address Pin
JUNEYT25-May-11 6:26
JUNEYT25-May-11 6:26 
AnswerRe: How can I set LOCALHOST in web config to use web services root address Pin
Not Active25-May-11 8:02
mentorNot Active25-May-11 8:02 
GeneralRe: How can I set LOCALHOST in web config to use web services root address Pin
JUNEYT25-May-11 8:32
JUNEYT25-May-11 8:32 
GeneralRe: How can I set LOCALHOST in web config to use web services root address Pin
SledgeHammer0125-May-11 8:35
SledgeHammer0125-May-11 8:35 
GeneralRe: How can I set LOCALHOST in web config to use web services root address Pin
JUNEYT25-May-11 9:00
JUNEYT25-May-11 9:00 
GeneralRe: How can I set LOCALHOST in web config to use web services root address PinPopular
Not Active25-May-11 9:30
mentorNot Active25-May-11 9:30 
GeneralRe: How can I set LOCALHOST in web config to use web services root address Pin
JUNEYT25-May-11 10:07
JUNEYT25-May-11 10:07 
GeneralRe: How can I set LOCALHOST in web config to use web services root address PinPopular
Not Active25-May-11 10:11
mentorNot Active25-May-11 10:11 
GeneralRe: How can I set LOCALHOST in web config to use web services root address PinPopular
JUNEYT25-May-11 10:32
JUNEYT25-May-11 10:32 
GeneralRe: How can I set LOCALHOST in web config to use web services root address PinPopular
Not Active25-May-11 11:36
mentorNot Active25-May-11 11:36 

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.