[
https://issues.apache.org/jira/browse/AXIS2-5884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Veithen resolved AXIS2-5884.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.8.0
> Change parameter "Description" to lower-case for service.xml.
> -------------------------------------------------------------
>
> Key: AXIS2-5884
> URL: https://issues.apache.org/jira/browse/AXIS2-5884
> Project: Axis2
> Issue Type: Improvement
> Components: deployment
> Affects Versions: 1.7.6
> Reporter: Thorsten Schöning
> Priority: Minor
> Fix For: 1.8.0
>
>
> Because of AXIS2-5881 I had a look at my own Axis2 services and recognized
> that their description is wrong and is the service name instead of what is
> defined in the service.xml file. The problem was simply using "description"
> instead of "Description" and the latter is documented, so I must have simply
> overlooked the different spelling.
> http://axis.apache.org/axis2/java/core/docs/axis2config.html#Service_Configuration
> So why not change this configuration to lower case to be in-line with all
> other configs in this file and with most other configs as well?
> Searching through the Axis2 codebase reveals that "description" is hard coded
> at some places already and I even found service.xml files in tests where
> "description" is used, so are wrong in theory. The only environment where
> "Description" seems to make sense is module.xml, which uses "InFlow",
> "OutFlow" etc. as well.
> So we can change the value of TAG_DESCRIPTION to be lower case and hard-code
> something for modules or keep TAG_DESCRIPTION as it is and hard code a lower
> case variant for service.xml or simply use "description" for all, which
> wouldn't like that right in module.xml anymore...
> What do you prefer?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]