A simple asynchronous web service that illustrates the use of a callback. Uses a Timer control to provide a delay that simulates waiting for a slow back-end service to do some work, then notifies the client of the result via a callback. HelloWorldAsync.jws is used by the Conversation.jws sample, but is also a standalone web service.
Use of a Timer control
Declaration and use of a client callback
Use of Conversations
This sample is located in the async folder of the WebServices project in the SamplesApp sample application. In the file system the location is:
BEA_HOME\weblogic81\samples\workshop\SamplesApp\WebServices\async\HelloWorldAsync.jws
To Run the Sample
BEA_HOME/weblogic81/samples/domains/workshop/startWebLogic.sh