String opOutputName = output.getName();
protected void printOutput(Output output, Definition def, PrintWriter pw) throws WSDLException { if (output != null) { String tagName = DOMUtils.getQualifiedValue(Constants.NS_URI_WSDL, Constants.ELEM_OUTPUT, def); pw.print(" <" + tagName); DOMUtils.printAttribute(Constants.ATTR_NAME, output.getName(), pw); Message message = output.getMessage(); if (message != null) { DOMUtils.printQualifiedAttribute(Constants.ATTR_MESSAGE, message.getQName(), def, pw); } printExtensibilityAttributes(Output.class, output, def, pw); pw.println('>'); printDocumentation(output.getDocumentationElement(), def, pw); List extElements = output.getExtensibilityElements(); printExtensibilityElements(Output.class, extElements, def, pw); pw.println(" </" + tagName + '>'); } }
protected void configureBindingOutput(BindingOutput bindingOutput, Output output) throws WSDLException { bindingOutput.setName(output.getName()); }
/** * Called after the {@link BindingOutput} has been created. Subclasses can override this method to define the name, * or add extensions to it. * <p/> * Default implementation sets the name of the binding output to the name of the output. * * @param definition the WSDL4J <code>Definition</code> * @param bindingOutput the WSDL4J <code>BindingOutput</code> * @param output the corresponding WSDL4J <code>Output</code> @throws WSDLException in case of errors */ protected void populateBindingOutput(Definition definition, BindingOutput bindingOutput, Output output) throws WSDLException { bindingOutput.setName(output.getName()); }
/** * Called after the {@link BindingOutput} has been created. Subclasses can override this method to define the name, * or add extensions to it. * * <p>Default implementation sets the name of the binding output to the name of the output. * * @param definition the WSDL4J {@code Definition} * @param bindingOutput the WSDL4J {@code BindingOutput} * @param output the corresponding WSDL4J {@code Output} @throws WSDLException in case of errors */ protected void populateBindingOutput(Definition definition, BindingOutput bindingOutput, Output output) throws WSDLException { bindingOutput.setName(output.getName()); }
protected void visit(Output output) { Map outputParts = output.getMessage().getParts(); if (outputParts.size() != 0 && outputParts.size() != 1) { context.addFailure(new ValidationFailure("The output message must contain zero or one parts: " + output.getName())); } }
protected void visit(final Output output) { final Map outputParts = output.getMessage().getParts(); if (outputParts.size() != 0 && outputParts.size() != 1) { context.addFailure(new ValidationFailure("The output message must contain zero or one parts: " + output.getName())); } }
protected void visit(Output output) { Map outputParts = output.getMessage().getParts(); if (outputParts.size() != 0 && outputParts.size() != 1) { context.addFailure(new ValidationFailure("The output message must contain zero or one parts: " + output.getName())); } }
protected void visit(Output output) { Map outputParts = output.getMessage().getParts(); if (outputParts.size() != 0 && outputParts.size() != 1) { context.addFailure(new ValidationFailure("The output message must contain zero or one parts: " + output.getName())); } }
private static BindingOutput getBindingOutput(Output output, Definition wsdlDefinition, ExtensionRegistry extReg) throws Exception { BindingOutput bo = wsdlDefinition.createBindingOutput(); bo.setName(output.getName()); bo.addExtensibilityElement(getSoapBody(BindingOutput.class, extReg)); return bo; }
private BindingOutput getBindingOutput(Output output, String operationName) throws ToolException { BindingOutput bo = wsdlDefinition.createBindingOutput(); bo.setName(output.getName()); bo.addExtensibilityElement(getXMLBody(BindingOutput.class, operationName)); return bo; }
private BindingOutput getBindingOutput(Output output) throws ToolException { BindingOutput bo = wsdlDefinition.createBindingOutput(); bo.setName(output.getName()); // As command line won't specify the details of body/header for message // parts // All output message's parts will be added into one soap body element bo.addExtensibilityElement(getSoapBody(BindingOutput.class)); return bo; }
private BindingOutput getBindingOutput(Output output) throws ToolException { BindingOutput bo = wsdlDefinition.createBindingOutput(); bo.setName(output.getName()); // As command line won't specify the details of body/header for message // parts // All output message's parts will be added into one soap body element bo.addExtensibilityElement(getSoapBody(BindingOutput.class)); return bo; }
private BindingOutput getBindingOutput(Output output) throws ToolException { BindingOutput bo = wsdlDefinition.createBindingOutput(); bo.setName(output.getName()); // As command line won't specify the details of body/header for message // parts // All output message's parts will be added into one soap body element bo.addExtensibilityElement(getSoapBody(BindingOutput.class)); return bo; }
private BindingOutput getBindingOutput(Output output, String operationName) throws ToolException { BindingOutput bo = wsdlDefinition.createBindingOutput(); bo.setName(output.getName()); bo.addExtensibilityElement(getXMLBody(BindingOutput.class, operationName)); return bo; }
private static BindingOutput getBindingOutput(Output output, Definition wsdlDefinition, ExtensionRegistry extReg) throws Exception { BindingOutput bo = wsdlDefinition.createBindingOutput(); bo.setName(output.getName()); bo.addExtensibilityElement(getSoapBody(BindingOutput.class, extReg)); return bo; }
private static BindingOutput getBindingOutput(Output output, Definition wsdlDefinition, ExtensionRegistry extReg) throws Exception { BindingOutput bo = wsdlDefinition.createBindingOutput(); bo.setName(output.getName()); bo.addExtensibilityElement(getSoapBody(BindingOutput.class, extReg)); return bo; }
private BindingOutput getBindingOutput(Output output, String operationName) throws ToolException { BindingOutput bo = wsdlDefinition.createBindingOutput(); bo.setName(output.getName()); bo.addExtensibilityElement(getXMLBody(BindingOutput.class, operationName)); return bo; }
public Selector(Resource aFile, Service aService, Port aPort, Operation aOperation, String aId) { file = aFile; service = aService.getQName(); port = aPort.getName(); operation = aOperation.getName(); String inputName = aOperation.getInput().getName(); input = (inputName != null) ? inputName : ":none"; String outputName = aOperation.getOutput().getName(); output = (outputName != null) ? outputName : ":none"; id = aId; } }