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

Data types not correctly published in WSDL from Exception classes

    XMLWordPrintableJSON

    Details

    • Estimated Complexity:
      Unknown

      Description

      Fixes for CXF-4542 and CXF-4542 introduced this regression where an Exception class with a Collection was always represented as the Collection type instead of the Paramatized Type.

      Example:

      @WebFault
      public class CustomException extends Exception {

      private ArrayList<MyData> names;
      ...

      <xs:complexType name="CustomException">
      <xs:sequence>
      <xs:element name="names" nillable="true" type="tns:arrayList"/>
      </xs:sequence>

      But it should be

      <xs:complexType name="CustomException">
      <xs:sequence>
      <xs:element maxOccurs="unbounded" minOccurs="0" name="names" type="tns:myData"/>
      </xs:sequence>

        Attachments

        1. CXF4847.proposed.patch
          2 kB
          mustafa

          Issue Links

            Activity

              People

              • Assignee:
                ema Jim Ma
                Reporter:
                mmusaji mustafa
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: