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 "julien nioche (JIRA)" <ji...@apache.org> on 2006/11/21 17:29:01 UTC

[jira] Created: (AXIS2-1758) methods generated with WSDL2Java do not compile if the operation name in the WSDL contains a '-'

methods generated with WSDL2Java do not compile if the operation name in the WSDL contains a '-'
------------------------------------------------------------------------------------------------

                 Key: AXIS2-1758
                 URL: http://issues.apache.org/jira/browse/AXIS2-1758
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.1
         Environment: Linux 
            Reporter: julien nioche


I am using WSDL2Java to generate client stubs from a WSDL. Some of the
messages and operations in the WSDL contain the character '-'; this is
converted directly into java methods names (e.g. add-new-object()) and crashes the
compilation.

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


[jira] Resolved: (AXIS2-1758) methods generated with WSDL2Java do not compile if the operation name in the WSDL contains a '-'

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1758?page=all ]

Davanum Srinivas resolved AXIS2-1758.
-------------------------------------

    Resolution: Fixed

Applied.

thanks,
dims

> methods generated with WSDL2Java do not compile if the operation name in the WSDL contains a '-'
> ------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1758
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1758
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: Linux 
>            Reporter: julien nioche
>         Assigned To: Davanum Srinivas
>         Attachments: codegen.patch
>
>
> I am using WSDL2Java to generate client stubs from a WSDL. Some of the
> messages and operations in the WSDL contain the character '-'; this is
> converted directly into java methods names (e.g. add-new-object()) and crashes the
> compilation.

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


[jira] Assigned: (AXIS2-1758) methods generated with WSDL2Java do not compile if the operation name in the WSDL contains a '-'

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1758?page=all ]

Amila Chinthaka Suriarachchi reassigned AXIS2-1758:
---------------------------------------------------

    Assignee: Davanum Srinivas

> methods generated with WSDL2Java do not compile if the operation name in the WSDL contains a '-'
> ------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1758
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1758
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: Linux 
>            Reporter: julien nioche
>         Assigned To: Davanum Srinivas
>         Attachments: codegen.patch
>
>
> I am using WSDL2Java to generate client stubs from a WSDL. Some of the
> messages and operations in the WSDL contain the character '-'; this is
> converted directly into java methods names (e.g. add-new-object()) and crashes the
> compilation.

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


[jira] Updated: (AXIS2-1758) methods generated with WSDL2Java do not compile if the operation name in the WSDL contains a '-'

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1758?page=all ]

Amila Chinthaka Suriarachchi updated AXIS2-1758:
------------------------------------------------

    Attachment: codegen.patch

use the JavaUtils.xmlNameToJava(String) method to convert the method name to a java supported one.

> methods generated with WSDL2Java do not compile if the operation name in the WSDL contains a '-'
> ------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1758
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1758
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.1
>         Environment: Linux 
>            Reporter: julien nioche
>         Attachments: codegen.patch
>
>
> I am using WSDL2Java to generate client stubs from a WSDL. Some of the
> messages and operations in the WSDL contain the character '-'; this is
> converted directly into java methods names (e.g. add-new-object()) and crashes the
> compilation.

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