If Axis2 website provided any documentation on this, it would have been nice. Will it be possible for this team to add a section on how to deploy an app (JAR, EAR, WAR) using the Application server of choice, instead of using Axis2 admin console?
Following are the steps that I have taken:
I have successfully deployed an Axis 2 application (using version 1.5) as a EAR file using the Admin Console of the application server (WebSphere 6.1 in this case). I did not use Axis2 admin console. I am sure that it would have worked if I packaged this Axis2 app as WAR, instead of EAR.
Following are the steps that I have taken:
Following are the code:
web.xml:
services.xml:
My target endpoint is:
"http://localhost:9081/axis2/services/CalculatorService"
Seems like /axis2/services/ are mandatory in the path.
I packaged this application as EAR file. Next, I deployed it using the Admin console of WebSphere 6.1.
I invoked the doGet method of
Servlet as:
http://localhost:9081/MyAxis2/CalculatorClientServlet.
I am using
http://javaboutique.internet.com/tutorials/axis2/ for learning purposes.
Regards,
Sam