Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-1339

Wrong unique class names generation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • code generation
    • None
    • Does not matter.

    Description

      Please change, in method "org.apache.axis2.schema.writer.CStructWriter#makeUniqueCStructName" (Java project "axis2-adb-codegen"), the line containing "cName = cName + ". Surely something needs to be added to make the name unique, but do not use a static variable; that way the generated names can depend on the order in which classes are generated. With this situation, once only one web-method is added at the start of a server side interface (for example implemented in CXF) can change ALL classnames!

      Attachments

        Activity

          People

            Unassigned Unassigned
            josbert Josbert Lonnee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified