Create Web Service from WSDL
This example shows how to create a web service for a given WSDL.
Steps involved in writing this example (build.xml):
- Run autotype on the WSDL to generate types
- Run wsdl2service on the WSDL to generate interface for
backend component and the web-services.xml DD file.
- Write backend java class that implements the generated
interface SimpleTestImpl.java
- Package the compiled classes and web-services.xml DD file in
to a war file.
- run clientgen on the WSDL file to generate the client jar
- compile the client side code
Main.java
- deploy the applicaiton by copying the war file into
the applications directory of the server
- Follow the instructions here
to build, run and test the service.