What version of CXF are you using?

Timothy Waxland wrote:
> 
> hi
> 
> i'm trying to use the disableCNCheck flag and i'm not convinced its
> being applied correctly or perhaps at all. when using a self-signed
> cert the request fails to hit the web service host and returns no
> fault code or similar - it actually throws a null pointer exception
> when generating the soap fault as qname for the fault is null.
> 
> i'm wiring cxf with spring. i have cxf.xml in the WEB-INF/classes dir
> with the following:
> 
> <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";
>         xsi:schemaLocation="http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
> 
> http://cxf.apache.org/transports/http/configuration
> http://cxf.apache.org/schemas/configuration/http-conf.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"/>
> 
>     <http:conduit name="*.http-conduit">
>         <http:tlsClientParameters disableCNCheck="true"
>                                   secureSocketProtocol="SSL">
>         </http:tlsClientParameters>
>     </http:conduit>
> 
> </beans>
> 
> can anyone shed some light on the above? is the above correct to
> enforce the disableCNCheck flag? is the locaiton of cxf.xml correct?
> 
> suggestions appreciated.
> 
> thanks
> Tim
> 
> 

-- 
View this message in context: 
http://old.nabble.com/use-of-disableCNCheck-tp28891682p28892130.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to