[ 
https://issues.apache.org/jira/browse/CAMEL-27372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-27372.
---------------------------------
    Resolution: Fixed

> 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)

Reply via email to