This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

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. Sign in. Enter your user name and password to log on to the ESB Management Console.

2. Click on "Main" in the left menu to access the "Manage" menu.


3. In the "Manage" menu, click on "List" under "Web Services."

4. The "Deployed Services" screen appears.

5. Click on the necessary service to see the "Service Dashboard" screen.

6. Click "Parameters" in the "Quality of Service Configuration" panel.

7. 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 WSO2 Carbon provides an easy method to generate the Service parameters.

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

8. The "WSO2 Carbon" window appears. Enter the parameter name and click "OK" to add a parameter to the list.

9. Enter the parameter value.

10. Click on the "Update" button to save new parameters in the service group.

11. If you want to delete a parameter, click on the "Delete" button.

12. Confirm your request clicking "Yes" in the "WSO2 Carbon" window.

 

Â