One further detail is that I found cxf-rt-bindings-soap-2.2.3.jar, the jar
that contains cxf-extension-soap.xml (see 9th line of output below) in the
output piped to a file via mvn dependencies:tree, so why doesn't it get
found at runtime? That jar is also in the war it looks like as well.
Here'
here's the error:
Offending resource: ServletContext resource [/WEB-INF/cxf-servlet.xml];
nested exception is
org.springframework.beans.factory.BeanDefinitionStoreException: IOException
parsing XML document from class path resource [cxf/cxf-extension-soap.xml];
nested exception is java.io.FileNot
I mus be doing something dumb, it all looks just like the docs. The import
statements you reference are in cxf-servlet.xml (which itself is in
web/src/main/webapp/WEB-INF), like this:
and my conxtConfigLocation from web.xml looks like:
contextConfigLocat
OK, the web container is complaing there's no "caf/cxf-extension-soap.xml", I
tracked this file "cxf-extension-soap.xml" to a jar called
cxf-rt-bindings-soap-2.2.3.jar which I guess isn't getting loaded and needs
to? I'm kind of surprised that the jaxws rt dependency here didn't include
it:
You should be able to import CXF files from the classpath:
>From http://cwiki.apache.org/CXF20DOC/writing-a-service-with-spring.html.
Matt
On Sun, Sep 27, 2009 at 1:21 PM, jackalista wrote:
>
> Got this a little further, you apparently must have the cxf.xml file. I
Got this a little further, you apparently must have the cxf.xml file. I
tried putting it in top-level-project-home/web/src/main/webapp/WEB-INF/cxf
and in web.xml but it couldn't find it so moved it to
web/src/main/resources/cxf and used this web.xml config and it seems to
work:
contextC