Thank you coheigea...

Now it works. I changed my client configuration in this way:

final Map<String, Object> outProps = new HashMap<String, Object>();
                outProps.put("action", "UsernameToken");
                outProps.put("passwordType", "PasswordText");
                outProps.put("user", "joe");
                outProps.put("passwordCallbackClass",
"org.cnriia.soapgen.UTPasswordCallback");

                client.getOutInterceptors().add(new 
WSS4JOutInterceptor(outProps));


And it works.

I think that, any way, this API need some re-engineering with concerning
ws-security.

Thank you for your help.





--
View this message in context: 
http://cxf.547215.n5.nabble.com/Ws-Security-client-newbie-tp5756790p5759207.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to