Web Service client within a JSP
This example shows how to wirte a web service client that is used from
an JSP file.
Steps involved in writing this example:
- run clientgen ant task on the external WSDL to generate the
client stub. put this client stub jar file in output/WEB-INF/lib
directory. - build.xml
- Write the JSP file -
WebServiceClient.jsp
- jar up output directory as a war file and copy it to the
application dir to deploy it.
- Follow the instructions here
to build and run the client.