I have a remote Java web service client based on Axis2 that invokes a web service in OFBiz on another machine. However, My supervisor insists that i use Mule esb to invoke the OFBiz web service as it is the integration platform we are using or our project at hand. OFBiz uses request maps which makes it very hard to invoke its web services using CFX or JAX-WS in Mule. I can invoke the web services using Axis2, but Mule does not support Axis2, hence cannot use an Axis2-based java client as a Mule component. So my plan is to have a java component in mule that can automatically trigger the Axis2-based client to run when the component starts to run in the flow. I tried making the Project with the Axis class part of the Mule project and import all the Axis2 jar files. Then call the Axis2 java client by instantiating it in the Mule Java component. But when i run the mule flow, it complain that it cannot find the logger for Axis2. I know Mule does not support Axis2.
So my question is, How can i trigger the Axis2-based Java client by another java class in a different project without creating an instance of that class to make the call? All i want is - if my Mule component runs, it should trigger the Axis2-based java client to execute too. Thanks