action = (String) msgContext.getProperty(WSHandlerConstants.ACTION);
}
if (action == null)
{
log.error("WSS4JInHandler: No action defined");
throw new XFireRuntimeException("WSS4JInHandler: No action defined");
}
int doAction = WSSecurityUtil.decodeAction(action, actions);
String actor = (String) getOption(WSHandlerConstants.ACTOR);
AbstractMessage sm = msgContext.getCurrentMessage();
Document doc = (Document) sm.getProperty(DOMInHandler.DOM_MESSAGE);
if (doc == null){
log.error("DOMInHandler must be enabled for WS-Security!");
throw new XFireRuntimeException("DOMInHandler must be enabled for WS-Security!");
}
/*
* Check if it's a response and if its a fault. Don't process
* faults.