When I get back to office I will hunt up the code I played with a ci to my
git hub. Would definitely be able to host both a jaxws and jaxrs on same
port just a different  virtual location.


Sent from my Android phone
On 20/11/2013 2:48 PM, "daniel williams" <daniel.willi...@gmail.com> wrote:

> Jason,
>
> Would you have an example of how to make this work?
>
>
> On Tue, Nov 19, 2013 at 8:35 PM, Jason Wang <jason.lei.w...@gmail.com
> >wrote:
>
> > 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 <ati...@fwdco.com> 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
> > > <daniel.willi...@gmail.com>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
> > > >
> > >
> >
>
>
>
> --
> -dan
>

Reply via email to