O'Reilly logo

Apache Axis2 Web Services Second Edition by Afkham Azeez, Deepal Jayasinghe

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

Turning a Java class into a web service is very straightforward in Axis2. Once you know how to write a services.xml file correctly, you can create more complex applications rather than just POJOs. Deploying a service is just a matter of creating a service archive file and dropping it into the services directory in the Axis2 repository. WSDL's first approach is the easiest way of creating a service since Axis2 has inbuilt support for code generation and it has a set of tools to make the job even easier.

In this chapter, we discussed how to convert a simple class file into a web service and how to access that in a REST manner. We discussed what happens when the service becomes a little complex by adding a package name. We also discussed how ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required