This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am new to Axis2 (using 1.5), but familiar with Axis1. I am trying to see the service using the Axis2 admin console. I am unable to see the service. That can mean many things. Any suggestion will be appreciated. Following are the steps I ahve taken:
2. Created a Java web project and deployed it in the same server where axis2 admin application was deployed. The structure of the Java project is:
I create a EAR file for this project and deploy it. Axis2WebWs gets deployed successfully. I am not (nor do want to) use Axis2 Admin console for deploy. I was hoping that the url below will show my service add:
Instead it only lists getVersion method from Axis2 Admin console.
What am I missing?
Even though I do not want to deploy it using Axis2 Admin console, but for troubleshooting purposes, I changed ear file to aar file and wanted to upload that aar file using Axis2 Admin console. When I looked for the service, it mentioned faulty service. I said that cannot find services.xml.
Any suggestion will be appreciated. Again, I want to deploy the EAR file using Admin console of the app server only (will be scripted eventually), instead of relying on Axis2 Admin console.
You could either use the admin client's Ant task (for which you'd need a jar file containing the classes and a WSDD deployment descriptor), or you can create an .aar file that contains the classes and a META-INF/services.xml file. A loose META-INF directory will not work, no matter where it's located.