camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sayed_india <sayed.abdulis...@gmail.com>
Subject Re: calling a REST Service POST method with parameters from another REST Service
Date Thu, 23 Oct 2014 16:53:48 GMT
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.

Mime
View raw message