camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richa <>
Subject Exception in restful web service
Date Wed, 06 Feb 2013 05:12:50 GMT
I have a restful webservice that I am invoking using camel-cxf. I want to
call a particular function on the server. I can call the server but I am
getting the following exception while processing: 

org.apache.cxf.jaxrs.client.ClientWebApplicationException: .No message body
reader has been found for class : class com.amadeus.Server.Hello,
ContentType : application/xml.

My method in the server that I am invoking is as follows:

@Produces ( "application/xml" )
public String sayXMLHello() {

     return "Server says hello";


Kindly help me with tihs problem.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message