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

idl2wsdl fails when constant is used to define boundary of sequence.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.12, 2.3.1
    • None
    • None

    Description

      Run idl2wsdl on the following

      module TRY
      {
      const unsigned short idlMaxUserName = 20;
      typedef sequence<unsigned short, idlMaxUserName> idlUserName;
      };

      ... you'll see that if fails. If you change the boundary of the sequence to a literal, the problem goes away

      module TRY
      {
      typedef sequence<unsigned short, 20> idlUserName;
      };

      but according to the CORBA 2.4 spec, any constant expression that evaluates to yield a positive integer can be used to specify the upper bound of a sequence.

      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: