Hi,
XML is fine, for some reasons Spring can not locate a handler, perhaps because a 'file' URL scheme is used ? Not sure...
Cheers, Sergey
On 23/07/15 06:38, James Y. Li wrote:
Hi All,
I am using an old cxf version of 2.3.3. I got the following error when
trying to load cxf.xml:

org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Unable to locate Spring NamespaceHandler for XML
schema namespace [http://cxf.apache.org/transports/http/configuration]
Offending resource: URL [file:////opt/cxf.xml]

$ cat /opt/cxf.xml

<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xmlns:http="http://cxf.apache.org/transports/http/configuration";
        xmlns:jaxws="http://cxf.apache.org/jaxws";
        xmlns:cxf="http://cxf.apache.org/core";
        xmlns:sec="http://cxf.apache.org/configuration/security";
        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
           http://cxf.apache.org/transports/http/configuration
http://cxf.apache.org/schemas/configuration/http-conf.xsd
           http://cxf.apache.org/configuration/security
http://cxf.apache.org/schemas/configuration/security.xsd
           http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
">

   <http:conduit name="*.http-conduit">
     <http:tlsClientParameters>
       <sec:cipherSuitesFilter>
         <sec:exclude>.*_DH_.*</sec:exclude>
       </sec:cipherSuitesFilter>
     </http:tlsClientParameters>

   </http:conduit>
</beans>

Anything wrong with the xml? Please advise.

Thanks!



--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to