Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Process Manager (Stardust) » Camel Endpoint Application - Webservice giving error 500
Camel Endpoint Application - Webservice giving error 500 [message #1734768] Sat, 11 June 2016 17:27 Go to next message
Ajay KS is currently offline Ajay KSFriend
Messages: 21
Registered: September 2015
Junior Member

My question is related to using Camel Endpoint application to call a POST RESt Service.

I am having one input SDT and passing this as a JSON to service. I have selected ConvertTo as JSON. Below is my Camel config.

<setHeader headerName="CamelHttpMethod"><constant>POST</constant></setHeader>
<setHeader headerName="Content-Type">
<setHeader headerName="CamelHttpUri">
<to uri="http://isoverwritten"/>
<convertBodyTo type="java.lang.String"/>
<setHeader headerName="Message">
<setProperty propertyName="CamelExceptionCaught">

However, I am always getting - HTTP operation failed invoking http://myURL with statusCode: 500.
Even though, this service perfectly fine when I call it using Postman or any REST service caller extensions.

org.apache.camel.component.http.HttpOperationFailedException: HTTP operation failed invoking http://myURL with statusCode: 500
at org.apache.camel.component.http.HttpProducer.populateHttpOperationFailedException(
at org.apache.camel.component.http.HttpProducer.process(
at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(
at org.apache.camel.processor.SendProcessor.process(

Could you please suggest if I am missing something here.

Re: Camel Endpoint Application - Webservice giving error 500 [message #1736946 is a reply to message #1734768] Mon, 04 July 2016 14:18 Go to previous message
Robert Emsbach is currently offline Robert EmsbachFriend
Messages: 186
Registered: October 2011
Location: Singapore
Senior Member

Some issue in this regard were fixed. Which Stardust version are you using?
Is a proxy involve?
Try to remove xercesImpl from classpath and see if it helps.

Previous Topic:M2eclipse error 401 unauthorized
Next Topic:Rest service call through camel
Goto Forum:

Current Time: Mon Oct 03 16:01:16 GMT 2022

Powered by FUDForum. Page generated in 0.02010 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top