Server did not recognize the value of HTTP Header SOAPAction

If you get below error

 

 

 Add a below attribute on the class

[SoapDocumentService(RoutingStyle = SoapServiceRoutingStyle.RequestElement)]

Class MyService{

 // [WebMethod]

 }

Comments

  • Anonymous
    October 10, 2011
    It may also possible to get the same error when the url is not pointing to the correct webserive asmx.