Hi Phil, On 3/15/07, Phil Wilson <[EMAIL PROTECTED]> wrote:
Hi Dan, Sorry, I phrased my question badly. I don't know if this one will be much better ;) I'm unclear on a couple of points: * whether using CXFServlet means I can embed in a separate container rather than the bundled Jetty (I think yes)
Yes, definitely! * how the REST endpoints get configured i.e. where things like
.setWrapped(false) and configuring the JSON namespace mapping happen if the endpoints are being exposed directly via the implementing class using either XML or using Endpoint.create()
Re: wrapping - did you see the documentation I wrote at the bottom of the document here - http://cwiki.apache.org/CXF20DOC/http-binding.html ? Can you rephrase your second question? I don't understand what you're asking. :-\ I know how to authenticate URL resources using normal Jetty. I just don't
quite understand how to publish my REST services inside a servlet. I have read http://cwiki.apache.org/CXF20DOC/servlet-transport.html and looked at the samples, but they didn't really clear anything up for me. All of the servlet examples appear to be SOAP-based services and non-portable to REST-based services as far as I can see.
We have one servlet for both SOAP & REST based services. I just checked in an example to SVN which shows how use CXF with the servlet, maybe that will help? http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/spring_http/ I don't think we have published a new snapshot yet with it in it, but I will see if I can get one pushed out myself in the next 24 hours. (sorry for the lag btw) - Dan -- Dan Diephouse Envoi Solutions http://envoisolutions.com | http://netzooid.com/blog
