A web service that demonstrates an asynchronous interface to a simulated legacy system (LegacySystem.jws) that does not support asynchrony. It does so by polling the legacy system, which means that the web service calls the legacy system at intervals to see if it is finished. AdvancedTimer does the polling for the client, invoking a client callback if and when the legacy system responds.
Use of a Timer control
Use of a Web Service control
Declaration and use of a client callback
Use of the JwsContext interface
Use of Conversations
Polling
This sample is located in the timer folder of the WebServices project in the SamplesApp sample application. In the file system the location is:
BEA_HOME\weblogic81\samples\workshop\SamplesApp\WebServices\timer\AdvancedTimer.jws
To Run the Sample
BEA_HOME/weblogic81/samples/domains/workshop/startWebLogic.sh