cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-3238) idl2wsdl fails when constant is used to define string lenght
Date Tue, 11 Jan 2011 05:14:49 GMT
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.


Mime
View raw message