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

Data types for Fields not correctly published in WSDL from Exception classes

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      This fix relies on CXF-4847 and fixes the same issue described in this but for public Field Types.

      Example:

      @WebFault
      public class CustomException extends Exception {

      public 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. CXF4874.proposed.patch
          2 kB
          mustafa

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: