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

idl2wsdl fails when constant is used to define string lenght

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.1
    • 2.3.2, 2.4
    • Tooling
    • 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

            ffang Freeman Yue Fang
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: