Hi,
I have made a webservice from XSD using WSCF. It has number of webmethods. All of them are working good but one.
For one method I m getting following error msg.:
System.Web.Services.Protocols.SoapException: Unable to handle request without a valid action parameter. Please supply a valid soap action. at System.Web.Services.Protocols.Soap12ServerProtocol Helper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.R outeRequest(SoapServerMessage message) 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& abortProcessing)
My function signature is like this.
<System.Web.Services.Protocols.SoapHeaderAttribute ("HTNGHeader", Direction:=System.Web.Services.Protocols.SoapHeade rDirection.InOut), _
System.Web.Services.WebMethodAttribute(), _
System.Web.Services.Protocols.SoapDocumentMethodAt tribute("http://www.opentravel.org/OTA/2003/05:oTA_CancelIn", Use:=System.Web.Services.Description.SoapBindingUs e.Literal, ParameterStyle:=System.Web.Services.Protocols.Soap ParameterStyle.Bare, Binding:="HotelReservation", RequestElementName:="OTA_CancelRQ")> _
Public Overridable Function OTA_Cancel(<System.Xml.Serialization.XmlElementAtt ribute([Namespace]:="http://www.opentravel.org/OTA/2003/05", ElementName:="OTA_CancelRQ")> ByVal oTA_CancelRQ As OTA_CancelRQ) As <System.Xml.Serialization.XmlElementAttribute("OTA _CancelRS", [Namespace]:="http://www.opentravel.org/OTA/2003/05")> OTA_CancelRS Implements IHotelReservation.OTA_Cancel
Please let me know what am I doing wrong. Please help!!!!
Thanks in advance.