Implementing web services with JAX-WS
This recipe will explore the implementation of web services with JAX-WS. For web service construction, we will use the top-down approach.
Getting ready
In the recipe Implementing web services with Axis2, we started web service implementation with the POJO class. The approach is called the bottom-up design. We will start the development of web services in JAX-WS from the WSDL definition; that is, we will use the top-down approach.
Initially, we create a new Java project in Eclipse. In the wizard, we change the output directory from bin
to classes
. When the project is created, we amend it with the following actions:
- Create the
wsdl
directory. We put it in the WSDL file that is our starting point of creating a web ...
Get BPEL and Java Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.