Investigate.jws Sample

The Investigate.jws sample demonstrates how to provide web access for a Java control with an asynchronous web service.

For step-by-step instructions for building Investigate.jws, see Tutorial: Web Services.

Concepts Demonstrated by this Sample

Location of Sample Files

This sample is located in the FirstWebService/investigateJWS folder of the TutorialsApp WebLogic Workshop application. In the file system the location is:

BEA_HOME\weblogic81\samples\platform\TutorialsApp\FirstWebService\investigateJWS

To Run the Sample

  1. Start WebLogic Workshop.
  2. On the Quick Start menu click Experience WebLogic Workshop 8.1
  3. In WebLogic Workshop, select File-->Open-->Application.
  4. In the Open Workshop Application dialog, navigate to BEA_HOME/weblogic81/samples/platform/TutorialsApp/TutorialsApp.work and click Open.
  5. On the Application tab, right-click the TutorialsApp folder and select Build Application.
  6. Start WebLogic Server by selecting Tools-->WebLogic Server-->Start WebLogic Server.
  7. Launch the sample by entering http://localhost:7001/FirstWebService/investigateJWS/Investigate.jws?.EXPLORE=.TEST in the address bar of a web browser. Or you may click here to run the sample.

  8. Enter a taxID and invoke the requestCreditReport method.
  9. Click Refresh, until the Message Log displays the method callback.onCreditReportDone.
  10. Select log entries in the Message Log to see the message traffic involved in each interaction.

Related Topics

Tutorial: Web Services

InvestigateSync.jws Sample