SOAP Client
Introduction
This directory contains the files that make up the SOAP client Web application. It includes a client JSP page, the Java class that it uses, and an Ant script to build the project and to create a WAR ready for deployment to a J2EE Servlet container.
Dependencies
- You must have ActiveBPEL Designer installed (or a working ActiveBPEL server installation)
- You need Ant 1.6.x in order to run the targets in the build.xml file. You could do everything manually, but the rest of this document assumes you have Ant.
- The environment variable AESAMPLES_LIB must be defined so that the Ant script
can include the required JARS needed to compile the project
-
If you have the ActiveBPEL Designer installed then you can use C:\Program Files\Active Endpoints\ActiveBPEL Designer\Server\ActiveBPEL_Tomcat\shared\lib
as
the location for AESAMPLES_LIB
-
If you do not have ActiveBPEL Designer installed then you will need to download the set of required library jars separately. Please see the Common Sample Project Libraries and Deployment sample for more details.
-
Building the SOAP Client
From the command line, navigate to the directory where you unzipped this sample. All subsequent commands will be run from this directory.
Then run the following command.
ant build-webapp
This will compile the required Java classes and then create a WAR file which will be placed in the dist folder.
Deploying the SOAP Client
Deploy the soap_client.war created above to your J2EE server using your particular application server's preferred methods.
Running the SOAP Client
To use the SOAP Client, start your application server and use a Web browser to visit this URL: http://localhost:8080/soap_client/index.jsp .
If your application server is not running at localhost:8080, modify the URL accordingly.
Using the SOAP Client
Follow the directions on the JSP page to invoke SOAP based web services.
Copyright © 2004–2006 Active Endpoints, Inc. - All Rights Reserved