Re: CXFServlet throws NullPointerException when using cxf.xml

2007-08-19 Thread Ray Krueger
I added the directly to my application-context.xml that worked perfectly. I was following the wiki too literally :P Thanks! On 8/18/07, Dan Diephouse <[EMAIL PROTECTED]> wrote: > If you're using the ContextLoaderListener, you need to import > /META-INF/cxf

Re: CXFServlet throws NullPointerException when using cxf.xml

2007-08-18 Thread Dan Diephouse
If you're using the ContextLoaderListener, you need to import /META-INF/cxf/cxf.xml at the very list. And soap, xml, servlet etc if you need them. The snippet you included looks correct. Just import those resources from your application-context.xml and declare your cxf beans there as well. Is that

Re: CXFServlet throws NullPointerException when using cxf.xml

2007-08-16 Thread Ray Krueger
Should I be loading cxf.xml myself then? Or should I move all the cxf resource imports into cxf.xml, and load my own beans in application-context.xml? (((Web .xml))) contextConfigLocation WEB-INF/application-context.xml org.springframework.web.c

Re: CXFServlet throws NullPointerException when using cxf.xml

2007-08-16 Thread Dan Diephouse
What does your servlet/web.xml config look like? If you're using it with Spring & the ContextLoaderListener, you need to import the cxf config files inside your cxf.xml: - Dan On 8/15/07, Ray Krueger <[EMAIL PROTECTED]> wrote: > > Does anyone have a clue why the > bus.getExt

Re: CXFServlet throws NullPointerException when using cxf.xml

2007-08-15 Thread Ray Krueger
Does anyone have a clue why the bus.getExtension(ResourceManager.class) would return null? The mere existence of a cxf.xml in my app causes the NPE I mentioned below. On 8/14/07, Ray Krueger <[EMAIL PROTECTED]> wrote: > If I add the following cxf.xml file (from he wiki) to my build I get a > Null

CXFServlet throws NullPointerException when using cxf.xml

2007-08-14 Thread Ray Krueger
If I add the following cxf.xml file (from he wiki) to my build I get a NullPointerException from the CxfServlet. It seems that the bus.getExtension(ResourceManager.class) is returning null. I am using cxf-2.0.1-incubator. ((cxf.xml)) http://www.springframework.org/schema/beans"; xmlns:xsi=