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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.9, 2.1.3
    • Fix Version/s: 2.1.4
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: