Is there a way to get the raw SOAP request from within a ASP.NET WebMethod?

Posted by bangoker on Stack Overflow See other posts from Stack Overflow or by bangoker
Published on 2010-04-06T20:14:11Z Indexed on 2010/04/06 20:23 UTC
Read the original article Hit count: 311

Filed under:
|
|
|
|

Example:

   public class Service1 : System.Web.Services.WebService
   {
       [WebMethod]
       public int Add(int x, int y)
       {
           string request = getRawSOAPRequest();//How could you implement this part?
           //.. do something with complete soap request

           int sum = x + y;
           return sum;
       }
   }

thanks!

© Stack Overflow or respective owner

Related posts about .NET

Related posts about c#