I am getting this error. When i call the c# WebService using HttpWebRequest.
System.Web.Services.Protocols.SoapException: Unable to handle request without a valid action parameter. Please supply a valid soap action.
from wsdl i found the soap action and i added in the request, still it is showing the error
HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://localhost:33333/AccountService.asmx");
request.Method = "POST";
request.ContentType = "text/xml";
request.Accept = "text/xml";
request.Headers.Add("SOAPAction", "https://ttt/test.aspx"
Thanks
The action is specified by the url you post the soap envelope to. Chances are the url either has a typo or you are trying to execute an action that the SOAP service doesn’t understand. Check the WSDL for the service and make sure you are calling the proper action.