The WS-Security UserToken sample demonstrates synchronous communication between two web services both of which are secured with WS-Security security, especially the use of username and password in WS-Security.
Use of WS-Security to secure a web service, especially the use of username and password.
Invoking a secure service through a web service control
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\usertoken
To Run the Sample
BEA_HOME/weblogic81/samples/domains/workshop/startWebLogic.sh
Launch the sample by entering http://localhost:7001/WebServices/security/wsse/usertoken/webServiceA/WebServiceA.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.