output.setName(name);
op.setName(name); input.setName(inputName); output.setName(outputName); op.setInput(input); op.setOutput(output);
/** * Called after the {@link javax.wsdl.Output} has been created, but it's added to the operation. Subclasses can * override this method to define the output name. * * <p>Default implementation sets the output name to the message name. * * @param definition the WSDL4J {@code Definition} * @param output the WSDL4J {@code Output} */ protected void populateOutput(Definition definition, Output output) { output.setName(output.getMessage().getQName().getLocalPart()); }
/** * Called after the {@link javax.wsdl.Output} has been created, but it's added to the operation. Subclasses can * override this method to define the output name. * * <p>Default implementation sets the output name to the message name. * * @param definition the WSDL4J {@code Definition} * @param output the WSDL4J {@code Output} */ protected void populateOutput(Definition definition, Output output) { output.setName(output.getMessage().getQName().getLocalPart()); }
/** * Called after the {@link javax.wsdl.Output} has been created, but it's added to the operation. Subclasses can * override this method to define the output name. * <p/> * Default implementation sets the output name to the message name. * * @param definition the WSDL4J <code>Definition</code> * @param output the WSDL4J <code>Output</code> */ protected void populateOutput(Definition definition, Output output) { output.setName(output.getMessage().getQName().getLocalPart()); }
/** * Called after the {@link javax.wsdl.Output} has been created, but it's added to the operation. Subclasses can * override this method to define the output name. * * <p>Default implementation sets the output name to the message name. * * @param definition the WSDL4J {@code Definition} * @param output the WSDL4J {@code Output} */ protected void populateOutput(Definition definition, Output output) { output.setName(output.getMessage().getQName().getLocalPart()); }
private void addOutputToMessage(Operation operation, Message msg, String outputName) { Output output = definition.createOutput(); output.setMessage(msg); output.setName(outputName); operation.setOutput(output); } }
public javax.wsdl.Operation createOperation(OperationInfo op, Message req, Message res, List faultMessages) { Definition def = getDefinition(); javax.wsdl.Operation wsdlOp = def.createOperation(); Input input = def.createInput(); input.setMessage(req); input.setName(req.getQName().getLocalPart()); wsdlOp.setInput(input); if (res != null) { Output output = def.createOutput(); output.setMessage(res); output.setName(res.getQName().getLocalPart()); wsdlOp.setOutput(output); } for (Iterator itr = faultMessages.iterator(); itr.hasNext();) { wsdlOp.addFault((Fault) itr.next()); } wsdlOp.setName(op.getName()); return wsdlOp; }
private Operation generateOperation(String name, Message inputMsg, Message outputMsg) { Input input = definition.createInput(); input.setName(inputMsg.getQName().getLocalPart()); input.setMessage(inputMsg); Output output = definition.createOutput(); output.setName(outputMsg.getQName().getLocalPart()); output.setMessage(outputMsg); Operation result = definition.createOperation(); result.setName(name); result.setInput(input); result.setOutput(output); result.setUndefined(false); portType.addOperation(result); return result; }
if (out != null) { if (out.getName() == null) { out.setName(opName + "Response");
output.setName(name); bindingOper.getBindingOutput().setName(name); oper.setOutput(output);
public Message generateOutputMessage(Operation operation, BindingOperation bindingOperation) { Message msg = definition.createMessage(); QName msgName; if (!mapper.isDefaultMapping()) { //mangle the message name //REVISIT, do we put in the entire scope for mangling msgName = new QName(definition.getTargetNamespace(), getScope().tail() + "." + operation.getName() + RESPONSE_SUFFIX); } else { msgName = new QName(definition.getTargetNamespace(), operation.getName() + RESPONSE_SUFFIX); } msg.setQName(msgName); msg.setUndefined(false); String outputName = operation.getName() + RESPONSE_SUFFIX; Output output = definition.createOutput(); output.setName(outputName); output.setMessage(msg); BindingOutput bindingOutput = definition.createBindingOutput(); bindingOutput.setName(outputName); bindingOperation.setBindingOutput(bindingOutput); operation.setOutput(output); definition.addMessage(msg); return msg; }
output.setName(name); bindingOper.getBindingOutput().setName(name); oper.setOutput(output);
output.setName(name);
flatOutput.setName(defOper.getOutput().getName()); if (defOper.getOutput().getMessage() != null) { Message flatOutputMsg = copyMessage(defOper.getOutput().getMessage(), flat);
output.setName(name);
output.setName(name);
Output output = def.createOutput(); addDocumentation(output, operationInfo.getOutput().getDocumentation()); output.setName(operationInfo.getOutputName()); message = def.createMessage(); buildMessage(message, operationInfo.getOutput(), def);
Output output = def.createOutput(); addDocumentation(output, operationInfo.getOutput().getDocumentation()); output.setName(operationInfo.getOutputName()); message = def.createMessage(); buildMessage(message, operationInfo.getOutput(), def);
Output output = def.createOutput(); addDocumentation(output, operationInfo.getOutput().getDocumentation()); output.setName(operationInfo.getOutputName()); message = def.createMessage(); buildMessage(message, operationInfo.getOutput(), def);