Jean-Baptiste REICH created CXF-6301:
----------------------------------------
Summary: 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
Affects Versions: 3.0.4
Reporter: Jean-Baptiste REICH
Priority: Minor
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
(v6.3.4#6332)