L.S.,
What does the namespace uri for xmlns:example look like? You have to make sure it does not end with a trailing slash, otherwise it won't match the endpoint URI in Camel (where the / after example.com is a separator). Also (and I'm not entirely sure about this, but still...) I don't think the 'no description found' is the actual problem here. The Camel endpoint probably doesn't have a WSDL describing it, so that's perfectly normal and if the endpoint name is incorrect, I would expect to see errors when a MessageExchange is being dispatched rather than the HTTP 404 you're seeing now. It almost looks as if you're trying to access the wrong URL to me (unless the HTTP component is clever enough to return 404 for an endpoint that's not being found). Regards, Gert Vanthienen ------------------------ FuseSource Web: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ On Wed, Oct 26, 2011 at 12:04 PM, Nico <[email protected]> wrote: > Hi Guillaume, > > I'm having the same issue commented on this thread, but I can't get any > solution. > > Here it's my configuration: > > <!-- HTTP Component --> > <http:endpoint service="example:ExampleSender" > endpoint="exampleSender" > targetService="example:camelReceiver" > targetEndpoint="camelReceiverEndoint" > role="consumer" > locationURI="http://0.0.0.0:8192/example/" > soap="true" > defaultMep="http://www.w3.org/2004/08/wsdl/in-out" > /> > > > <--! Camel Context --> > <camelContext id="camel" trace="true" > xmlns="http://activemq.apache.org/camel/schema/spring"> > <endpoint id="camelByPass" > > uri="jbi:endpoint:http://example.com/camelReceiver/camelReceiverEndoint" > /> > <endpoint id="jsr181endpoint" > > uri="jbi:endpoint: > http://example.com/ExampleServiceName/ExampleServiceEndpoint? > mep=in-out<http://example.com/ExampleServiceName/ExampleServiceEndpoint?mep=in-out>" > /> > > <route> > <from ref="camelByPass" /> > <to uri="log:input" /> > <to ref="jsr181endpoint" /> > </route> > </camelContext> > > I'm getting this on the console > > DEBUG - HttpComponent - Retrieving proxied endpoint > definition > DEBUG - CamelJbiComponent - Querying service description for > ServiceEndpoint[service= > {http://example.com}camelReceiver,endpoint=camelReceiverEndoint] > DEBUG - CamelJbiComponent - No description found for > {http://example.com}camelReceiver:camelReceiverEndoint > DEBUG - jetty - RESPONSE /example/ 404 > DEBUG - JettyContextManager - Dispatching job: > SCEP@1304459265[d=true,io=1,w=true,b=false|false] > DEBUG - jetty - EOF > > > By the way, for reasons that escape from me I'm using ServiceMix 3.2.3 and > Camel > 1.4.0 > > Thanks in advanced. > > > >
