Hello there,

I am trying to build an Java-First Web Service with WS-Security (UsernameToken 
+ Password).
I have found the CXF sample ws_security/ut and I wanted to use this example to 
extend my own Web Service.
I have build the Client with the WSS4Jin- and OutInterceptor and so on, but it 
isn't working.
I have got this exception Exception in thread "main" 
javax.xml.ws.soap.SOAPFaultException: MustUnderstand headers: 
[{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security]
 are not understood.
I can't find out what I need to do. I have included the 
cxf-rt-ws-security-dependency in the pom.xml and I have imported the library.
Could you please help me?

Thanks in advance.

Regards
Stephanie


Reply via email to