Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3238

idl2wsdl fails when constant is used to define string lenght

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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"

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: