Before you run this sample, make sure that the following prerequisites are met:
Follow these steps:
If needed, the application is automatically built. Then, the simple application window pops up.
In case that you did not deploy and start any enterprise applications which contain a business process, the page will look like this:
After clicking the List Process Templates button, the client will show an error message. However this error is generated by the client while it tries to create a Username token from the user's input. The server is not contacted during this test.
Now the client appends another error message to the output which reports that on the server the user validation failed:
Note: If you want to retry this test several times, you may want to use an invalid userid (rather than a valid userid and an invalid password), to avoid that the Operating System locks out the user account due to excessive number of failed login attempts.
Important: Make sure that you have followed the steps in the chapter Advanced Version. In addition, the application WSApiModuleApp available from the must be deployed and started on your server. This application simulates the scenario that for a given customer it is computed whether the customer is eligible to receive an advertisement gift.
Follow these steps:
If needed, the application is automatically built. Then, the start window pops up which contains the push button Advanced Sample we created in the chapter "Advanced Version".
Note: Process instances of template advertiseProcess are not deleted automatically on termination, you have to remove these instances manually.