[ 
https://issues.apache.org/jira/browse/CAMEL-16997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Cosentino resolved CAMEL-16997.
--------------------------------------
    Resolution: Invalid

Ask on the users mailing list first

> Can't convert the document message from a CXF request to type String
> --------------------------------------------------------------------
>
>                 Key: CAMEL-16997
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16997
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 3.11.1
>            Reporter: Zhiying Yan
>            Priority: Major
>
> I have a service , if I have following route:
> {code:java}
>                               from("cxfrs://" + 
> "http://127.0.0.1:8058??resourceClasses=local_project.testcrest_0_1.testcRest$Service_cREST_1";).process(new
>  Processor() {
>                                       
>                                       public void process(Exchange exchange) 
> throws Exception {
> //                                            
> System.out.println(exchange.getIn().getBody(String.class)); // the returns a 
> null
>                                               
> System.out.println(exchange.getIn().getBody());            // this returns a 
> [#document: null], and in debug mode, could see the input as child in 
> document.
>                                       }
>                               }){code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to