Hi,
I would recommend to troubleshoot this in the following way:
from("restlet:http://localhost:8090/validateCustomer?custName=XXX").log("response
from webservice is ${body}");
or you can redirect the output to stdout using the stream component.
from("restlet:http://localhost:8090/validateCustomer?custName=XXX").to("stream:out");
This way you'll ensure that indeed you are receiving a response from the
webservice. As per my experience, webservice calls from a client program are
not successful usually the first time due to many factors. So you might want
to rule out that possibility first.
Thanks,
Kalyan
--
View this message in context:
http://camel.465427.n5.nabble.com/Spring-DSL-consume-Restful-WebService-to-POJO-tp5770531p5770641.html
Sent from the Camel Development mailing list archive at Nabble.com.