/** * @param operation * @return true if operation has valid body parts */ protected boolean validateBodyParts(BindingOperation operation) { boolean isRequestResponse = info.portTypeOperation.getStyle() == OperationStyle.REQUEST_RESPONSE; List<MessagePart> inputParts = getMessageParts(getSOAPRequestBody(), getInputMessage(), true); if (!validateStyleAndPart(operation, inputParts)) { return false; } if(isRequestResponse){ List<MessagePart> outputParts = getMessageParts(getSOAPResponseBody(), getOutputMessage(), false); if (!validateStyleAndPart(operation, outputParts)) { return false; } } return true; }
/** * @param operation * @return true if operation has valid body parts */ protected boolean validateBodyParts(BindingOperation operation) { boolean isRequestResponse = info.portTypeOperation.getStyle() == OperationStyle.REQUEST_RESPONSE; List<MessagePart> inputParts = getMessageParts(getSOAPRequestBody(), getInputMessage(), true); if (!validateStyleAndPart(operation, inputParts)) { return false; } if(isRequestResponse){ List<MessagePart> outputParts = getMessageParts(getSOAPResponseBody(), getOutputMessage(), false); if (!validateStyleAndPart(operation, outputParts)) { return false; } } return true; }
/** * @param operation * @return true if operation has valid body parts */ protected boolean validateBodyParts(BindingOperation operation) { boolean isRequestResponse = info.portTypeOperation.getStyle() == OperationStyle.REQUEST_RESPONSE; List<MessagePart> inputParts = getMessageParts(getSOAPRequestBody(), getInputMessage(), true); if (!validateStyleAndPart(operation, inputParts)) { return false; } if(isRequestResponse){ List<MessagePart> outputParts = getMessageParts(getSOAPResponseBody(), getOutputMessage(), false); if (!validateStyleAndPart(operation, outputParts)) { return false; } } return true; }
/** * @param operation * @return true if operation has valid body parts */ protected boolean validateBodyParts(BindingOperation operation) { boolean isRequestResponse = info.portTypeOperation.getStyle() == OperationStyle.REQUEST_RESPONSE; List<MessagePart> inputParts = getMessageParts(getSOAPRequestBody(), getInputMessage(), true); if (!validateStyleAndPart(operation, inputParts)) { return false; } if(isRequestResponse){ List<MessagePart> outputParts = getMessageParts(getSOAPResponseBody(), getOutputMessage(), false); if (!validateStyleAndPart(operation, outputParts)) { return false; } } return true; }