java.util.Map<String, Object> config = new java.util.TreeMap<String, Object>();
config.put(WSHandlerConstants.SIG_VER_PROP_FILE, "wss40.properties");
reqData.setMsgContext(config);
CustomHandler handler = new CustomHandler();
List<Integer> receivedActions = new ArrayList<Integer>();
receivedActions.add(WSConstants.SIGN);
receivedActions.add(WSConstants.TS);
handler.receive(receivedActions, reqData);
WSSecurityEngine securityEngine = new WSSecurityEngine();
return securityEngine.processSecurityHeader(doc, "", reqData);
}