You should use the ComponentContext which is a JBI definde interface that allows querying endpoints for their WSDL description. See http://incubator.apache.org/servicemix/dist/servicemix-3.0-incubating/site/servicemix-jbi/apidocs/javax/jbi/component/ComponentContext.html
On 11/20/06, Sharon Yin <[EMAIL PROTECTED]> wrote:
Hi, I'm trying to use a SE to achieve wsdl which exposed by servicemix, but not successful yet. I've already succeed in exposing a external deployed webservice's wsdl through servicemix by HttpEndpoint, so I assume that it's also able to achieve this wsdl inside servicemix using a SE. I found that there is a Registry inside servicemix, which can be used to get all endpoint that registered on NMR, if I can get the HttpEndpoint's instance, then I can use the getWSDL(), but the problem is how to get the Registry's instance? Or is there another way to achieve this wsdl inside SE, not using Registry? Thanks for any help! Sharon.
-- Cheers, Guillaume Nodet
