Hi all,
from("jetty:http://localhost:7777/sqiSession?bridgeEndpoint=true")
.to(SQI_SESSION_MANAGEMENT_12 + "?bridgeEndpoint=true");
I've a strange problem even with a very simple route like the one above.
I send a soap call to my camel endpoint "jetty:http://localhost:7777/sqiSession" and I try to bridge it to the endpoint in .to but I've the following Exception.
What is strange is that monitoring the communication the remote service reply correctly to the SOAP message but in camel something goes wrong and I've a server error
Any idea?
org.apache.camel.component.http.HttpOperationFailedException: HTTP operation failed invoking http://myhost:9083/repository/services/SqiSessionManagement.SqiSessionManagementSOAP12port with statusCode: 500
at org.apache.camel.component.http.HttpProducer.populateHttpOperationFailedException(HttpProducer.java:157)[183:org.apache.camel.camel-http:2.4.0.fuse-02-00]
at org.apache.camel.component.http.HttpProducer.process(HttpProducer.java:99)[183:org.apache.camel.camel-http:2.4.0.fuse-02-00]
at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50)[72:org.apache.camel.camel-core:2.4.0.fuse-02-00]
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[72:org.apache.camel.camel-core:2.4.0.fuse-02-00]
at org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:104)[72:org.apache.camel.camel-core:2.4.0.fuse-02-00]
at org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:272)[72:org.apache.camel.camel-core:2.4.0.fuse-02-00]
at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:98)[72:org.apache.camel.camel-core:2.4.0.fuse-02-00]
at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[72:org.apache.camel.camel-core:2.4.0.fuse-02-00]
You should set throwExceptionOnFailure=false on the http endpoint, then it returns the http failure "as is"