That completely looks correct.   I assume the appropriate 
cxf-rt-frontend-jaxws jar is on the classpath, right?

Dan


On Tuesday 12 February 2008, ramanand bulusu wrote:
> Hi ,
>
> I  am  getting the following exception  while deploying the
> apllication. i dint understand the root cause for this one. please see
> the exception below.
>
> [2008-02-13 01:09:48,573] ERROR
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/mboxse
>rvice]
>
> Exception sending context initialized event to listener instance of
> class com.vms.mboxservice.listener.ContextListener
> org.springframework.beans.factory.parsing.BeanDefinitionParsingExcepti
>on: Configuration problem: Unable to locate Spring
> NamespaceHandler for XML schema namespace
> [http://cxf.apache.org/jaxws] Offending resource: class path resource
> [app-context.xml]
>  at
> org.springframework.beans.factory.parsing.FailFastProblemReporter.erro
>r( FailFastProblemReporter.java:68)
>
> I thought that , it was coming due to the inappropriate
> cxf-rt-frontend-jaxws jar file, and i tried
> with the 2.0.2 -2.0.3 versions, but there is no use.please give me ur
> ideas on this.
>
> i configured  my spring file like  following manner.
>
> <beans xmlns="http://www.springframework.org/schema/beans";
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>     xmlns:jaxws="http://cxf.apache.org/jaxws";
>    
> xmlns:http-conf="http://cxf.apache.org/transports/http/configuration";
> xsi:schemaLocation="http://www.springframework.org/schema/beans
>
> http://www.springframework.org/schema/beans/spring-beans.xsd
>                         http://cxf.apache.org/jaxws
>                         http://cxf.apache.org/schemas/jaxws.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" />
>
>
> Thanks,



-- 
J. Daniel Kulp
Principal Engineer, IONA
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to