Hi,

I want to create a http endpoint in servicemix for an external servlet. I am
using the following in a servicemix-http-consumer-service-unit's xbean.xml.
The location of the servlet is http://localhost:8080/test/foo.

  <http:endpoint service="foows:FooServlet" 
        endpoint="fooServlet" 
        role="provider" 
        locationURI="http://localhost:8080/test/foo/";> 
  </http:endpoint>
  
   <http:endpoint service="foows:FooServletProxy" endpoint="proxy"
        role="consumer" locationURI="http://0.0.0.0:8192/foo/";
        targetService="foows:FooServlet" targetEndpoint="fooServlet"/>

Is this the correct approach? I just want to invoke this servlet from within
an NMR SE and send the data to it.

Thanks,
Nithya

-- 
View this message in context: 
http://www.nabble.com/Binding-component-for-an-external-servlet-tp15083336s12049p15083336.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to