protected void printBindingOutput(BindingOutput bindingOutput, Definition def, PrintWriter pw) throws WSDLException { if (bindingOutput != null) { String tagName = DOMUtils.getQualifiedValue(Constants.NS_URI_WSDL, Constants.ELEM_OUTPUT, def); pw.print(" <" + tagName); DOMUtils.printAttribute(Constants.ATTR_NAME, bindingOutput.getName(), pw); pw.println('>'); printDocumentation(bindingOutput.getDocumentationElement(), def, pw); List extElements = bindingOutput.getExtensibilityElements(); printExtensibilityElements(BindingOutput.class, extElements, def, pw); pw.println(" </" + tagName + '>'); } }
String opOutputName = output.getName();
protected void visit(BindingOutput bindingOutput) { SOAPBody body = getSOAPBody(bindingOutput.getExtensibilityElements()); String encoding = body.getUse(); if (encoding == null || !encoding.equals("encoded")) { context.addFailure(new ValidationFailure("The use attribute of the binding output operation must be 'encoded': " + bindingOutput.getName())); } }
protected void visit(BindingOutput bindingOutput) { SOAPBody body = getSOAPBody(bindingOutput.getExtensibilityElements()); String encoding = body.getUse(); if (encoding == null || !encoding.equals("encoded")) { context.addFailure(new ValidationFailure("The use attribute of the binding output operation must be 'encoded': " + bindingOutput.getName())); } }
protected void visit(final BindingOutput bindingOutput) { final SOAPBody body = getSOAPBody(bindingOutput.getExtensibilityElements()); final String encoding = body.getUse(); if (encoding == null || !encoding.equals("encoded")) { context.addFailure(new ValidationFailure("The use attribute of the binding output operation must be 'encoded': " + bindingOutput.getName())); } }
protected void visit(BindingOutput bindingOutput) { SOAPBody body = getSOAPBody(bindingOutput.getExtensibilityElements()); String encoding = body.getUse(); if (encoding == null || !encoding.equals("encoded")) { context.addFailure(new ValidationFailure("The use attribute of the binding output operation must be 'encoded': " + bindingOutput.getName())); } }
protected void printBindingOutput(BindingOutput bindingOutput, Definition def, PrintWriter pw) throws WSDLException { if (bindingOutput != null) { String tagName = DOMUtils.getQualifiedValue(Constants.NS_URI_WSDL, Constants.ELEM_OUTPUT, def); pw.print(" <" + tagName); DOMUtils.printAttribute(Constants.ATTR_NAME, bindingOutput.getName(), pw); pw.println('>'); printDocumentation(bindingOutput.getDocumentationElement(), def, pw); List extElements = bindingOutput.getExtensibilityElements(); printExtensibilityElements(BindingOutput.class, extElements, def, pw); pw.println(" </" + tagName + '>'); } }
if (output != null) String opOutputName = output.getName(); if (opOutputName == null || !opOutputName.equals(outputName)) op = null;
String outName = bop.getBindingOutput().getName(); if (!StringUtils.isEmpty(outName)) { XNode vOutputNode = getOutputXNode(vOpNode, outName);
String outName = bop.getBindingOutput().getName(); if (!StringUtils.isEmpty(outName)) { XNode vOutputNode = getOutputXNode(vOpNode, outName);
outName = bop.getBindingOutput().getName();
outName = bop.getBindingOutput().getName();
outName = bop.getBindingOutput().getName();
outName = bop.getBindingOutput().getName();
String inputName = (bindingInput != null ? bindingInput.getName() : null); String outputName = (bindingOutput != null ? bindingOutput.getName() : null);
outName = bop.getBindingOutput().getName();
outName = bop.getBindingOutput().getName();
errors.add(WSDL_OPERATION, ((BindingOperation) parent).getName()); else if (parent instanceof BindingOutput) errors.add(WSDL_OUTPUT, ((BindingOutput) parent).getName()); else if (parent instanceof Definition) errors.add(WSDL_DEFINITIONS, ((Definition) parent).getQName());
errors.add(WSDL_OPERATION, ((BindingOperation) parent).getName()); else if (parent instanceof BindingOutput) errors.add(WSDL_OUTPUT, ((BindingOutput) parent).getName()); else if (parent instanceof Definition) errors.add(WSDL_DEFINITIONS, ((Definition) parent).getQName());