When you complete the steps for adding the policy, you should see the following
@SecurityPolicy annotation that JDeveloper added to the
RatingServiceImpl.java file in the source editor:
@SecurityPolicy(uri = "oracle/wss_username_token_service_policy")
When you test the service in the HTTP Analyzer, you should see
rating 0 in the Response pane (if you entered
987654321 in the
ssn parameter field, and entered the correct username and password).
If you run the web service without entering the username and password or entering invalid username and password values, you would see error messages in the Response pane.
Copyright © 1997, 2009, Oracle. All rights reserved.