You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "avinash.deshmukh" <d....@gmail.com> on 2012/09/04 14:17:50 UTC
Re: Unable to locate Spring NamesapceHandler for element
'jaxws:endpoint' of schema namespace 'http://cxf.apache.org/jaxws'
Hi Daniel,
I think you are getting this message after a long time period.
Here I am getting error message as
"Unable to locate Spring NamespaceHandler for XML schema namespace
[http://cxf.apache.org/jaxws]"
while running the application through eclipse IDE, however, when I run the
same application through tomcat server there are no issues.
Below is my Maven configuration:
Dependencies of Spring:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>2.5.6</version>
</dependency>
<dependency>
<groupId>org.springframework.ws</groupId>
<artifactId>spring-oxm-tiger</artifactId>
<version>1.5.8</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>2.5.6</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>2.5.6</version>
</dependency>
Dependencies of Apache CXF -
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>2.6.0</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>2.6.0</version>
</dependency>
And my spring configuration is :
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:configuration="http://cxf.apache.org/transports/http/configuration"
xmlns:core="http://cxf.apache.org/core"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xmlns:simple="http://cxf.apache.org/simple"
xmlns:soap="http://cxf.apache.org/bindings/soap"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://cxf.apache.org/transports/http/configuration
http://cxf.apache.org/schemas/wsdl/http-conf.xsd
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
http://cxf.apache.org/simple http://cxf.apache.org/schemas/simple.xsd
http://cxf.apache.org/bindings/soap
http://cxf.apache.org/schemas/configuration/soap.xsd">
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
......
......
</beans>
Do I need to do any additional configuration in IDE or is there any Jar file
missing?
Thanks in advance.....
Avinash Deshmukh
--
View this message in context: http://cxf.547215.n5.nabble.com/Unable-to-locate-Spring-NamesapceHandler-for-element-jaxws-endpoint-of-schema-namespace-http-cxf-apa-tp558987p5713534.html
Sent from the cxf-user mailing list archive at Nabble.com.