I have a client code generated using Axiscode generator in eclipse. If I make a call to the service when client is running as a standalone main method it works fine but when the same code is called while running in web app it gets fault Faultcode = { http://www.w3.org/2005/08/addressing }ActionNotSupported Reason = The server did not recognise the action which it received:
-I tried running cient and server on two different hosts and same host - no change. This is my services.xml <?xml version="1.0" encoding="UTF-8"?> <!-- This file was auto-generated from WSDL --> <!-- by the Apache Axis2 version: 1.3 Built on : Aug 10, 2007 (04:45:47 LKT) --> <serviceGroup> <service name="RtbCallEvent"> <messageReceivers> <messageReceiver mep=" http://www.w3.org/ns/wsdl/in-out " class="com.customer.service.rtbcallevent.RtbCallEventMessageReceiverInOut"/> </messageReceivers> <parameter name="ServiceClass">com.customer.service.rtbcallevent.RtbCallEventSkeleton</parameter> <parameter name="useOriginalwsdl">true</parameter> <parameter name="modifyUserWSDLPortAddress">true</parameter> <operation name="callEvent" mep=" http://www.w3.org/ns/wsdl/in-out "> <actionMapping>\"\"</actionMapping> <outputActionMapping>urn:rtbCallEvent/wsdl:rtbCallEventSEI:callEventResponse</outputActionMapping> </operation> </service> </serviceGroup> This is my java code RtbCallEventStub stub = new RtbCallEventStub(" http://10.96.201.30:8080/RTB/services/RtbCallEvent "); CallEvent7 callEvent = new CallEvent7(); CallEvent param = new CallEvent(); param.setAnswerTime("param"); param.setCalledNumber("param"); param.setCallingNumber("sdfds"); param.setDirection("sdf"); param.setGroup("successq"); param.setRecordId("sdfsd"); param.setReleaseTime("sdf"); callEvent.setCallEvent(param ); CallEventResponse6 resp = stub.callEvent(callEvent); System.out.println(resp.getCallEventResponse().getResult()); } catch (AxisFault e) { // TODO Auto-generated catch block System.out.println(e.getFaultCode()); System.out.println(e.getMessage()); System.out.println(e.getReason()); } catch (RemoteException e) { // TODO Auto-generated catch block e.printStackTrace(); } Any help will be appreciated. Regards, Srikanth Muthyala