O'Reilly logo

Java 7 JAX-WS Web Services by Deepak Vohra

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

Creating the implementation class

Next, create the implementation class. Select File | New File. In New File, select Java in Categories and Java Class in File Types, and click on Next:

Creating the implementation class

Specify the Class Name (HelloWSImpl), Package (hellows), and click on Finish:

Creating the implementation class

The web service implementation class HelloWSImpl is annotated with the @WebService annotation and implements the HelloWS interface. The implementation class contains a method hello that takes a String parameter for name and returns a Hello message containing the name. The implementation ...

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