The example contains all the necessary libraries to generate the stubs, compile
and run it. These libraries are contained in the directory lib. It also contains an ant script that contains
all the necesary configurations to compile and run the client.
-
Enable PAPI Web Service for an already existing project.
See
Enabling PAPI Web Service
.
-
Download the example from
http://download.oracle.com/docs/cd/E13165_01/albsi/docs60/resources/papi_ws/ALBPM-PapiWs-JaxWs-Example.zip.
-
Unzip the file. This will generate a directory named ALBPM-PapiWs-JaxWs-Example.
-
Open a command-line sesssion.
-
Change to the generated directory.
For example in Linux:cd ALBPM-PapiWs-JaxWs-Example.
-
Type ant run.
Executing this task generates the stubs the client code needs to run, using the ant task JAX WS
provides for this purpose, and compiles the classes used in the example before running them.
-
Enter PAPI Web Service's endpoint.
You can copy this from the link displayed next to WSDL in the Web Services Console. For
information on how to launch the Web Services Console see
Launching PAPI Web Service Console in ALBPM Enterprise.
After executing this procedure the example program runs. You will see a list of the processes deployed in
the running process engine and below them a list of all the in flight instances in each process.