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

Java First WSDL Generation Incorrect in 2.4.3 vs 2.1.10

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.3
    • Fix Version/s: Invalid
    • Component/s: JAXB Databinding
    • Labels:
    • Environment:

      Java 6,7 on Windows 7 and Suse Linux 11

    • Estimated Complexity:
      Unknown

      Description

      I have been using CXF since 2008 version 2.1.x branch. It generated the same WSDL every time which I have attached and labeled wsdl-211.wsdl. I recently upgraded to 2.4.3 and did not touch the interface and now CXF is generating the WSDL differently that is now breaking all my test clients.

      The major difference being it is generating ref= instead of type= which is then causing the client generation to generate SoapStyle.BARE in both my Java and .NET clients.

      2.1.10:

      <xs:complexType name="getAllAceResponse">
      <xs:sequence>
      <xs:element minOccurs="0" name="collectionActualValueData" type="tns:collectionActualValueData" />
      </xs:sequence>
      </xs:complexType>

      2.4.3:
      <xs:complexType name="getAllAceResponse">
      <xs:sequence>
      <xs:element minOccurs="0" ref="tns:collectionActualValueData"/>
      </xs:sequence>
      </xs:complexType>

        Attachments

        1. cxf-3906.zip
          12 kB
          Melloware

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              melloware Melloware
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: