tell me more icon Adding a Policy to the Web Service

A web service policy consists of facts or assertions, and rules that apply to a particular web service. To begin adding a policy to the web service, you will open the Java Web Service properties editor.

To open the Java Web Service properties editor, you will right-click the web service in the Application Navigator, then choose Pr operties from the context menu.

Edit Policy Properties context menu option in Application Navigator

In the Java Web Service editor, Configure Policies page, you will add an Oracle Web Service Manager security policy to the web service.

Java Web Service Editor, Configure Policies

Then you will test the web service in JDeveloper's integrated server. In the the HTTP Analyzer test window, Request pane, you will enter the username and password for the integrated server, and then enter a value for the ssn argument before clicking the send request icon Send Request. The processed value of rating will then be returned in the Response pane, if you provide the correct username and password.

Request and Response panes, Security section

Copyright © 1997, 2009, Oracle. All rights reserved.

false ,,,,,,,,,,,,,,,