camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5356) CXF endpoint doesn't play nice with doTry/doCatch
Date Thu, 21 Jun 2012 13:32:43 GMT

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

Claus Ibsen commented on CAMEL-5356:
------------------------------------

Thanks for the tests cases. The #1 situation should of course be propagated back to the caller,
if sending failed due some exception.

                
> CXF endpoint doesn't play nice with doTry/doCatch
> -------------------------------------------------
>
>                 Key: CAMEL-5356
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5356
>             Project: Camel
>          Issue Type: Wish
>          Components: camel-cxf
>    Affects Versions: 2.8.3
>            Reporter: Jens Granseuer
>         Attachments: camelTryCatch.zip
>
>
> When using a CXF client endpoint to call a web service via SOAP/HTTP there are two possible
error scenarios:
> 1) The call fails immediately with an exception (e.g. because the service is down/the
address is wrong)
> 2) The call "succeeds" but returns a SOAP fault. This could also signal an error condition
to the application.
> Currently, using doTry/doCatch doesn't work properly in either scenario because, apprently,
the CXF endpoint nulls the message when receiving an exception or fault.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message