Hello, I try to set up a simple route in servicemix using camel. It's very simple : http client -> http consumer -> camel -> http provider -> external web service. My request goes to my web service and my web service returns a value (i see it on my log) but the return request that i received in my client is empty :
STATUS: 200 <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body /></soapenv:Envelope> Without camel (http consumer -> http provider) everything was fine. Is it impossible to camel to send back the response ? Here's my configs : http consumer : <http:endpoint service="ns1:ProcessusAdmissionConsumer" endpoint="ProcessusAdmission" targetService="ns1:Routage" role="consumer" locationURI="http://localhost:8192/ProcessusAdmissionConsumer" defaultMep="http://www.w3.org/2004/08/wsdl/in-out" soap="true"/> camel context : <camelContext useJmx="false" xmlns="http://activemq.apache.org/camel/schema/spring"> <package>fr.mm.pocsoa.esb</package> </camelContext> camel route : public void configure() { from("jbi:endpoint:urn:fr:mipih:poc:soa:Routage:RouteVersAdmission") .to("jbi:endpoint:urn:fr:mipih:poc:soa:ProcessusAdmissionImplService:ProcessusAdmissionImplPort") .setBody(constant("Camel a bien recu le message !")) .to("log:CAMEL"); } http provider : <http:endpoint service="ns1:ProcessusAdmissionImplService" endpoint="ProcessusAdmissionImplPort" role="provider" locationURI="http://localhost:9000/ProcessusAdmission" wsdlResource="classpath:ProcessusAdmission.wsdl" defaultMep="http://www.w3.org/2004/08/wsdl/in-out" soap="true"/> Thanks. http://jfaucher.sup.fr John -- View this message in context: http://www.nabble.com/Camel-routes-between-http-endpoints-tp17600107p17600107.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
