You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Bittner Ede (JIRA)" <ax...@ws.apache.org> on 2012/04/23 11:37:33 UTC

[jira] [Created] (AXISCPP-1087) Functions in generated classes contains invalid character

Bittner Ede created AXISCPP-1087:
------------------------------------

             Summary: Functions in generated classes contains invalid character
                 Key: AXISCPP-1087
                 URL: https://issues.apache.org/jira/browse/AXISCPP-1087
             Project: Axis-C++
          Issue Type: Bug
          Components: WSDL processing - RPC
    Affects Versions:  1.6 Beta
         Environment: Debian linux 
            Reporter: Bittner Ede
            Priority: Critical


When the WSDL's binding contains an operation with a name, that contains an invalid character in C/C++, the code generator does not replace it, thus the generated code cannot be compiled. The <wsdl:operation name="Auth:Login"> operation generates the following function siginture:
public: 
	STORAGE_CLASS_INFO xsd__string Auth:Login(xsd__string Value0, xsd__string Value1); 

Characters that are invalid in C/c++ code, should be replaced to something. Should be a user choice with some flag, maybe defaulting to underscore.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


[jira] [Commented] (AXISCPP-1087) Functions in generated classes contains invalid character

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXISCPP-1087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398908#comment-13398908 ] 

nadir amra commented on AXISCPP-1087:
-------------------------------------

Actually, you will have to build it yourself since we do not have a nightly build.  But you will find that it is best to rebuild until a new release can be created since there are many, many fixes not in the binaries that are out there today. 
                
> Functions in generated classes contains invalid character
> ---------------------------------------------------------
>
>                 Key: AXISCPP-1087
>                 URL: https://issues.apache.org/jira/browse/AXISCPP-1087
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: WSDL processing - RPC
>    Affects Versions:  1.6 Beta
>         Environment: Debian linux 
>            Reporter: Bittner Ede
>            Priority: Critical
>             Fix For: current (nightly)
>
>
> When the WSDL's binding contains an operation with a name, that contains an invalid character in C/C++, the code generator does not replace it, thus the generated code cannot be compiled. The <wsdl:operation name="Auth:Login"> operation generates the following function siginture:
> public: 
> 	STORAGE_CLASS_INFO xsd__string Auth:Login(xsd__string Value0, xsd__string Value1); 
> Characters that are invalid in C/c++ code, should be replaced to something. Should be a user choice with some flag, maybe defaulting to underscore.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


[jira] [Commented] (AXISCPP-1087) Functions in generated classes contains invalid character

Posted by "Bittner Ede (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXISCPP-1087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396593#comment-13396593 ] 

Bittner Ede commented on AXISCPP-1087:
--------------------------------------

Thank you for fix! Currently I can't verify it, because I can't find any night build from axis. The link at the main page (http://cvs.apache.org/dist/axis/nightly ) won't work. If you can provide me a nightly build, then I'll test it asap, otherwise it'll take some time, to setup a build enviroment, and compile it from the source.
                
> Functions in generated classes contains invalid character
> ---------------------------------------------------------
>
>                 Key: AXISCPP-1087
>                 URL: https://issues.apache.org/jira/browse/AXISCPP-1087
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: WSDL processing - RPC
>    Affects Versions:  1.6 Beta
>         Environment: Debian linux 
>            Reporter: Bittner Ede
>            Priority: Critical
>             Fix For: current (nightly)
>
>
> When the WSDL's binding contains an operation with a name, that contains an invalid character in C/C++, the code generator does not replace it, thus the generated code cannot be compiled. The <wsdl:operation name="Auth:Login"> operation generates the following function siginture:
> public: 
> 	STORAGE_CLASS_INFO xsd__string Auth:Login(xsd__string Value0, xsd__string Value1); 
> Characters that are invalid in C/c++ code, should be replaced to something. Should be a user choice with some flag, maybe defaulting to underscore.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org


[jira] [Resolved] (AXISCPP-1087) Functions in generated classes contains invalid character

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/AXISCPP-1087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

nadir amra resolved AXISCPP-1087.
---------------------------------

       Resolution: Fixed
    Fix Version/s: current (nightly)

Fixed problem under revision: http://svn.apache.org/viewvc?view=revision&revision=1351400

However, in this case, I do not believe colon (:) is allowed in operation name.....but we handle it now by replacing invalid compiler characters with an underscore. 

Will wait until test case is created to close. 
                
> Functions in generated classes contains invalid character
> ---------------------------------------------------------
>
>                 Key: AXISCPP-1087
>                 URL: https://issues.apache.org/jira/browse/AXISCPP-1087
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: WSDL processing - RPC
>    Affects Versions:  1.6 Beta
>         Environment: Debian linux 
>            Reporter: Bittner Ede
>            Priority: Critical
>             Fix For: current (nightly)
>
>
> When the WSDL's binding contains an operation with a name, that contains an invalid character in C/C++, the code generator does not replace it, thus the generated code cannot be compiled. The <wsdl:operation name="Auth:Login"> operation generates the following function siginture:
> public: 
> 	STORAGE_CLASS_INFO xsd__string Auth:Login(xsd__string Value0, xsd__string Value1); 
> Characters that are invalid in C/c++ code, should be replaced to something. Should be a user choice with some flag, maybe defaulting to underscore.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org