HelloWorldSecureClient.jws Sample
The HelloWorldSecureClient web service demonstrates some of the features of the declarative and the programmatic security models supported by WebLogic Workshop.
Use of SSL (HTTPS protocol) to secure a web service
Calling a secure service through a service control
This sample is located in the security/sync folder of the samples WebLogic Workshop project. In the file system the location is:
BEA_HOME\weblogic700\samples\workshop\applications\samples\security\sync\HelloWorldSecureClient.jws
To run this web service:
Start WebLogic Server in the appropriate domain.
On Microsoft Windows systems, from the Start menu navigate to:
BEA WebLogic Platform 7.0->WebLogic Workshop->WebLogic Workshop Examples->Start Examples Server.
On Linux or Solaris systems, run:
BEA_HOME/weblogic700/samples/workshop/startWebLogic.sh
Launch the service either by opening it in WebLogic Workshop and selecting the Start operation or by entering http://localhost:7001/samples/security/sync/HelloWorldSecureClient.jws in the address bar of your browser. If WebLogic Server is running in the appropriate domain on this machine, you may click here to run the sample.
Navigate to the Test Form tab of Test View, if necessary.
Invoke the HelloWorldSecureClient method.
Refresh the browser periodically until the hws.HelloWorldSecure method entry appears in the Message Log.
Select log entries in the Message Log to see the message traffic involved in each interaction.