Very simple pojo example for an axis2 webservice
Introduction
Below are three critical files to writing a simple pojo for AXIS2. The files are listed just to get a feel for the system. At the bottom is a tarball with an ant build file in it. If you want to actually use this download the tarball and install axis2 under tomcat.The webservice pojo
The user needs to create a pojo that will be made into an aar file. An example is: UMN_CMA_Service.java. This has a java method with two strings as arguments and returns a string.The rpc client
Here is a client that will talk to the webservice after it has been deployed. UMN_CMA_ServiceRPCClient.html The client bundles up two strings and ships them to the webservice.service.xml
There is also an xml config file. You must add a row to to this file for each method you create: services.htmlTarball for the client/webservice
Download this to run the example:axis2simple_pojo_20100210_15_47.tar.gz