IBM Datapower sending response to my Webservice that always in listening state to hear response from Data Power.When Data power trying to send response to my web service my webservice sending back to datapower a soapfault
error message as follows:
<soap:body xmlns:soap="#unknown">
<soap:fault>
<faultcode>soap:Client <faultstring>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.Soap12ServerProtocolHelper.RouteRequest()
at System.Web.Services.Protocols.SoapServerProtocol.RouteRequest(SoapServerMessage message)
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
<detail>
Here is my web service(CCEReplyService.asmx):
<System.Web.Services.WebService(Namespace:="http://10.x.xx.xx/isoats/AOPCWSReply/CCEReplyService.asmx/GetCourtCaseEvent")> _
<System.Web.Services.WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
<ToolboxItem(False)> _
Public Class CCEReplyService
End Class
My AOPCCCEReply.Vb class file
_<System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://10.x.xx.xx/isoats/AOPCWSReply/CCEReplyService.asmx/GetCourtCaseEvent", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Bare)> _
<webmethod()> _
Public Function GetCourtCaseEvent(<system.xml.serialization.xmlelementattribute("getcourtcaseevent",> ByVal GetCourtCaseEvent1 As GetCourtCaseEventRequestType) As <system.xml.serialization.xmlelementattribute("getcourtcaseeventresponse",> GetCourtCaseEventResponseType
Dim results() As Object = Me.Invoke("GetCourtCaseEvent", New Object() {GetCourtCaseEvent1})
Return (CType(results(0), GetCourtCaseEventResponseType))
End Function
MY DataPower SOAP Response to my Webserivce
<pre lang="xml"><SOAP-ENV:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="Body-e62b9e50-65fe-4bad-bceb-b5426b4698e4">
<m:ReceiveCourtCaseEventReply xmlns:jnet-m="http://www.jnet.state.pa.us/niem/jnet/metadata/1" xmlns:m="http://jnet.state.pa.us/message/aopc/CCERequestReply/1">
<jnet-m:ResponseMetadata>
<jnet-m:UserDefinedTrackingID>0db574e4-745f-461d-a507-00c3350988fd</jnet-m:UserDefinedTrackingID>
<jnet-m:BackendSystemReturn>
<jnet-m:BackendSystemName>AOPC</jnet-m:BackendSystemName>
<jnet-m:BackendSystemStatusCode>NO RECORD</jnet-m:BackendSystemStatusCode>
<jnet-m:BackendSystemReturnCode>E00</jnet-m:BackendSystemReturnCode>
<jnet-m:BackendSystemReturnText>DOCKET NOT FOUND: CP-02-CR-0102432-2010</jnet-m:BackendSystemReturnText>
</jnet-m:BackendSystemReturn>
</jnet-m:ResponseMetadata>
</m:ReceiveCourtCaseEventReply>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Please help me to resolve this issue!!
Thanks,
Srinivas Kalagara