Hi Nithya,
If you wanna invoke external servlet from an NMR SE, I think a http
provider endpoint is enough
Best Regards
Freeman
nvijayak wrote:
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