Click here to Skip to main content
15,899,126 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: How can I set LOCALHOST in web config to use web services root address Pin
JUNEYT25-May-11 13:02
JUNEYT25-May-11 13:02 
GeneralRe: How can I set LOCALHOST in web config to use web services root address Pin
Not Active25-May-11 15:32
mentorNot Active25-May-11 15:32 
GeneralRe: How can I set LOCALHOST in web config to use web services root address Pin
Roger Wright25-May-11 19:20
professionalRoger Wright25-May-11 19:20 
Generaltotally OT Pin
J4amieC25-May-11 23:02
J4amieC25-May-11 23:02 
GeneralRe: totally OT Pin
Pete O'Hanlon25-May-11 23:43
mvePete O'Hanlon25-May-11 23:43 
GeneralRe: totally OT Pin
SledgeHammer0126-May-11 6:33
SledgeHammer0126-May-11 6:33 
GeneralRe: totally OT Pin
Pete O'Hanlon26-May-11 7:08
mvePete O'Hanlon26-May-11 7:08 

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.