WS-Security ReqResp Sample

The WS-Security ReqResp sample demonstrates synchronous communication between two web services both of which are secured with WS-Security security.

Concepts Demonstrated by this Sample

Location of Sample Files

This sample is located in the security/wsse folder of the WebServices project in the SamplesApp sample application. In the file system the location is:

BEA_HOME\weblogic81\samples\workshop\SamplesApp\WebServices\security\wsse\reqResp

To Run the Sample

  1. Start WebLogic Server in the appropriate domain.
    • On Microsoft Windows systems, from the Start menu, choose BEA WebLogic Platform 8.1-->Examples-->WebLogic Workshop Examples-->Start Workshop with Sample Applications.
    • On Linux or Solaris systems, run:

      BEA_HOME/weblogic81/samples/domains/workshop/startWebLogic.sh

  2. Launch the sample by entering http://localhost:7001/WebServices/security/wsse/reqResp/client/Client.jws?.EXPLORE=.TEST in the address bar of a web browser. If WebLogic Server is running in the samples domain on your machine, you may click here to run the sample.
  3. Click the invokeHello method.
  4. Click Refresh, until the Message Log displays the method myCompanyControl.hello.
  5. Select log entries in the Message Log to see the message traffic involved in each interaction.

Related Topics

Web Service Security