In your xbean.xml you define the service name to be 

<bean:endpoint service="test:service" endpoint="endpoint" bean="#myBean"/>


but you don't declare the namespace "test" that you use. You will need
something like this:

<beans xmlns:bean="http://servicemix.apache.org/bean/1.0";
   xmlns:test="http://mycompany.com";>
  <bean:endpoint service="test:service" endpoint="endpoint" bean="#myBean"/>
  <bean id="myBean" class="esb.binding.MyBean"/>
</beans> 

and then reference that namespace in your client code:

QName service = new QName("http://mycompany.com","service";);
exchange.setService(service);
client.send(exchange);

Hope that helps,
Torsten Mielke
-- 
View this message in context: 
http://www.nabble.com/Help%21-Could-not-find-route-for-exchange%3A-InOnly-%28RemoteServiceMixClient%29-tp17777529p17795368.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to