[
https://issues.apache.org/jira/browse/CXF-3238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Freeman Fang resolved CXF-3238.
-------------------------------
Resolution: Fixed
commit fix
http://svn.apache.org/viewvc?rev=1057488&view=rev for trunk
http://svn.apache.org/viewvc?rev=1057492&view=rev for 2.3.x branch
> idl2wsdl fails when constant is used to define string lenght
> ------------------------------------------------------------
>
> Key: CXF-3238
> URL: https://issues.apache.org/jira/browse/CXF-3238
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.3.1
> Reporter: Freeman Fang
> Assignee: Freeman Fang
> Fix For: 2.3.2, 2.4
>
>
> if the idl looks like this
> #ifndef INCLUDE_COMMON_IDL
> #define INCLUDE_COMMON_IDL
> module Test {
> const long NAME_LENGTH = 32;
> typedef string<NAME_LENGTH> Name;
> };
> #endif
> simply run the idl2wsdl tool we will see the exception
> Error : org.apache.cxf.tools.common.ToolException: For input string:
> "NAME_LENGTH"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.