Making a Java class into a Web service is very straightforward in Apache Axis2. Once you know how to write services.xml correctly, deploying a service is just a matter of creating a service archive file and dropping it into the services directory in the repository. Service implementation, service descriptors, and the way of deploying them vary from one engine to another. No matter what Web service engine you are using, there are two main approaches to writing a Web service. Deepal Jayasinghe in his article gives step by step instructions on these two approaches.