Message in = input.getMessage(); List<Object> paramOrdering = op.getParameterOrdering(); List<Part> inParts = in.getOrderedParts( paramOrdering );
protected void printInput(Input input, Definition def, PrintWriter pw) throws WSDLException { if (input != null) { String tagName = DOMUtils.getQualifiedValue(Constants.NS_URI_WSDL, Constants.ELEM_INPUT, def); pw.print(" <" + tagName); DOMUtils.printAttribute(Constants.ATTR_NAME, input.getName(), pw); Message message = input.getMessage(); if (message != null) { DOMUtils.printQualifiedAttribute(Constants.ATTR_MESSAGE, message.getQName(), def, pw); } printExtensibilityAttributes(Input.class, input, def, pw); pw.println('>'); printDocumentation(input.getDocumentationElement(), def, pw); List extElements = input.getExtensibilityElements(); printExtensibilityElements(Input.class, extElements, def, pw); pw.println(" </" + tagName + '>'); } }
public List<Part> getInMessageParts(Operation operation) { Input input = operation.getInput(); List<Part> partsList = new ArrayList<Part>(); if (input != null && input.getMessage() != null) { Iterator ite = input.getMessage().getParts().values().iterator(); while (ite.hasNext()) { partsList.add((Part)ite.next()); } } return partsList; }
private void processInput(JCasBuilder casBuilder, Input input) { if (input == null) { return; } processMessage(casBuilder, input.getMessage(), PREFIX_INPUT); }
public List<Part> getInMessageParts(Operation operation) { Input input = operation.getInput(); List<Part> partsList = new ArrayList<>(); if (input != null && input.getMessage() != null) { Collection<Part> parts = CastUtils.cast(input.getMessage().getParts().values()); for (Part p : parts) { partsList.add(p); } } return partsList; }
public List<Part> getInMessageParts(Operation operation) { Input input = operation.getInput(); List<Part> partsList = new ArrayList<Part>(); if (input != null) { Iterator ite = input.getMessage().getParts().values().iterator(); while (ite.hasNext()) { partsList.add((Part)ite.next()); } } return partsList; }
public List<Part> getInMessageParts(Operation operation) { Input input = operation.getInput(); List<Part> partsList = new ArrayList<Part>(); if (input != null && input.getMessage() != null) { Collection<Part> parts = CastUtils.cast(input.getMessage().getParts().values()); for (Part p : parts) { partsList.add(p); } } return partsList; }
public List<Part> getInMessageParts(Operation operation) { Input input = operation.getInput(); List<Part> partsList = new ArrayList<Part>(); if (input != null && input.getMessage() != null) { Collection<Part> parts = CastUtils.cast(input.getMessage().getParts().values()); for (Part p : parts) { partsList.add(p); } } return partsList; }
/** * Called after the {@link javax.wsdl.Input} has been created, but it's added to the operation. Subclasses can * override this method to define the input name. * <p/> * Default implementation sets the input name to the message name. * * @param definition the WSDL4J <code>Definition</code> * @param input the WSDL4J <code>Input</code> */ protected void populateInput(Definition definition, Input input) { input.setName(input.getMessage().getQName().getLocalPart()); }
/** * Called after the {@link javax.wsdl.Input} has been created, but it's added to the operation. Subclasses can * override this method to define the input name. * * <p>Default implementation sets the input name to the message name. * * @param definition the WSDL4J {@code Definition} * @param input the WSDL4J {@code Input} */ protected void populateInput(Definition definition, Input input) { input.setName(input.getMessage().getQName().getLocalPart()); }
/** * Called after the {@link javax.wsdl.Input} has been created, but it's added to the operation. Subclasses can * override this method to define the input name. * * <p>Default implementation sets the input name to the message name. * * @param definition the WSDL4J {@code Definition} * @param input the WSDL4J {@code Input} */ protected void populateInput(Definition definition, Input input) { input.setName(input.getMessage().getQName().getLocalPart()); }
/** * Called after the {@link javax.wsdl.Input} has been created, but it's added to the operation. Subclasses can * override this method to define the input name. * * <p>Default implementation sets the input name to the message name. * * @param definition the WSDL4J {@code Definition} * @param input the WSDL4J {@code Input} */ protected void populateInput(Definition definition, Input input) { input.setName(input.getMessage().getQName().getLocalPart()); }
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(); }
public QName getXmlType(String partName) { return srcBindingOperation.getOperation().getInput().getMessage().getPart(partName).getTypeName(); }
private Message getMessage(boolean isInput) { Operation operation = bindingOp.getOperation(); if (operation == null) { return null; } if (isInput) { final Input input = operation.getInput(); return input == null ? null : input.getMessage(); } final Output output = operation.getOutput(); return output == null ? null : output.getMessage(); } private SOAPBody getSOAPBody(boolean input) {
public boolean isMember(Operation o) { // Guard against WSDL4j funny business. if ((o.getInput() == null || o.getInput().getMessage() == null) && (o.getOutput() == null || o.getOutput().getMessage() == null)) { return false; } return o.getName().equals(operationName); } });
public boolean isMember(Operation o) { // Again, guard against WSDL4J's "help" if ((o.getInput() == null || o.getInput().getMessage() == null) && (o.getOutput() == null || o.getOutput().getMessage() == null)) return false; return o.getName().equals(operationName); } });
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 Message createInputMessageToODE( final BPELMessageContext bpelMessageContext, final MyRoleMessageExchange messageExchange) throws AxisFault { // Preparing message to send to ODE Message odeRequest = messageExchange.createMessage( messageExchange.getOperation().getInput().getMessage().getQName()); fillODEMessage(odeRequest, bpelMessageContext.getRequestMessage()); return odeRequest; }