im trying to deploy autodeployedBean available at  
http://incubator.apache.org/servicemix/dist/servicemix-3.1-incubating/site/deployables/serviceengines/servicemix-bean/xref-test/org/apache/servicemix/bean/beans/AutoDeployedBean.html
http://incubator.apache.org/servicemix/dist/servicemix-3.1-incubating/site/deployables/serviceengines/servicemix-bean/xref-test/org/apache/servicemix/bean/beans/AutoDeployedBean.html
.

i'v configured http endpoint for the bean.

<beans xmlns:http="http://servicemix.apache.org/http/1.0";
       xmlns:test="urn:test">

<http:endpoint service="test:bean-autodeployedbean-service"
                 endpoint="cheese"
                 role="consumer" 
                 locationURI="http://localhost:8196/service/";
                 defaultMep="http://www.w3.org/2004/08/wsdl/in-only";
                 defaultOperation="foo"
                 soap="true" />     

</bean>

but there is exceptions that..

WARN  - DefaultBroker                  - ServiceName ({urn:test}service)
specified for routing, but can't find it registered
WARN  - jetty                          - EXCEPTION
javax.servlet.ServletException: Failed to process request:
javax.jbi.messaging.M
essagingException: Could not find route for exchange: InOnly[
  id: ID:CJHCOM-2074-1183267273343-9:6
  status: Active
  role: provider
  service: {urn:test}bean-autodeployedbean-service
  operation: foo
  in: <?xml version="1.0" encoding="UTF-8"?><hello
xmlns:e="http://schemas.xmlso
ap.org/soap/envelope/"><one/><two/><three/></hello>
] for service: {urn:test}service and interf
ace: null
        at
org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet
.java:79)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445
)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
56)
        at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:6
27)

........................
........

is there any mistakes or error in my code..
can anyone help me? thanks in advance
-- 
View this message in context: 
http://www.nabble.com/endpoint-annotation-for-beans-tf4006920s12049.html#a11379394
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to