Hi, I am using multiple interceptor in the following way
Map<String,Object> inProps1= new HashMap<String,Object>(); inProps1.put(WSHandlerConstants.ACTION,WSHandlerConstants.USERNAME_TOKEN ); inProps1.put(WSHandlerConstants.PASSWORD_TYPE, WSConstants.PASSWORD_DIGEST); inProps1.put(WSHandlerConstants.PW_CALLBACK_CLASS, ServerPasswordCallback.class.getName()); Map<String,Object> inProps2= new HashMap<String,Object>(); inProps2.put(WSHandlerConstants.ACTION,WSHandlerConstants.ENCRYPT); inProps2.put(WSHandlerConstants.PW_CALLBACK_CLASS, ServerPasswordCallback.class.getName()); inProps2.put(WSHandlerConstants.DEC_PROP_FILE, "Server_Decrypt.properties"); WSS4JInInterceptor wssIn1 = new WSS4JInInterceptor(inProps1); cxfEndpoint.getInInterceptors().add(wssIn1); WSS4JInInterceptor wssIn2 = new WSS4JInInterceptor(inProps2); cxfEndpoint.getInInterceptors().add(wssIn2); So in the case only the first added intercpetor is effective, rest of the interceptors are not effective. Thanks -- View this message in context: http://cxf.547215.n5.nabble.com/Problem-with-WSS4J-and-CXF-tp3331500p3334479.html Sent from the cxf-user mailing list archive at Nabble.com.