camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liugang (JIRA)" <>
Subject [jira] [Commented] (CAMEL-6404) cCXF route proxy cannot return Fault message to client when Dataformat is CXF_MESSAGE
Date Sun, 02 Jun 2013 12:44:20 GMT


liugang commented on CAMEL-6404:

Hi Willem: 
But this only happens after the fix, right? for now, I always get the NullPointerException,
So I have to find a workaround to make it works.

And BTW, when I want to call a WebService by creating request from scratch, for example, timer
-> setBody -> CXF (with RAW dataFormat), I found if the body type isn't *javax.xml.tranform.Source.class*,
then the body will always be empty, no matter what I've set in setBody component. I think
the convert should be done inside Camel instead of client. Could you also have a check? 

Thanks alot.
> cCXF route proxy cannot return Fault message to client when Dataformat is CXF_MESSAGE
> -------------------------------------------------------------------------------------
>                 Key: CAMEL-6404
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>            Reporter: Meifang Shen
>            Assignee: Willem Jiang
>             Fix For: 2.10.5, 2.11.1, 2.12.0
>         Attachments:
> use CXF component with CXF_MESSAGE dataFormat to call any service, and the response of
this service is a fault, then you can see this exception.
> {noformat} 
> Exception in thread "default-workqueue-1" java.lang.NullPointerException
> 	at org.apache.camel.component.cxf.DefaultCxfBinding.getContentFromCxf(
> 	at org.apache.camel.component.cxf.DefaultCxfBinding.populateExchangeFromCxfResponse(
> 	at org.apache.camel.component.cxf.CxfClientCallback.handleException(
> 	at org.apache.cxf.interceptor.ClientOutFaultObserver.onMessage(
> 	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream$
> 	at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
> 	at java.util.concurrent.ThreadPoolExecutor$
> 	at org.apache.cxf.workqueue.AutomaticWorkQueueImpl$AWQThreadFactory$
> 	at
> {noformat} 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message