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

Code generated from SwA/Mime binding when NOT using the enableMIMEContent customization throws exceptions at runtime

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.9, 2.1.3
    • 2.1.4
    • None
    • None

    Description

      If you use a wsdl with a mime binding, but don't enable the code generator to know about it via the <enableMIMEContent>true</enableMIMEContent> jaxb customization, the resulting code does not work for text/plain or octect-stream. The generated code uses a String for text/plain and byte[] for octects, but the SwA interceptors won't map to those types.

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            dkulp Daniel Kulp
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: