You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Scott Kurz (JIRA)" <tu...@ws.apache.org> on 2007/11/07 20:32:50 UTC

[jira] Created: (TUSCANY-1899) Java2WSDL (trivial) - do we have to assume method names start w/ a lowercase char?

Java2WSDL (trivial) - do we have to assume method names start w/ a lowercase char?
----------------------------------------------------------------------------------

                 Key: TUSCANY-1899
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1899
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Tools, Java SDO Tools
    Affects Versions: Java-SCA-1.0, Java-SCA-1.0.1
            Reporter: Scott Kurz
            Priority: Trivial


The fact that:       TuscanyWSDLTypesGenerator .createSchemaTypeForMethodPart
on line 267 calls:
        globalElement.setName(formGlobalElementName(localPartName));

which lowercases the first char in the parm passed to formGlobalElementName ends up implying that method names must start in a lowercase char.     Because otherwise..the elem name
so constructed won't match the operation name... which will cause us to not end up with doc-lit-wrapped WSDL.

Since everyone uses lowercase method names this in Java, I ranked this as 'trivial'.   

Still, I opened this anyway because I didn't see why we bother to lowercase this string at all, and thought that if someone cancelled this JIRA, at least I'd learn
there was a good reason for doing so.


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


[jira] Resolved: (TUSCANY-1899) Java2WSDL (trivial) - do we have to assume method names start w/ a lowercase char?

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng resolved TUSCANY-1899.
-----------------------------------

    Resolution: Fixed

Fixed by keeping the name as-is.

> Java2WSDL (trivial) - do we have to assume method names start w/ a lowercase char?
> ----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1899
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1899
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Tools
>    Affects Versions: Java-SCA-1.0, Java-SCA-1.0.1
>            Reporter: Scott Kurz
>            Assignee: Raymond Feng
>            Priority: Trivial
>             Fix For: Java-SCA-Next
>
>
> The fact that:       TuscanyWSDLTypesGenerator .createSchemaTypeForMethodPart
> on line 267 calls:
>         globalElement.setName(formGlobalElementName(localPartName));
> which lowercases the first char in the parm passed to formGlobalElementName ends up implying that method names must start in a lowercase char.     Because otherwise..the elem name
> so constructed won't match the operation name... which will cause us to not end up with doc-lit-wrapped WSDL.
> Since everyone uses lowercase method names this in Java, I ranked this as 'trivial'.   
> Still, I opened this anyway because I didn't see why we bother to lowercase this string at all, and thought that if someone cancelled this JIRA, at least I'd learn
> there was a good reason for doing so.

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


[jira] Assigned: (TUSCANY-1899) Java2WSDL (trivial) - do we have to assume method names start w/ a lowercase char?

Posted by "Raymond Feng (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Feng reassigned TUSCANY-1899:
-------------------------------------

    Assignee: Raymond Feng

> Java2WSDL (trivial) - do we have to assume method names start w/ a lowercase char?
> ----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1899
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1899
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Tools
>    Affects Versions: Java-SCA-1.0, Java-SCA-1.0.1
>            Reporter: Scott Kurz
>            Assignee: Raymond Feng
>            Priority: Trivial
>             Fix For: Java-SCA-Next
>
>
> The fact that:       TuscanyWSDLTypesGenerator .createSchemaTypeForMethodPart
> on line 267 calls:
>         globalElement.setName(formGlobalElementName(localPartName));
> which lowercases the first char in the parm passed to formGlobalElementName ends up implying that method names must start in a lowercase char.     Because otherwise..the elem name
> so constructed won't match the operation name... which will cause us to not end up with doc-lit-wrapped WSDL.
> Since everyone uses lowercase method names this in Java, I ranked this as 'trivial'.   
> Still, I opened this anyway because I didn't see why we bother to lowercase this string at all, and thought that if someone cancelled this JIRA, at least I'd learn
> there was a good reason for doing so.

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


[jira] Updated: (TUSCANY-1899) Java2WSDL (trivial) - do we have to assume method names start w/ a lowercase char?

Posted by "Kelvin Goodson (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kelvin Goodson updated TUSCANY-1899:
------------------------------------

    Component/s:     (was: Java SDO Tools)

In the SDO tools we do this is in generation of XML schemas from existing Properties and Types.  We do have a method "formGlobalElementName" which does this lower casing of the first letter when generating a global element in the schema.   The behaviour is due to the paragraph in section 10 of the SDO spec which says ...

The global element for the type:
• lowercase(TYPE.NAME) is the type name with the first letter converted to lower
case as defined type java.lang.Character.toLowerCase() ....

> Java2WSDL (trivial) - do we have to assume method names start w/ a lowercase char?
> ----------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1899
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1899
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Tools
>    Affects Versions: Java-SCA-1.0, Java-SCA-1.0.1
>            Reporter: Scott Kurz
>            Priority: Trivial
>             Fix For: Java-SCA-Next
>
>
> The fact that:       TuscanyWSDLTypesGenerator .createSchemaTypeForMethodPart
> on line 267 calls:
>         globalElement.setName(formGlobalElementName(localPartName));
> which lowercases the first char in the parm passed to formGlobalElementName ends up implying that method names must start in a lowercase char.     Because otherwise..the elem name
> so constructed won't match the operation name... which will cause us to not end up with doc-lit-wrapped WSDL.
> Since everyone uses lowercase method names this in Java, I ranked this as 'trivial'.   
> Still, I opened this anyway because I didn't see why we bother to lowercase this string at all, and thought that if someone cancelled this JIRA, at least I'd learn
> there was a good reason for doing so.

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