Hello,

Don't you have an error at deployment?
It seems to me that you have two different endpoints with the same names. That 
can't work in my opinion.

BTW, you should use the new http endpoint (cf smx documentation). Also, I don't 
know what this hwse namespace you are using is. What SE type is this? CXF SE?

I hope this helps
Vivian

-----Message d'origine-----
De : youhaodeyi [mailto:[email protected]] 
Envoyé : mercredi 16 septembre 2009 09:27
À : [email protected]
Objet : Anyone knows this error "specified for routing, but can't find it 
registered"


I have two SU. One for Http-BC another for SE. The HTTP-BC xbean.xml is shown 
as below:

<beans xmlns:http="http://servicemix.apache.org/http/1.0";
       xmlns:xyz="http://companyxyz.com";
       xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xsi:schemaLocation="http://servicemix.apache.org/http/1.0
http://servicemix.apache.org/schema/servicemix-http-3.2.3.xsd
       http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd";>

  <http:endpoint service="xyz:helloWorld"
                 endpoint="helloWorld"
                 role="consumer" 
                 locationURI="http://localhost:8192/example/";
                 defaultMep="http://www.w3.org/2004/08/wsdl/in-out";
                 soap="true" />             

</beans>

The SE xbean.xml is shown as below:
<beans xmlns:hwse="http://org.apache.servicemix.samples.helloworld.se/1.0"; 
       xmlns:xyz="http://companyxyz.com";>
  <hwse:endpoint service="xyz:helloWorld" endpoint="helloWorld"/> </beans>

Then, I write a javascript to send message to http://localhost:8192/example.
The servicemix console print this error:
WARN  - DefaultBroker                  - ServiceName
({http://companyxyz.com}helloWorld) specified for routing, but can't find it 
registered
WARN  - DefaultBroker                  - ServiceName
({http://companyxyz.com}helloWorld) specified for routing, but can't find it 
registered
--
View this message in context: 
http://www.nabble.com/Anyone-knows-this-error-%22specified-for-routing%2C-but-can%27t-find-it-registered%22-tp25467299p25467299.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to