What I need to do is to derive something from the CXFServlet when it used with the simple client but I am not famliar with spring can someone point me to the class that read the cxf-servlet.xml file and publish endpoints ?
thanks a lot Guillaume On Jan 26, 2008 12:02 AM, Daniel Kulp <[EMAIL PROTECTED]> wrote: > > On Friday 18 January 2008, tog wrote: > > Me again ... > > > > Usually when I create a server I use jetty (pretty simple), I want to > > move to other container like tomcat. > > Using the CXFServlet (or the nonSpring servlet) how can I set my data > > binding to aegis ? > > ususally I do a > > sf.getServiceFactory().getServiceConfigurations().add(0, new > > GroovyConfiguration()); > > sf.getServiceFactory().setDataBinding(new AegisDatabinding()); > > > > Cheers > > Guillaume > > With the spring version, you would just use the normal Spring config to > acomplish the same thing. > http://cwiki.apache.org/confluence/display/CXF20DOC/Aegis+Databinding > > > For the Non spring version, the servlet is mostly a base class that you > would sublass to do whatever you need to do to register your endpoints. > It will setup the bus and stuff, but it doesn't really parse any > services descriptors or anything to get things published. That's up to > you. basically, just subclass and override the init or loadBus methods > (call the super version first) and then do whatever you need to do to > get your services running. (make sure you use the bus returned from > getBus() which would have the proper servlet transport) > > > -- > J. Daniel Kulp > Principal Engineer, IONA > [EMAIL PROTECTED] > http://www.dankulp.com/blog > -- Best Regards Guillaume http://cheztog.blogspot.com
