Output output = op.getOutput(); if ( output != null ) { Message out = output.getMessage();
Output output = op.getOutput();
Output tempOut = op.getOutput();
public List<Part> getOutMessageParts(Operation operation) { Output output = operation.getOutput(); List<Part> partsList = new ArrayList<Part>(); if (output != null && output.getMessage() != null) { Iterator ite = output.getMessage().getParts().values().iterator(); while (ite.hasNext()) { partsList.add((Part)ite.next()); } } return partsList; }
private static List<Part> getOutputParts(final Operation operation) { final Output output = operation.getOutput(); if (output != null) { return AxisWSImpl.getMessageParts(output.getMessage()); } return new ArrayList<Part>(); }
public List<Part> getOutMessageParts(Operation operation) { Output output = operation.getOutput(); List<Part> partsList = new ArrayList<>(); if (output != null && output.getMessage() != null) { Collection<Part> parts = CastUtils.cast(output.getMessage().getParts().values()); for (Part p : parts) { partsList.add(p); } } return partsList; }
public List<Part> getOutMessageParts(Operation operation) { Output output = operation.getOutput(); List<Part> partsList = new ArrayList<Part>(); if (output != null && output.getMessage() != null) { Collection<Part> parts = CastUtils.cast(output.getMessage().getParts().values()); for (Part p : parts) { partsList.add(p); } } return partsList; }
public List<Part> getOutMessageParts(Operation operation) { Output output = operation.getOutput(); List<Part> partsList = new ArrayList<Part>(); if (output != null && output.getMessage() != null) { Collection<Part> parts = CastUtils.cast(output.getMessage().getParts().values()); for (Part p : parts) { partsList.add(p); } } return partsList; }
public LightweightOperationInfoBuilder(final BindingOperation bindingOperation, final Method method) throws OpenEJBException { if (bindingOperation == null) { throw new OpenEJBException("No BindingOperation supplied for method " + method.getName()); } final Operation operation = bindingOperation.getOperation(); this.operationName = operation.getName(); this.inputMessage = operation.getInput().getMessage(); this.outputMessage = operation.getOutput() == null ? null : operation.getOutput().getMessage(); this.method = method; }
private boolean isRequestResponse(Operation operation) { if (operation.getStyle() == null) { return operation.getOutput() != null; } return OperationType.REQUEST_RESPONSE.equals(operation.getStyle()); }
private void createBindingOutput(Definition definition, Operation operation, BindingOperation bindingOperation) throws WSDLException { BindingOutput bindingOutput = definition.createBindingOutput(); populateBindingOutput(definition, bindingOutput, operation.getOutput()); bindingOperation.setBindingOutput(bindingOutput); }
private void createBindingOutput(Definition definition, Operation operation, BindingOperation bindingOperation) throws WSDLException { BindingOutput bindingOutput = definition.createBindingOutput(); populateBindingOutput(definition, bindingOutput, operation.getOutput()); bindingOperation.setBindingOutput(bindingOutput); }
private void createBindingOutput(Definition definition, Operation operation, BindingOperation bindingOperation) throws WSDLException { BindingOutput bindingOutput = definition.createBindingOutput(); populateBindingOutput(definition, bindingOutput, operation.getOutput()); bindingOperation.setBindingOutput(bindingOutput); }
public Map getParts(Operation operation, boolean out) { Message message = null; if (out) { Output output = operation.getOutput(); message = output.getMessage(); } else { Input input = operation.getInput(); message = input.getMessage(); } return message.getParts() == null ? new HashMap() : message.getParts(); }
public Map getParts(Operation operation, boolean out) { Message message = null; if (out) { Output output = operation.getOutput(); message = output.getMessage(); } else { Input input = operation.getInput(); message = input.getMessage(); } return message.getParts() == null ? new HashMap() : message.getParts(); }
private boolean checkR2209(final Operation operation, final BindingOperation bop) { if ((bop.getBindingInput() == null && operation.getInput() != null) || (bop.getBindingOutput() == null && operation.getOutput() != null)) { addErrorMessage(getErrorPrefix("WSI-BP-1.0 R2209") + "Unbound PortType elements in Operation '" + operation.getName() + "'"); return false; } return true; }
private void setMexRole(MyRoleMessageExchangeImpl mex) { Operation operation = getMyRoleOperation(mex.getOperationName()); mex.getDAO().setPartnerLinkModelId(_plinkDef.getId()); mex.setPortOp(_plinkDef.myRolePortType, operation); mex.setPattern(operation.getOutput() == null ? MessageExchange.MessageExchangePattern.REQUEST_ONLY : MessageExchange.MessageExchangePattern.REQUEST_RESPONSE); }