Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

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.

Image Removed

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

Image Removed

4. The "Deployed Services" screen appears.

...

  1. Click the Main tab on Management Console and then go to Manage -> Services and click ListThe Deployed Services screen appears.
     Image Added
  2. Click the deployed service group(s)

...

  1.  link to access the

...

  1. deployed service groups.

...

  1. Image Added

...

  1. In the

...

  1. Deployed Service Groups screen that appears,

...

  1. click

...

  1. the

...

  1. required service group to see the

...

  1. relevant Service Group Dashboard

...

  1. screen.

...

  1. Image Added

Managing

...

Parameters of the Service Group
Anchor
Managing the parameters of the service group
Managing the parameters of the service group

...

Image Removed

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

  • name - The mandatory attribute which specifies the name of a parameter.
  • 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 "with the locked attribute set 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 Group parameters.

Click on the "Add New..." button to generate You can add easily add service group parameters via the Management Console.

To add a new service group parameter

  1. On the Actions panel in the Service Group Dashboard screen, click Parameters.
    Image Added 
  2. Click Add New to create a new service parameter.

Image Removed

...

  1. Image Added
  2. On the window that appears, enter the service group parameter name and click

...

  1. OK

...

  1. to add the parameter to the list.

...

  1. Image Added 

...

  1. Enter the value of the parameter

...

  1. .

...

  1. Image Added

...

  1. Click

...

  1. Update

...

  1. to save the new

...

  1. parameter in the service group.
    Image Modified

6. If you want to To delete a service group parameter, click on the "Delete" button

  1. On the Actions panel in the Service Group Dashboard screen, click Parameters.
  2. Click Delete based on the parameter you want to delete.
    Image Modified

...

  1. Confirm that you are sure you want to delete the parameter by clicking

...

  1. Yes

...

  1.  on the window that appears.Image Modified

Managing

...

Module Engagements
Anchor
Managing the module engagements
Managing the module engagements

There may be some are instances where when it 's is impossible to run the service without engaging the WS-Security module into the service. Engaging a module is just a matter of adding a module tag into in the services XML.XML file. If the module is available, then the engaging will take place, else it will be it can engage. Else it becomes a faulty service.

Follow the instructions below to To engage a module into a your service group (see also Module Engagement for Service).

1. In the "Actions" panel, select "Modules."

Image Removed

2. Choose a module to add. The WSO2 Carbon provides the following modules, which

...

  1. On the Actions panel in the Service Group Dashboard screen, click Modules.
    Image Added
  2. Select the required a module from the drop down list. WSO2 ESB provides the following modules that you can engage into your service group:

...


    • rampart-1.61-

...

    • wso2v14 - Provides

...

    • the WS-Security

...

    •  and WS-SecureConversation

...

    •  functionalities for Axis2, based

...

    • on Apache WSS4J, Apache XML-Security

...

    •  and Apache Rahas

...

    •  implementations.

...

    • relay-4.4.1.20 - Unwraps the binary messages coming from the message relay for admin services.
    • rahas-1.61-

...

    • wso2v14 - Is used to STS enable a service

...

    • where it adds

...

    • the RequestSecurityToken

...

    •  operation to a service that the module is engaged to

...

    • .

...

...

  1. Click

...

  1. Engage

...

  1. .

Image Removed

See For more information about on modules in , see Working with Modules.

Creating the Archive File
Anchor
Creating the archive file
Creating the archive file

...

  • On the Actions panel in the Service Group Dashboard screen, click Create Service Archive. This creates the service archive file and downloads it to the Downloads directory on your computer.

Excerpt
hiddentrue

Instructions on how to manage service groups in WSO2 ESB.