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.
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.
HelloWorld class gets created. Annotate the class with the
@WebService annotation, which ...