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

Contract first development with JAX-WS

The primary purpose of JAX-WS is to allow the Java developers to develop web services with the convenience provided by the Java language. However, there may be situations where the contract or WSDL has already been designed and you are forced to use that WSDL. In this section, you will see how an existing WSDL document can be used for developing a JAX-WS service or client. You will be using the wsimport tool that is shipped with the JDK.

The Java artifacts created using the wsimport tool are:

  • Service Endpoint Interface (SEI)
  • Service class
  • Exception class that is mapped from the wsdl:fault class (if any)
  • JAXB generated type values (that are Java classes mapped from XML schema types)

This is what you will see if ...

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