After you have deleted these jars, start the JBoss server using the present in %JBOSS_HOME%\bin folder.2) Verify Axis web application is deployed and running: After JBoss has started successfully, go to the following URL to check whether axis is deployed properly: If Axis was deployed successfully, you will see a welcome page which will have a few links, one of them named "List" which can be used to view the already deployed webservices.Axis by default comes with a few sample webservices which you can see on clicking the "List" link.3) Writing our own webservice:3a - The Java classes/interfaces: Lets create a simple webservice which will echo a message to the user who passes his name. Read on...3b - Create a wsdl file: Now that we have the interface and the class ready, lets create a wsdl file out of these java classes.Our next step would be to modify the file to mention our implementation class, in place of Axis'.
In the file, it mentioned the implementation class as follows: The reason why Axis created this implementing class is that it never knew that we had created our own implementation.
The input that we provided to Axis for generating the wsdd files was a wsdl file through which Axis could never have known that we already have a implementation class.
The file that gets generated will contain something like: You might notice that during all these steps we never mentioned our implementing class (Hello World Service Impl) in any of the targets.
As you can see above in the deploy.wsdd, Axis has created its own implementing class for the Hello World Service and provided default implementations in that class.
But before doing that, we will have to make the Hello World Service.class and Hello World Service Impl.class available in the server's classpath so that when we use this webservice, the server wont throw Class Not Found Exception.
So let's compile these 2 classes and place the class files in the %JBOSS_HOME%\server\default\deploy\axis.war\WEB-INF\classes folder.
This class comes bundled in the which i have included in the classpath of this task using the classpathref.
In this target you specify parameters like:location - this is where the webservice will be deployed.namespace - the namespace for your webserviceclassname - the fully qualified name of the interface which you wrote in step 3a, also a mapping between the webservice namespace and your application packages.
Download the latest stable version of Axis from Axis Releases1) Deploying Axis web application on JBoss: I used Axis 1.4 on JBoss-4.0.4 GCA.