Hi, I developed a WS using axis2,eclipse and WTP.
I wrote the service, and generated the client via wtp. All works great.
Then i wrote a
servlet, deployed the client in
tomcat and call the WS via servlet-->client-->service.
I get a well known WS-A error:
servlet side:
GRAVE: Servlet.service() for servlet LoginController threw exception
org.apache.axis2.AxisFault: The server did not recognise the action which it received:
at org.apache.axis2.handlers.addressing.AddressingInFaultHandler.invoke(AddressingInFaultHandler.java:114)
service side:
[WARN] triggerActionNotSupportedFault: messageContext: [MessageContext: logID=urn:uuid:4B9F946496F95F9B361321730538559] problemAction: urn:RequestList
[ERROR] The [action] cannot be processed at the receiver.
org.apache.axis2.AxisFault: The [action] cannot be processed at the receiver.
at org.apache.axis2.addressing.AddressingFaultsHelper.triggerAddressingFault(AddressingFaultsHelper.java:373)
I've read many topics, and the solution seems to be adding <actionMapping>urn:requestList</actionMapping> to the operation unb the service.xml ...
but it doesn't work, at least for me... I'm literally gettin mad...
from the clientStub :
and this is the service.xml