You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Colm O hEigeartaigh (Jira)" <ji...@apache.org> on 2026/10/16 11:23:00 UTC

[jira] [Updated] (CXF-6301) No callback raised when receiving an invalid SOAPFault

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

Colm O hEigeartaigh updated CXF-6301:
-------------------------------------
    Fix Version/s: 4.2.5
                   4.1.10

> No callback raised when receiving an invalid SOAPFault
> ------------------------------------------------------
>
>                 Key: CXF-6301
>                 URL: https://issues.apache.org/jira/browse/CXF-6301
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 3.0.4
>            Reporter: Jean-Baptiste REICH
>            Assignee: Colm O hEigeartaigh
>            Priority: Minor
>             Fix For: 4.2.5, 4.1.10
>
>
> I am sending a SOAP 1.2 request to a server using an AsyncHandler. In my case the server responds with a SOAPFault but the AsyncHandler callback is never called. I noticed that the SOAPFault received from the server is invalid according to the SOAP 1.2 XSD which may explain why there is a problem. The server response is the following
> <?xml version="1.0" encoding="UTF-8"?>
> <SOAP-ENV:Envelopexmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
>   <SOAP-ENV:Header>
>     <Action xmlns="http://www.w3.org/2005/08/addressing">urn://Ocpp/cp/2012/06/:ChargePointService::Fault</Action>
>     <MessageID xmlns="http://www.w3.org/2005/08/addressing">urn:uuid:a2eea7dd-1d3c-437c-870e-2dff0a63d44d</MessageID>
>   </SOAP-ENV:Header>
>   <SOAP-ENV:Body>
>     <SOAP-ENV:Fault >
>       <SOAP-ENV:Code>
>         <SOAP-ENV:Value>SOAP-ENV:Receiver</SOAP-ENV:Value>
>       </SOAP-ENV:Code>
>       <SOAP-ENV:Reason>
>         <SOAP-ENV:Text>NotSupported</SOAP-ENV:Text>
>       </SOAP-ENV:Reason>
>       <detail>SOAP-ENV:NotSupported</detail>
>     </SOAP-ENV:Fault>
>   </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> It would be nice in that case to receive an error from CXF notifying that the server responded an invalid response



--
This message was sent by Atlassian Jira
(v8.20.10#820010)