on 09-11-2012 3:06 PM
Dears:
Who can tell me how to consume one reliable web service since I have looked for solutions for a few days ? Below is my usage case for your reference,
First, I leverage SAP ESB (Enterprise Service Builder) to define the web service contract for one asynchronous web service. Then, import this WSDL file against NWDS 7.3 and perform java skeleton code generation. Afterward, program the execution logistic and add the required annotations to enable WS-ReliableMessaging.
Finally, I deploy the EAR file of this service to my SAP NW 7.3 SP3 server. It seems it can start normally and get successful results via SAP WSNavigator. It is worth to mention I don't use any PI features, but just deploy typical web service program.
However, I got the the following failed result when executing sample web service client in NWDS 7.3.
Anybody can tell me what are the correct steps to consume web services with WS-RM. Thanks.
This exception is wrapper of javax.xml.ws.soap.SOAPFaultException.
com.sap.engine.services.webservices.espbase.client.bindings.exceptions.SOAPFaultException
: Reliable Messaging Exception - String: Invalid WS-RM message. There are
no WS-RM headers within SOAP message.; Lang: en; Code: Server; Actor:
Server; NS: http://schemas.xmlsoap.org/soap/envelope/
at com.sap.engine.services.webservices.espbase.client.bindings.impl.JAXWSUtil.processFault (JAXWSUtil.java:412)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1392)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging (SOAPTransportBinding.java:978)
at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call (SOAPTransportBinding.java:933)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.processTransportBindingCall(WSInvocationHandler.java:168)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEISyncMethod(WSInvocationHandler.java:121)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invokeSEIMethod(WSInvocationHandler.java:84)
at com.sap.engine.services.webservices.espbase.client.jaxws.core.WSInvocationHandler.invoke(WSInvocationHandler.java:65)
at $Proxy22.createEventAsync(Unknown Source)
at com.my.wsem.client.Sample2.main(Sample2.java:67)
Hi
Were you ever able to find a reason for this issue and fix?
Emily
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.