Hello,
The first issue of URL is resolved using
.setHeader("CamelHttpPath",simple("/dept"))


But the POST service call gives ArrayIndexOutofBound Exception with no clue
, so stops calling second service

 .setHeader("CamelHttpMethod",constant("POST"))
                    
.setHeader("Content-Type",constant("application/form-urlencoded"))
 .setHeader("ID",constant("1234"))                  
 .setHeader("dept",constant("IT"))

.to("cxfrs:http://0.0.0.0:8090/";)

Any clue/suggestion please?

Thanks
Sayed



--
View this message in context: 
http://camel.465427.n5.nabble.com/calling-a-REST-Service-POST-method-with-parameters-from-another-REST-Service-tp5757939p5757953.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to