O'Reilly logo

Advanced Java® EE Development with WildFly® 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 a JAX-WS web service

In this section, we will create a JAX-WS Web Service in the Java EE Web Project. Select File | New | Other. In New, select JBoss Tools | Create a Sample Web Service, as shown in the following screenshot. Now click on Next.

Creating a JAX-WS web service

In Generate a Sample Web Service, specify Project and Web Service Name. Select the jboss-jaxws web project and specify Name of Web Service as HelloWorld. For Sample Web Service Class, specify Package as org.jboss.jaxws.service and Class as HelloWorld, as shown in the following screenshot. Now click on Finish.

The HelloWorld class gets created. Annotate the class with the @WebService annotation, which ...

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