InvestigateSync.jws Sample

The InvestigateSync.jws sample demonstrates how to provide web access for a Java control using a synchronous web service.

For step-by-step instructions for building InvestigateSync.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/InvestigateSync.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 Continue this Conversation.
  10. Invoke the isReportReady method until it returns the value true.
  11. Click Continue this Convesation.
  12. Invoke the getCreditReportDone method to view the service response.
  13. Select log entries in the Message Log to see the message traffic involved in each interaction.

Related Topics

Tutorial: Web Services

Investigate.jws Sample