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 2018/07/23 10:15:00 UTC

[jira] [Commented] (CXF-7798) Mapping of SOAP Faults in Asynchronous JAX-WS Client

    [ https://issues.apache.org/jira/browse/CXF-7798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16552592#comment-16552592 ] 

Colm O hEigeartaigh commented on CXF-7798:
------------------------------------------

Could you put together a test-case or sample to reproduce the problem?

> Mapping of SOAP Faults in Asynchronous JAX-WS Client
> ----------------------------------------------------
>
>                 Key: CXF-7798
>                 URL: https://issues.apache.org/jira/browse/CXF-7798
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 3.2.5
>            Reporter: Giedrius Noreikis
>            Priority: Major
>
> When a SOAP fault is received, asynchronous JAX-WS client throws {{ExecutionException}} with a CXF-specific {{SoapFault}} as its cause:
> {code:java}
> Caused by: java.util.concurrent.ExecutionException: org.apache.cxf.binding.soap.SoapFault: ...
> 	at org.apache.cxf.endpoint.ClientCallback.get(ClientCallback.java:147)
> 	at org.apache.cxf.jaxws.JaxwsResponseCallback.get(JaxwsResponseCallback.java:49)
> 	...
> {code}
> Instead, the cause of {{ExecutionException}} is supposed to contain an instance of {{javax.xml.ws.soap.SOAPFaultException}} in this case, as the mapping should be identical for both asynchronous and synchronous cases.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)