I tried the workaround as you suggested. Here is what I have in my bean:

<beans xmlns="http://www.springframework.org/schema/beans";
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
      xmlns:sec="http://cxf.apache.org/configuration/security";
      xmlns:http="http://cxf.apache.org/transports/http/configuration";
      xsi:schemaLocation="
          http://cxf.apache.org/configuration/security
          http://cxf.apache.org/schemas/configuration/security.xsd
          http://cxf.apache.org/transports/http/configuration
          http://cxf.apache.org/schemas/configuration/http-conf.xsd
          http://www.springframework.org/schema/beans
          http://www.springframework.org/schema/beans/spring-beans.xsd";>

   <http:conduit name="*.http-conduit">
       <http:authorization>
           <sec:UserName>user</sec:UserName>
           <sec:Password>password</sec:Password>
       </http:authorization>
   </http:conduit>
</beans>

But it makes no difference. Still getting 401. I see in the log file that
the bean is being read. Just the content is being ignored.

Branko

-- 
View this message in context: 
http://www.nabble.com/Accessing-WebService-that-requires-username-password-tp15863184p15885408.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to