private String getWSAAction(MessageInfo input) { if (input.getExtensionAttributes() != null) { for (Map.Entry<QName, Object> ent : input.getExtensionAttributes().entrySet()) { if ("Action".equals(ent.getKey().getLocalPart())) { return ent.getValue().toString(); } } } return null; } }
private Map<QName, Object> getInputExtensionAttributes(OperationInfo operation) { return getOperationInfo(operation).getInput().getExtensionAttributes(); }
private Map<QName, Object> getOutputExtensionAttributes(OperationInfo operation) { return getOperationInfo(operation).getOutput().getExtensionAttributes(); }
private Map<QName, Object> getInputExtensionAttributes(OperationInfo operation) { return getOperationInfo(operation).getInput().getExtensionAttributes(); }
private Map<QName, Object> getOutputExtensionAttributes(OperationInfo operation) { return getOperationInfo(operation).getOutput().getExtensionAttributes(); }
private Map<QName, Object> getOutputExtensionAttributes(OperationInfo operation) { return getOperationInfo(operation).getOutput().getExtensionAttributes(); }
private Map<QName, Object> getInputExtensionAttributes(OperationInfo operation) { return getOperationInfo(operation).getInput().getExtensionAttributes(); }
private String getActionFromOutputMessage(final OperationInfo operation) { MessageInfo outputMessage = operation.getOutput(); if (outputMessage != null && outputMessage.getExtensionAttributes() != null) { String outputAction = InternalContextUtils.getAction(outputMessage); if (!StringUtils.isEmpty(outputAction)) { return outputAction; } } return null; }
private String getActionFromInputMessage(final OperationInfo operation) { MessageInfo inputMessage = operation.getInput(); if (inputMessage.getExtensionAttributes() != null) { String inputAction = InternalContextUtils.getAction(inputMessage); if (!StringUtils.isEmpty(inputAction)) { return inputAction; } } return null; }
private String getActionFromOutputMessage(final OperationInfo operation) { MessageInfo outputMessage = operation.getOutput(); if (outputMessage != null && outputMessage.getExtensionAttributes() != null) { String outputAction = InternalContextUtils.getAction(outputMessage); if (!StringUtils.isEmpty(outputAction)) { return outputAction; } } return null; }
private String getActionFromInputMessage(final OperationInfo operation) { MessageInfo inputMessage = operation.getInput(); if (inputMessage.getExtensionAttributes() != null) { String inputAction = InternalContextUtils.getAction(inputMessage); if (!StringUtils.isEmpty(inputAction)) { return inputAction; } } return null; }
/** * Get action from attributes on MessageInfo * * @param bindingOpInfo the current BindingOperationInfo * @param msgInfo the current MessageInfo * @return the action if set */ private static String getActionFromMessageAttributes(MessageInfo msgInfo) { String action = null; if (msgInfo != null && msgInfo.getExtensionAttributes() != null) { String attr = getAction(msgInfo); if (!StringUtils.isEmpty(attr)) { action = attr; msgInfo.setProperty(ContextUtils.ACTION, action); } } return action; }
/** * Get action from attributes on MessageInfo * * @param bindingOpInfo the current BindingOperationInfo * @param msgInfo the current MessageInfo * @return the action if set */ private static String getActionFromMessageAttributes(MessageInfo msgInfo) { String action = null; if (msgInfo != null && msgInfo.getExtensionAttributes() != null) { String attr = getAction(msgInfo); if (!StringUtils.isEmpty(attr)) { action = attr; msgInfo.setProperty(ContextUtils.ACTION, action); } } return action; }
if (inputMessage.getExtensionAttributes() != null) { String inputAction = getAction(inputMessage); if (inputAction != null) { if (outputMessage != null && outputMessage.getExtensionAttributes() != null) { String outputAction = getAction(outputMessage); if (outputAction != null) {