Hi,

I have the following problem:

I have an interface annotated with @WebService and @WebMethod annotations, and 
a class that implements this interface, with some custom annotations that are 
unrelated to cxf/jaxws/etc.
In xml I have declared the following:

    <bean id="FOO" class="com.sample.WebServiceImpl "/>
    <jaxws:endpoint id="FooService" implementor="#FOO" address="/FooService" />

This works perfectly. What I want to do is to access the implementor class in 
runtime to provide informations about the service. I use 
org.apache.cxf.endpoint.ServerRegistry to access the servers and get metadata 
about them. I can get information with EndpointInfo, BindingInfo etc. I just 
cannot obtain the implementor class, which is needed for me, because I want to 
find out what annotations are placed on the methods that implements the methods 
of the interface.

So, is there a way to get the class that implements a given WebService 
annotated interface in runtime?

I use CXF 2.3.0.

Thanks for any help!

András

Reply via email to