Hi,
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:
@GET
@Path("/xmlHello")
@Produces ( "application/xml" )
public String sayXMLHello() {
return "Server says hello";
}
Kindly help me with tihs problem.
--
View this message in context:
http://camel.465427.n5.nabble.com/Exception-in-restful-web-service-tp5727019.html
Sent from the Camel - Users mailing list archive at Nabble.com.