This is the WSO2 Data Services Server documentation version 2.6.3

Parameters

You can define parameters inside the services.xml as an immediate child element of the service element. A parameter has two attributes:

  • name - The mandatory attribute.
  • locked - The optional attribute, which expresses whether we allow the parameter value to be overridden by a child node in the hierarchy.

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

1. Log on to the Data Services Server Management Console.

2. Click on Main menu and select List under Web Services.

3. The Deployed Services screen appears. Click on the necessary service.

4. The Service Dashboard page (for that service) appears. In the Quality of Service Configuration panel, click Parameters.

5. Parameters can be defined inside the services.xml as an immediate child element of the service element. 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.

WSO2 Carbon provides an easy method to generate the Service parameters.

Click 'Add New...' button to generate a new service parameter.

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

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

8. If you want to delete a parameter, click on the associated Delete button.

9. Confirm your request by clicking Yes.