Very simple pojo example for an axis2 webservice
IntroductionBelow 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 pojoThe 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 clientHere 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.xmlThere is also an xml config file. You must add a row to to this file for each method you create: services.html
Tarball for the client/webserviceDownload this to run the example: