Configuring Web Services Operations within Web Service Packages
You can provide additional configuration settings for Web service operations within a Web service package.
To configure Web service operations within a Web service package
1. In Designer, open the Project Explorer view.
2. Double-click to open the Web service package you want to configure.
3. Click the Operations tab.
4. In the Service drop-down list, select the Web service you want to configure.
5. In the Operation drop-down list, select the operation you want to configure.
6. In the Message Receivers area:
Select the class name, then click
Set to assign a new message receiver.
Click the
Clear button to remove an assigned message receiver.
7. In the Parameters area:
Click the
Add button to add a new parameter. Select a name, set a value, then click
OK.
Select an existing parameter and click
Edit to modify it. Set a new name and value, then click
OK.
Select an existing parameter and click
Remove to delete it.
8. In the Modules area, enable and configure the advanced policy settings for the Web service.
9. Save your changes.
Note:
In a POJO Web service, all public methods are exposed as operations, even if they are not declared in the services.xml file. To exclude an operation, edit manually the services.xml file, and add the following excerpt:
<excludeOperations>
<operation>[operation_name]</operation>
</excludeOperations>
Related Topics