Hi, Can you try out the answer in: http://stackoverflow.com/questions/5926551/axis2-error-when-invoking-web-service-from-another-web-service by setting up the SOAP actions explicitly under options?
Regards. *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. <http://wso2.com/> Mobile: +94775149066 lean . enterprise . middleware On Mon, Nov 10, 2014 at 6:36 AM, Maheeka Jayasuriya <[email protected]> wrote: > Hi Dilan, > > Please find the WSDL and the client code attached. If it cannot understand > uniquely, shouldn't that be the case when deployed on AS as well, not only > in Carbon? > > Thanks. > > > Maheeka Jayasuriya > Software Engineer > Mobile : +94777750661 > > On Mon, Nov 10, 2014 at 6:30 AM, Dilan Udara Ariyaratne <[email protected]> > wrote: > >> Hi Maheeka, >> >> It looks like the server cannot uniquely identify the method that you are >> trying to invoke from the client side. >> >> Can you share the corresponding wsdl file of the service and the code >> base of your client class? >> >> Regards. >> >> >> >> *Dilan U. Ariyaratne* >> Software Engineer >> WSO2 Inc. <http://wso2.com/> >> Mobile: +94775149066 >> lean . enterprise . middleware >> >> On Mon, Nov 10, 2014 at 2:49 AM, Maheeka Jayasuriya <[email protected]> >> wrote: >> >>> The component works as expected when deployed on Application Server. Am >>> I missing any configurations in the component when deploying in Carbon? >>> (Because the samples when deployed on Carbon works fine, i.e. Carbon >>> configurations seems to be okay) >>> >>> Thanks. >>> >>> >>> Maheeka Jayasuriya >>> Software Engineer >>> Mobile : +94777750661 >>> >>> On Mon, Nov 10, 2014 at 1:32 AM, Maheeka Jayasuriya <[email protected]> >>> wrote: >>> >>>> Hi, >>>> >>>> I am following tutorial at [1]. I have developed the component and >>>> deployed in Carbon. >>>> >>>> However, when trying to access the service, I am getting the following >>>> error [2] >>>> >>>> I am guessing this is because the service is not accessed correctly or >>>> the server may not be up and running. >>>> >>>> How do I resolve this? >>>> >>>> Also found another thread with same [3], but no luck. >>>> >>>> [1] >>>> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/ >>>> >>>> [2] >>>> 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) >>>> at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) >>>> at org.apache.axis2.engine.Phase.invoke(Phase.java:313) >>>> at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) >>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) >>>> at >>>> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:356) >>>> at >>>> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:413) >>>> at >>>> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224) >>>> at >>>> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) >>>> at >>>> org.wso2.carbon.order.mgt.stub.OrderManagerStub.getTotalPrice(OrderManagerStub.java:522) >>>> at >>>> org.wso2.carbon.order.mgt.ui.OrderManagerClient.total(OrderManagerClient.java:42) >>>> >>>> [3] http://mail.wso2.org/mailarchive/dev/2014-July/033204.html >>>> >>>> Maheeka Jayasuriya >>>> Software Engineer >>>> Mobile : +94777750661 >>>> >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
