axis-java-dev mailing list archives

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


nadir amra commented on AXIS2-2504:

I also want to update the services.xsd file so that this entry is added:

			      <xs:attribute name="activate" type="xs:boolean" use="optional"/>

However, I am unsure where to update the file.  I have updated it in the 1.2 branch:


But I am unsure if I need to update something in the trunk.  Please let me know if I do and
which directory.

> 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