Hi Robert,
Is there any existing JAX-WS sample which does this ? I have gone
through the samples in jaxws-ri 2.1, but i see that everywhere there
is the java @WebService annotated class. I know that for sure i can
use handlers and dispatchers (as with axis2) , but i am still supposed
to have some java class annotated with @WebService somewhere, and i
would like to completely avoid this. I would like to have generic code
which manages a set of services. Thanks very much for the feedback.
Regards,
Angel
On 3/22/07, Robert Dale <robdale_at_gmail.com> wrote:
> Take a look at Dispatch or HandlerChain
>
> On 3/22/07, Angel Todorov <attodorov_at_gmail.com> wrote:
> > Hi,
> >
> > I would like to ask whether in JAX-WS, I always have to have one to
> > one mapping between a service and a java implementation class,
> > annotated with @WebService . Is it possilble to have a generic java
> > class which , based on a service name, and the operation name, (and
> > maybe some namespace), dispatches requests to some internal business
> > logic ?
> >
> > For example, using Axis2 i don't need to have a service implementation
> > class. I can decide to which backend to dispatch (having transformed
> > it) the request using the MessageReceiver concept.
> >
> > Thanks very much for your feedback.
> >
> > Regards,
> > Angel
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
> > For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
> >
> >
>
>
> --
> Robert Dale
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: users-help_at_jax-ws.dev.java.net
>
>