Service should be listed as faulty when name of the service is not specified
within a group of services
-------------------------------------------------------------------------------------------------------
Key: AXIS2-1331
URL: http://issues.apache.org/jira/browse/AXIS2-1331
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Affects Versions: 1.1
Environment: Windows XP, jdk1.5.0_08, Maven 1.0.2, Mozilla Firefox
1.5.0.6
Reporter: Charitha Kankanamge
Priority: Minor
Currently, Axis does not specifically return an error or inform user when a
name is not given for a service inside a service group.
This issue is highlighted when only one service with blank service name is
available inside a service group. In that case, service archive is deployed
successfully without informing user about the errorneous service description.
Steps to reproduce:
===================
1. Define service.xml with service groups.
i.e:-
<serviceGroup>
<service name="">
<description>
This is a sample Web Service with two operations,echo and ping.
</description>
<parameter name="ServiceClass" locked="false">addNumbers</parameter>
<operation name="addition">
<messageReceiver
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
</operation>
</service>
</serviceGroup>
Make sure to keep service name blank.
2. Create a service archive (*.aar)
3. Log in to Axis2 administration console and click on 'Upload Services' link
in the left pane
4. Browse for the above service archive and upload it
5. upload successful message will be displayed
6. Click on 'Available Services' link
Actual Result:
=============
Service is not listed as a faulty service.
Expected Result:
================
Service should be listed in the faulty list, since the service description
violates the following rule specified in the Axis2 user guide.
"name of the service is a compulsory attribute."
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]