public QName getWSDLElementName() { return getElementName(); }
public String getUniqueKey() { if (_uniqueKey == null) { StringBuffer sb = new StringBuffer(); sb.append(_name); sb.append(' '); if (_input != null) { sb.append(_input.getName()); } else { sb.append(_name); if (_style == OperationStyle.REQUEST_RESPONSE) { sb.append("Request"); } else if (_style == OperationStyle.SOLICIT_RESPONSE) { sb.append("Response"); } } sb.append(' '); if (_output != null) { sb.append(_output.getName()); } else { sb.append(_name); if (_style == OperationStyle.SOLICIT_RESPONSE) { sb.append("Solicit"); } else if (_style == OperationStyle.REQUEST_RESPONSE) { sb.append("Response"); } } _uniqueKey = sb.toString(); } return _uniqueKey; }
protected com.sun.tools.ws.wsdl.document.Message getInputMessage() { return info.portTypeOperation.getInput().resolveMessage(info.document); }
Input input = new Input(forest.locatorTable.getStartLocation(e2), errReceiver); input.setParent(operation); String messageAttr = Util.getRequiredAttribute(e2, Constants.ATTR_MESSAGE); input.setMessage(context.translateQualifiedName(context.getLocation(e2), messageAttr)); String nameAttr = XmlUtil.getAttributeOrNull(e2, Constants.ATTR_NAME); input.setName(nameAttr); operation.setInput(input); gotInput = true; input.setDocumentation(getDocumentationFor(e3)); } else { errReceiver.error(forest.locatorTable.getStartLocation(e3), WsdlMessages.PARSING_INVALID_ELEMENT(e3.getTagName(),
@Override public boolean handleInputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { String actionValue = XmlUtil.getAttributeNSOrNull(e, WSAM_ACTION_QNAME); if (actionValue == null || actionValue.equals("")) { return warnEmptyAction(parent, context.getLocation(e)); } ((Input)parent).setAction(actionValue); return true; }
public void validateThis() { if (_message == null) { errorReceiver.error(getLocator(), WsdlMessages.VALIDATION_MISSING_REQUIRED_ATTRIBUTE("name", "wsdl:message")); throw new AbortException(); } }
public void accept(WSDLDocumentVisitor visitor) throws Exception { visitor.preVisit(this); if (_input != null) { _input.accept(visitor); } if (_output != null) { _output.accept(visitor); } for (Fault _fault : _faults) { _fault.accept(visitor); } visitor.postVisit(this); }
Input input = new Input(forest.locatorTable.getStartLocation(e2), errReceiver); input.setParent(operation); String messageAttr = Util.getRequiredAttribute(e2, Constants.ATTR_MESSAGE); input.setMessage(context.translateQualifiedName(context.getLocation(e2), messageAttr)); String nameAttr = XmlUtil.getAttributeOrNull(e2, Constants.ATTR_NAME); input.setName(nameAttr); operation.setInput(input); gotInput = true; input.setDocumentation(getDocumentationFor(e3)); } else { errReceiver.error(forest.locatorTable.getStartLocation(e3), WsdlMessages.PARSING_INVALID_ELEMENT(e3.getTagName(),
@Override public boolean handleInputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { String actionValue = XmlUtil.getAttributeNSOrNull(e, WSAM_ACTION_QNAME); if (actionValue == null || actionValue.equals("")) { return warnEmptyAction(parent, context.getLocation(e)); } ((Input)parent).setAction(actionValue); return true; }
public void validateThis() { if (_message == null) { errorReceiver.error(getLocator(), WsdlMessages.VALIDATION_MISSING_REQUIRED_ATTRIBUTE("name", "wsdl:message")); throw new AbortException(); } }
public void accept(WSDLDocumentVisitor visitor) throws Exception { visitor.preVisit(this); if (_input != null) { _input.accept(visitor); } if (_output != null) { _output.accept(visitor); } for (Fault _fault : _faults) { _fault.accept(visitor); } visitor.postVisit(this); }
Input input = new Input(forest.locatorTable.getStartLocation(e2), errReceiver); input.setParent(operation); String messageAttr = Util.getRequiredAttribute(e2, Constants.ATTR_MESSAGE); input.setMessage(context.translateQualifiedName(context.getLocation(e2), messageAttr)); String nameAttr = XmlUtil.getAttributeOrNull(e2, Constants.ATTR_NAME); input.setName(nameAttr); operation.setInput(input); gotInput = true; input.setDocumentation(getDocumentationFor(e3)); } else { errReceiver.error(forest.locatorTable.getStartLocation(e3), WsdlMessages.PARSING_INVALID_ELEMENT(e3.getTagName(),
@Override public boolean handleInputExtension(TWSDLParserContext context, TWSDLExtensible parent, Element e) { String actionValue = XmlUtil.getAttributeNSOrNull(e, WSAM_ACTION_QNAME); if (actionValue == null || actionValue.equals("")) { return warnEmptyAction(parent, context.getLocation(e)); } ((Input)parent).setAction(actionValue); return true; }
public QName getWSDLElementName() { return getElementName(); }
public String getUniqueKey() { if (_uniqueKey == null) { StringBuffer sb = new StringBuffer(); sb.append(_name); sb.append(' '); if (_input != null) { sb.append(_input.getName()); } else { sb.append(_name); if (_style == OperationStyle.REQUEST_RESPONSE) { sb.append("Request"); } else if (_style == OperationStyle.SOLICIT_RESPONSE) { sb.append("Response"); } } sb.append(' '); if (_output != null) { sb.append(_output.getName()); } else { sb.append(_name); if (_style == OperationStyle.SOLICIT_RESPONSE) { sb.append("Solicit"); } else if (_style == OperationStyle.REQUEST_RESPONSE) { sb.append("Response"); } } _uniqueKey = sb.toString(); } return _uniqueKey; }
public void validateThis() { if (_message == null) { errorReceiver.error(getLocator(), WsdlMessages.VALIDATION_MISSING_REQUIRED_ATTRIBUTE("name", "wsdl:message")); throw new AbortException(); } }
public void accept(WSDLDocumentVisitor visitor) throws Exception { visitor.preVisit(this); if (_input != null) { _input.accept(visitor); } if (_output != null) { _output.accept(visitor); } for (Fault _fault : _faults) { _fault.accept(visitor); } visitor.postVisit(this); }
protected com.sun.tools.ws.wsdl.document.Message getInputMessage() { return info.portTypeOperation.getInput().resolveMessage(info.document); }