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

Willem Jiang commented on CAMEL-7199:
-------------------------------------

Hi Alexey,

"No message body writer has been found for response class CxfPayload" is the 
warning of JAXRSOutInterceptor, as it doesn't know anything about the 
CxfPayload Message which is only used by camel-cxf (which deal with the soap 
message).

I just checked the test case, you need to turn the response of cxf which body 
is CxfPayload to the object which CXFRS can understand, then cxfrs consumer can 
return the response to the client.
{code}
from(cxfrs consumer).setBody().to(cxf producer).convertBodyTo(String.class);
{code}

Regards,

Willem

> [cxfrs] Consumer can't process CxfPayload from cxf producer
> -----------------------------------------------------------
>
>                 Key: CAMEL-7199
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7199
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.12.2
>            Reporter: Alexey Markevich
>            Assignee: Willem Jiang
>         Attachments: camel-cxf-payload.zip
>
>
> I'm trying to migrate existing route from camel-jetty to camel-cxf.
> Route: from(cxfrs consumer).setBody().to(cxf producer)
>  failed with "No message body writer has been found for response class 
> CxfPayload"
> and convertBodyTo required.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to