You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Thorsten Schöning (JIRA)" <ji...@apache.org> on 2017/09/06 18:54:00 UTC

[jira] [Created] (AXIS2-5884) Change parameter "Description" to lower-case for service.xml.

Thorsten Schöning created AXIS2-5884:
----------------------------------------

             Summary: 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.8.0
            Reporter: Thorsten Schöning
            Priority: Minor


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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org