JBoss.orgCommunity Documentation
To create a Web Service Client from a WSDL Document using JBoss WS you need to fulfil the following steps:
Setup Chapter 5, JBoss Web Services and the development environment.
Section 3.1, “Creating a Dynamic Web project”.
Section 3.2, “Configure JBoss Web Service facet settings”.
Then you can create a Web Service Client from a WSDL document:
Switch to the Java EE perspective Window > Open Perspective > Java EE.
Click File > New > Other. Select Web Services in order to display the various Web service wizards. Select the Web Service Client wizard. Click on the Next button.
The first and the second Web Service Client wizard pages are the same as for Section 3.3, “Creating a Web Service from a WSDL document using JBossWS runtime”.
The only difference is:
Client Type: Support of Java Proxy only.
Click on the Finish button.
After the Web Service Client has been created, the following may occur depending on the options you selected:
JBoss WS use a Java class to test Web Service. A client sample class will be generated, you may run this client as a java application to call a web service.
To run client sample as a Java application you need a JBoss Runtime in build path.