thanks. I tried with a provider endpoint, but when I register this endpoint
to ws-notif broker in servicemix as a consumer of messages I get "Unable to
resolve consumer endpoint error". Do you have any suggestion/examples for
the same?

Thanks,
Nithya


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
> 
> 

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

Reply via email to