Possible to split one JAX-WS service across multiple source files?

Posted by Rob S. on Stack Overflow See other posts from Stack Overflow or by Rob S.
Published on 2010-02-05T23:53:30Z Indexed on 2010/05/16 2:00 UTC
Read the original article Hit count: 284

Filed under:
|

Hi everyone,

Is it possible to split a web service in to multiple classes and still provide a single path to the web service?

I know this isn't possible because of the duplicate url-pattern values. It sort of illustrates where we're wanting to go :)

<endpoint name="OneBigService"
          implementation="SmallImpl1"
          url-pattern="/OneBigService"/>

<endpoint name="OneBigService"
          implementation="SmallImpl2"
          url-pattern="/OneBigService"/>

Basically, how do avoid having one monolithic @WebService class?

Thanks!

Rob

© Stack Overflow or respective owner

Related posts about java

Related posts about jax-ws