Versions Compared

Key

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

...

  1. Click the Main tab on Management Console and then go to Manage -> Services and click ListThe Deployed Services screen appears.
     
  2. Click the deployed service group(s) link to access the deployed service groups.
  3. In the Deployed Service Groups screen that appears, click the required service group to see the relevant Service Group Dashboard screen.

Managing

...

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

...

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

...

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. You can add easily add service group parameters via the Management Console.

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

Click on the "Add New..." button to generate

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.

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

Image Removed

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

To engage a module into your service group

  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 Engage

...

  1. .

 

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.