Hi All, I want to expose a custom SE as a web service. So, I have two Service units.
1. A Service Unit for the HTTP BC as a consumer. 2. A Service Unit for my SE as a Provider. How do I configure my SE as the provider ? I tried this: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns:http="http://servicemix.apache.org/http/1.0" xmlns:echons="urn:test" xmlns:soap="http://servicemix.apache.org/soap/1.0" > <http:endpoint service="echons:service" endpoint="endpoint" role="provider" locationURI="http://localhost:8190/service/" soap="true"> </http:endpoint> </beans> But, when I deploy my SA, I get an exception saying: Endpoint is not of type: [class com.sri.echo.MyEndpoint] but is of type: class org.apache.servicemix.http.HttpEndpoint. I guess this is because, in my Service Assembly I have the provider artifact as follows: <artifacts-zip>echo-provider-su.jar</artifacts-zip> <component-name>Echo</component-name> So, I am not sure how to configure my SE as the provider. Please help! Thanks! Regards, Sri -- View this message in context: http://www.nabble.com/Exposing-a-custom-SE-as-a-web-service-tf4178610s12049.html#a11882041 Sent from the ServiceMix - User mailing list archive at Nabble.com.
