axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nadir amra (JIRA)" <>
Subject [jira] Resolved: (AXIS2-2504) Have indication of active/inactive service in services.xml
Date Sat, 21 Apr 2007 21:52:15 GMT


nadir amra resolved AXIS2-2504.

       Resolution: Fixed
    Fix Version/s: nightly

Marking this as resolved.  I also copied the changes into 1.2 release.  I think it is critical
that there is a persistent way to ensure a deployed service is not activated during startup
if it is so desired.

> Have indication of active/inactive service in services.xml
> ----------------------------------------------------------
>                 Key: AXIS2-2504
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: deployment
>    Affects Versions: 1.1.1
>            Reporter: nadir amra
>         Assigned To: nadir amra
>             Fix For: 1.2, nightly
> The idea is to add an "activate" attribute in services.xml to the "service" element that
indicates whether the service should be activated or not - i.e. a persistent property that
will allow the AXIS2 engine to determine whether the service should be activated on startup.
 In addition, if management APIs come to fruition that updates the services.xml file so that
the state is changed from active to inactive and vice-versa, the AXIS2 engine can pick this
up and activate/deactivate the service.  Again, in a persistent way. 
> The code needed to do this affects two Java files:
> -- simply to add attribute name "activate" and possible values
for "true" and "false"
> -- a few lines to get the attribute and set the active flag via AxisService::setActive()
for the service depending on the "state" attribute. 
> An example of  what the service element would look like:
> <service name="StockQuoteService" activate="true" scope="application" targetNamespace="http://quickstart.samples/">
> Before I make the changes and test it out, wondering if there are anything I am overlooking?

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message