Velocity Reviews

Velocity Reviews (
-   ASP .Net Web Services (
-   -   Server did not recognize the value of HTTP Header SOAPAction (

Miguel Isidoro 05-25-2007 07:26 PM

Server did not recognize the value of HTTP Header SOAPAction

I've built an ASP.NET web service and an ASP.NET application that calls it
is throwing the following exception:

System.Web.Services.Protocols.SoapException: Server did not recognize the
value of HTTP Header SOAPAction: at
System.Web.Services.Protocols.Soap11ServerProtocol Helper.RouteRequest() at
System.Web.Services.Protocols.SoapServerProtocol.I nitialize() at
System.Web.Services.Protocols.ServerProtocolFactor y.Create(Type type,
HttpContext context, HttpRequest request, HttpResponse response, Boolean&

The web service class definition is:

public class UserService : WebService

The web method definition is:

[WebMethod(Description="Web method description.")]
public User Authenticate(User user)

I've checked the WSDL and the beginning is as follows:

<wsdl:definitions xmlns:http=""

The reference to the web method in WSDL is:

<s:element name="Authenticate">
<s:element minOccurs="0" maxOccurs="1" name="user" type="tns:User" />

Like you see, the namespace is present
everywhere correctly and I can't understand why the request is not being
routed to the right web method. Everything seems to be correct from the class
definition to the WSDL. Any suggestions?

Thanks in advance,
Miguel Isidoro

All times are GMT. The time now is 04:56 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.