Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
The parameter configuration functionality is provided by the Service Management feature of the WSO2 feature repository in two levels as follows. In both levels, specific configuration steps are the same from step 4 onwards in the service-level parameter configuration section described here.
  • Operation-Level : Parameters can be configured for a particular operation of a service. For information on how to access operation-level parameter configuration windows, refer to section Operation Management.
  • Service-LevelParameters can be configured for a particular service as described below.

Follow the instructions below to manage the parameters of a service.

1. Log on to the product's management console and select "List" under "Axis2 Services."

Image RemovedImage Added

2. The "Deployed Services" screen appears. Click on the necessary service. For example,

Image RemovedImage Added

3. The "Service Dashboard" screen appears. Click "Parameters" in the "Quality of Service Configuration" panel.

Image RemovedImage Added

Anchor
4
4
4. Parameters can be defined inside the services.xml as an immediate child element of the service element. These parameters can be accessed using the message context (at the runtime) or AxisService or AxisOperation. A parameter has two attributes:

  • name - The mandatory attribute which defines the parameter name.
  • locked - The optional attribute. The idea of a locked attribute is to express whether we allow the parameter value to be overridden by a child node in the hierarchy.

For example, if a parameter was added in the axis2.xml file setting the locked attribute to True, then if a service tries to add another parameter with the same name, it will give an exception.

The Service Management feature provides an easy method to generate the Service parameters. Click "Add New..." button to generate a new service parameter.

Image RemovedImage Added

5. Enter the parameter name and click "OK" to add a parameter to the list.

Image RemovedImage Added

6. Enter the parameter value and click on the "Update" button to save new parameters in the service group.

Image RemovedImage Added

7. If you want to delete a parameter, click on the "Delete" button associated with it.

Image Removed

8. Confirm your request by clicking "Yes".

Image Removed

Image Added

Excerpt
hiddentrue

Instruction to configure parameters in the quality of service configuration panel.