Make sure that the client application is deployed on your WebSphere® Process Server. If you need more details how to add an application to the server, refer to the "Build it Yourself" section of the
To run the client application after deploying it to the WebSphere Process Server, follow these steps:
http://yourhost:yourport/wsclient
.Note: Replace yourhost
with your server's internet address and replace yourport
with the port of your server's HTTP transport,
for example
The endpoint used for the web service API was specified implicitly when the Java web service proxy was generated from the WebSphere Process Server WSDL file. If this implicitly specified default value for the service endpoint does not reflect the environment where you want to run this sample, you may modify the service endpoint dynamically.
Note: If you use an endpoint representing a different server's Business Flow Manager, the test of the endpoint as described in the following steps will work as well. However, the web service calls against the Business Flow Manager will only work after configuring single sign-on for both servers: The LTPA token generated by the server running your client application must be accepted as valid LTPA token by the server hosting the Business Flow Manager.
To modify the service endpoint, follow these steps:
http://yourhost:yourport/wsclient
,
for example
Use the Browser's BACK function to return to the sample client application.
Important: Make sure that in addition to the client application, the application WSApiModuleApp containing the advertiseProcess is deployed and started on your server. This application is available in the download section of this sample; it simulates the scenario that for a given customer it is computed whether the customer is eligible to receive an advertisement gift.
To run the client application after deploying it to the WebSphere Process Server, follow these steps:
http://yourhost:yourport/wsclient/startprocess.html
.Note: Replace yourhost
with your server's internet address and replace yourport
with the port of your server's HTTP transport,
for example
Instead, you can start as well from the Basic sample and follow the link Advanced sample.
http://localhost:9080/wsclient/viewprocess.jsp?PIID=_PI:90030119.ec15872f.b61b67f6.dc830215
which
navigates to a status page for this particular process instance. For some seconds, the status will be STATE_RUNNING as the underlying BPEL process uses a sleep operation to delay the execution for some time (sleep time 10 seconds):