On Mon, Oct 11, 2010 at 4:24 PM, jaybytez <[email protected]> wrote:
>
> If I build a SEI (FooService) that has all the JAX-WS service annotations on
> it and a SIB (FooServiceImpl) with no annotations on it, can I register them
> in the jaxws:endpoint as such?

Not very well. Many of the JAX-WS annotations are documented to be
effective ONLY on the implementation, NOT on the interface. There is
nothing to be done about this -- it's what the standard says. The best
I can suggest is to make a new class that extends your real
implementation and hang all the required annotations on it.

>
> <jaxws:endpoint
>        id="jaxws.ChannelManagerMessagingService"
>        implementor="com.foo.FooServiceImpl"
>        implementorClass="com.foo.FooService"
>        address="/foo"/>
>
> I don't want to put any JAX-WS references on the Implementation class.  I
> thought I had this working before.
>
> Thanks...jay
> --
> View this message in context: 
> http://cxf.547215.n5.nabble.com/implementor-and-implementorClass-tp3208080p3208080.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>

Reply via email to