Calling an Asynchronous Web Service Sample

A Page Flow that communicates with a web service through a polling interface.

Concepts Demonstrated by this Sample

Location of Sample Files

In the SamplesApp, the sample is located at:

SamplesApp/WebApp/controls/webservice/polling/PollingController.jpf

On the local file system, the sample is located at:

BEA_HOME\weblogic81\samples\workshop\SamplesApp\WebApp\controls\webservice\polling\PollingController.jpf

To Run the Sample

  1. Start WebLogic Server in the Workshop domain.

  2. Launch the service either by opening it in WebLogic Workshop and selecting the Start operation or by entering http://localhost:7001/WebApp/controls/webservice/polling/PollingController.jpf in the address bar of your browser. If WebLogic Server is running in the Workshop domain on this machine, you may click here to run the sample.

  3. Click Request Message.

Related Topics

Using Polling as an Alternative to Callbacks