Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4973

Camel CXF Transport should update the content-type as other CXF transport does

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.5, 2.8.4, 2.9.0
    • 2.8.5, 2.9.1, 2.10.0
    • camel-cxf
    • None
    • Unknown

    Description

      If you want to leverage the camel transport for CXF to route the message with sub camel context, you may face an issue that camel transport doesn't setup the content type with the encoding information like this "text/xml; charset=UTF-8"
      It just sets the Content-Type like this "text/xml" which fails WS-I validation.

      Attachments

        Activity

          People

            njiang Willem Jiang
            njiang Willem Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: