Hey Jason, Thanks for the response. What I'm actually hoping to do is host two difference services, one RESTful, one SOAP, and have them bound to the same port. For instance, I'd like to expose a RESTful - MyRestfulService - and a SOAP webapp - MySoapService, on localhost:8080. The example you demonstrated shows a service as RESTful and SOAP simultaneously. It is a good idea, but not quite what I'm looking for.
On Tue, Nov 19, 2013 at 6: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 > > > -- -dan
