none
Sending SOAP Requests in C# Client RRS feed

  • Question

  • Hi,
    I have a question about how to generate/send SOAP requests from a simple C# command line client.  First of all, is there a class/method that will generate the SOAP envelope instead of having it manually created as an XML?  Second, how do you send the SOAP request with the HttpWebRequest class, and how do you obtain the response back from the server?

    I am not looking at doing anything too complicated, just writing a simple SOAP request/response console client.  The server is assumed to already have the appropriate services available to handle the SOAP requests.

    Please provide some sample code, or directions on where I should look, as I am new to the .NET/C# development community.

    Thanks.


    Monday, June 26, 2006 8:25 PM

All replies