[
https://issues.apache.org/jira/browse/CAMEL-27372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18149176#comment-18149176
]
Claus Ibsen commented on CAMEL-27372:
-------------------------------------
Fixed by https://github.com/apache/camel/pull/30583 (commit f335b58667a6 on
main).
_Claude Code on behalf of Claus Ibsen_
> camel-cxf - a consumer in PAYLOAD mode does not treat a soap:Fault String
> body as a fault
> -----------------------------------------------------------------------------------------
>
> Key: CAMEL-27372
> URL: https://issues.apache.org/jira/browse/CAMEL-27372
> Project: Camel
> Issue Type: Bug
> Components: camel-cxf
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 4.24.0
>
>
> When a route behind a {{cxf:}} consumer ({{dataFormat=PAYLOAD}}) replies with
> a {{<soap:Fault>}} element as a String body, the client gets HTTP 200 with
> the fault inside a normal response, or, with schema validation on, a
> confusing validation error. It works only when the body is a {{CxfPayload}}
> or the route throws a {{SoapFault}}.
> Expected: a String (or DOM) body that is a SOAP Fault is sent as a fault
> (HTTP 500), as with a CxfPayload.
> Found while adding new Kamelets to the Kamelet catalog
> (apache/camel-kamelets, 2026-11-21).
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)