CXF
  1. CXF
  2. CXF-3238

idl2wsdl fails when constant is used to define string lenght

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.1
    • Fix Version/s: 2.3.2, 2.4
    • Component/s: Tooling
    • Labels:
      None

      Description

      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"

        Activity

        Freeman Fang created issue -
        Freeman Fang made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Freeman Fang made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Freeman Fang made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Freeman Fang made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Daniel Kulp made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12542113 ] Default workflow, editable Closed status [ 12605180 ]

          People

          • Assignee:
            Freeman Fang
            Reporter:
            Freeman Fang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development