Hi 

I am having trouble calling an NTLM protected service from my route. When my
route sends data to endpoint rsClient below it looks as if the conduit
config is not applied. I see the following in the logs:

20150401 10:21:18,929 EDT DEBUG http.HTTPConduit [Camel (camel) thread #0 -
JmsConsumer[OUTBOUND]] *No Trust Decider configured* for Conduit
'{http://myserviceurl:20010/myservice}WebClient.http-conduit'
20150401 10:21:18,929 EDT DEBUG http.HTTPConduit [Camel (camel) thread #0 -
JmsConsumer[OUTBOUND]] *No Auth Supplier configured* for Conduit
'{http://myserviceurl:20010/myservice}WebClient.http-conduit'


<beans xmlns="http://www.springframework.org/schema/beans";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:cxf="http://camel.apache.org/schema/cxf";
        xmlns:context="http://www.springframework.org/schema/context";
        xmlns:http="http://cxf.apache.org/transports/http/configuration";
        xmlns:sec="http://cxf.apache.org/configuration/security";
        xsi:schemaLocation="
        http://www.springframework.org/schema/beans 
        http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
        http://camel.apache.org/schema/cxf 
        http://camel.apache.org/schema/cxf/camel-cxf.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:conduit name="*.http-conduit">
        <http:client
                AllowChunking="false"
                MaxRetransmits="11"
                Connection="Keep-Alive"
                ReceiveTimeout="60000"
                CacheControl="No-Cache"
                />

        <http:authorization>
            <sec:UserName>DomainName\\${user.username}</sec:UserName>
            <sec:Password>${user.password}</sec:Password>
            <sec:Authorization>NTLM</sec:Authorization>
        </http:authorization>

    </http:conduit>     
        
        
        <cxf:rsClient id="rsClient" address="${endpoint.url}"
                serviceClass="com.myresouce.Resource"
                loggingFeatureEnabled="true" />
        
</beans>



--
View this message in context: 
http://camel.465427.n5.nabble.com/Calling-NTLM-protected-service-from-camel-cxf-component-tp5765161.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to