Daniel, I got quite a few Restful services and WS live in the same maven
module. Some of them share the same common request and response objects and
exception classes.
I dont think you need to do anything special to make they work.

Cheers,


On Wed, Nov 20, 2013 at 2:12 PM, Aaron Titus <[email protected]> wrote:

> I'm not sure if I understand 100% what you are trying to do, but it sounds
> like this:
>
> http://cxf.apache.org/docs/jax-rs-and-jax-ws.html
>
> Does that page answer the question?
>
>
>
>
> On Tue, Nov 19, 2013 at 6:39 PM, daniel williams
> <[email protected]>wrote:
>
> > Hi,
> >
> > I'd like to host several services under the same Apache CXF Server.  I'd
> > like to host a few JAX-WS and JAX-RS services.  Is this possible?  I'll
> > also need to handle this programmatically.
> >
> > My thoughts were to create varying JaxWsServerFactoryBean for each JAX-WS
> > service to be exposed over a different path (same bind port), and then
> use
> > the JAX-RS analog.  However, looking at the Jax-Rs documentation, it says
> > that Apache CXF is dependent upon Jetty so I'm not sure that this
> approach
> > would work.
> >
> > Any suggestions and/or code samples would be very helpful.
> >
> > Thanks.
> >
> > Dan
> >
>

Reply via email to