WebService Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • imonline420
    New Member
    • Jul 2007
    • 1

    WebService Problem

    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.Serv ices.Protocols. SoapException: Unable to handle request without a valid action parameter. Please supply a valid soap action. at System.Web.Serv ices.Protocols. Soap12ServerPro tocolHelper.Rou teRequest() at System.Web.Serv ices.Protocols. SoapServerProto col.RouteReques t(SoapServerMes sage message) at System.Web.Serv ices.Protocols. SoapServerProto col.Initialize( ) at System.Web.Serv ices.Protocols. ServerProtocolF actory.Create(T ype type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing )


    My function signature is like this.
    <System.Web.Ser vices.Protocols .SoapHeaderAttr ibute("HTNGHead er", Direction:=Syst em.Web.Services .Protocols.Soap HeaderDirection .InOut), _
    System.Web.Serv ices.WebMethodA ttribute(), _
    System.Web.Serv ices.Protocols. SoapDocumentMet hodAttribute("h ttp://www.opentravel. org/OTA/2003/05:oTA_CancelIn ", Use:=System.Web .Services.Descr iption.SoapBind ingUse.Literal, ParameterStyle: =System.Web.Ser vices.Protocols .SoapParameterS tyle.Bare, Binding:="Hotel Reservation", RequestElementN ame:="OTA_Cance lRQ")> _
    Public Overridable Function OTA_Cancel(<Sys tem.Xml.Seriali zation.XmlEleme ntAttribute([Namespace]:="http://www.opentravel. org/OTA/2003/05", ElementName:="O TA_CancelRQ")> ByVal oTA_CancelRQ As OTA_CancelRQ) As <System.Xml.Ser ialization.XmlE lementAttribute ("OTA_CancelRS" , [Namespace]:="http://www.opentravel. org/OTA/2003/05")> OTA_CancelRS Implements IHotelReservati on.OTA_Cancel

    Please let me know what am I doing wrong. Please help!!!!


    Thanks in advance.
Working...