You should have the following for jaxws in your application-context.xml:

<beans  xmlns:jaxws="http://cxf.apache.org/jaxws";  
        xsi:schemaLocation="http://cxf.apache.org/jaxws 
                                                          
http://cxf.apache.org/schemas/jaxws.xsd";>


I've eliminated all the other namespaces normally defined in the beans element. 
But, it seems to me your error message is complaining that it can't  find the 
xsd (schema) for jaxws namespace, which means you may have left out the 
location of said xsd file.

Ron Grimes


-----Original Message-----
From: klerisson [mailto:[email protected]] 
Sent: Tuesday, April 26, 2011 3:00 PM
To: [email protected]
Subject: CXF 2.3.4 with Spring 2.0.8

Sorry if that question had already been posted, but I did not find anything on 
this matter.

So, CXF version 2.3.4 is compatible with Spring 2.0.8?

Once we upgrade from CXF 2.2.6 to 2.3.4 we got a compilation failure telling us 
that the package javax.jws does not exist. We kludge the system including 
jsr181-api dependency, but during the deploy into WAS 6.1 it was not possible 
to initialize the context due the impossibility to locate jaxws schema 
according to the following log: 

ERROR [server.startup : 2] (ContextLoader.java:204) - Context initialization 
failed
org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Unable to locate Spring NamespaceHandler for XML schema 
namespace [http://cxf.apache.org/jaxws] Offending resource: class path resource 
[application-context.xml]

Does anybody succeed try to run CXF 2.3.4 with Spring 2.0.8?

Thanks in advance!

--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-2-3-4-with-Spring-2-0-8-tp4342051p4342051.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to