com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLBoundPortType Java Examples
The following examples show how to use
com.sun.xml.internal.ws.api.model.wsdl.editable.EditableWSDLBoundPortType.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: WSDLBoundOperationImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * * @param name wsdl:operation name qualified value */ public WSDLBoundOperationImpl(XMLStreamReader xsr, EditableWSDLBoundPortType owner, QName name) { super(xsr); this.name = name; inputParts = new HashMap<String, ParameterBinding>(); outputParts = new HashMap<String, ParameterBinding>(); faultParts = new HashMap<String, ParameterBinding>(); inputMimeTypes = new HashMap<String, String>(); outputMimeTypes = new HashMap<String, String>(); faultMimeTypes = new HashMap<String, String>(); inParts = new HashMap<String, EditableWSDLPart>(); outParts = new HashMap<String, EditableWSDLPart>(); wsdlBoundFaults = new ArrayList<EditableWSDLBoundFault>(); this.owner = owner; }
Example #2
Source File: WSDLModelImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * * @param serviceName non-null service QName * @param portName non-null port QName * @return * WSDLBoundOperation on success otherwise null. throws NPE if any of the parameters null */ public EditableWSDLBoundPortType getBinding(QName serviceName, QName portName){ EditableWSDLService service = services.get(serviceName); if(service != null){ EditableWSDLPort port = service.get(portName); if(port != null) return port.getBinding(); } return null; }
Example #3
Source File: WSDLModelImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Invoked at the end of the model construction to fix up references, etc. */ public void freeze() { for (EditableWSDLService service : services.values()) { service.freeze(this); } for (EditableWSDLBoundPortType bp : bindings.values()) { bp.freeze(); } // Enforce freeze all the portTypes referenced by this endpoints, see Bug8966673 for detail for (EditableWSDLPortType pt : portTypes.values()) { pt.freeze(); } }
Example #4
Source File: WSDLModelImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * * @param serviceName non-null service QName * @param portName non-null port QName * @return * WSDLBoundOperation on success otherwise null. throws NPE if any of the parameters null */ public EditableWSDLBoundPortType getBinding(QName serviceName, QName portName){ EditableWSDLService service = services.get(serviceName); if(service != null){ EditableWSDLPort port = service.get(portName); if(port != null) return port.getBinding(); } return null; }
Example #5
Source File: WSDLBoundOperationImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * * @param name wsdl:operation name qualified value */ public WSDLBoundOperationImpl(XMLStreamReader xsr, EditableWSDLBoundPortType owner, QName name) { super(xsr); this.name = name; inputParts = new HashMap<String, ParameterBinding>(); outputParts = new HashMap<String, ParameterBinding>(); faultParts = new HashMap<String, ParameterBinding>(); inputMimeTypes = new HashMap<String, String>(); outputMimeTypes = new HashMap<String, String>(); faultMimeTypes = new HashMap<String, String>(); inParts = new HashMap<String, EditableWSDLPart>(); outParts = new HashMap<String, EditableWSDLPart>(); wsdlBoundFaults = new ArrayList<EditableWSDLBoundFault>(); this.owner = owner; }
Example #6
Source File: WSDLBoundOperationImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * * @param name wsdl:operation name qualified value */ public WSDLBoundOperationImpl(XMLStreamReader xsr, EditableWSDLBoundPortType owner, QName name) { super(xsr); this.name = name; inputParts = new HashMap<String, ParameterBinding>(); outputParts = new HashMap<String, ParameterBinding>(); faultParts = new HashMap<String, ParameterBinding>(); inputMimeTypes = new HashMap<String, String>(); outputMimeTypes = new HashMap<String, String>(); faultMimeTypes = new HashMap<String, String>(); inParts = new HashMap<String, EditableWSDLPart>(); outParts = new HashMap<String, EditableWSDLPart>(); wsdlBoundFaults = new ArrayList<EditableWSDLBoundFault>(); this.owner = owner; }
Example #7
Source File: WSDLModelImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Invoked at the end of the model construction to fix up references, etc. */ public void freeze() { for (EditableWSDLService service : services.values()) { service.freeze(this); } for (EditableWSDLBoundPortType bp : bindings.values()) { bp.freeze(); } // Enforce freeze all the portTypes referenced by this endpoints, see Bug8966673 for detail for (EditableWSDLPortType pt : portTypes.values()) { pt.freeze(); } }
Example #8
Source File: WSDLBoundOperationImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * * @param name wsdl:operation name qualified value */ public WSDLBoundOperationImpl(XMLStreamReader xsr, EditableWSDLBoundPortType owner, QName name) { super(xsr); this.name = name; inputParts = new HashMap<String, ParameterBinding>(); outputParts = new HashMap<String, ParameterBinding>(); faultParts = new HashMap<String, ParameterBinding>(); inputMimeTypes = new HashMap<String, String>(); outputMimeTypes = new HashMap<String, String>(); faultMimeTypes = new HashMap<String, String>(); inParts = new HashMap<String, EditableWSDLPart>(); outParts = new HashMap<String, EditableWSDLPart>(); wsdlBoundFaults = new ArrayList<EditableWSDLBoundFault>(); this.owner = owner; }
Example #9
Source File: WSDLModelImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * * @param serviceName non-null service QName * @param portName non-null port QName * @return * WSDLBoundOperation on success otherwise null. throws NPE if any of the parameters null */ public EditableWSDLBoundPortType getBinding(QName serviceName, QName portName){ EditableWSDLService service = services.get(serviceName); if(service != null){ EditableWSDLPort port = service.get(portName); if(port != null) return port.getBinding(); } return null; }
Example #10
Source File: WSDLBoundOperationImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * * @param name wsdl:operation name qualified value */ public WSDLBoundOperationImpl(XMLStreamReader xsr, EditableWSDLBoundPortType owner, QName name) { super(xsr); this.name = name; inputParts = new HashMap<String, ParameterBinding>(); outputParts = new HashMap<String, ParameterBinding>(); faultParts = new HashMap<String, ParameterBinding>(); inputMimeTypes = new HashMap<String, String>(); outputMimeTypes = new HashMap<String, String>(); faultMimeTypes = new HashMap<String, String>(); inParts = new HashMap<String, EditableWSDLPart>(); outParts = new HashMap<String, EditableWSDLPart>(); wsdlBoundFaults = new ArrayList<EditableWSDLBoundFault>(); this.owner = owner; }
Example #11
Source File: WSDLModelImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Invoked at the end of the model construction to fix up references, etc. */ public void freeze() { for (EditableWSDLService service : services.values()) { service.freeze(this); } for (EditableWSDLBoundPortType bp : bindings.values()) { bp.freeze(); } // Enforce freeze all the portTypes referenced by this endpoints, see Bug8966673 for detail for (EditableWSDLPortType pt : portTypes.values()) { pt.freeze(); } }
Example #12
Source File: WSDLModelImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * * @param serviceName non-null service QName * @param portName non-null port QName * @return * WSDLBoundOperation on success otherwise null. throws NPE if any of the parameters null */ public EditableWSDLBoundPortType getBinding(QName serviceName, QName portName){ EditableWSDLService service = services.get(serviceName); if(service != null){ EditableWSDLPort port = service.get(portName); if(port != null) return port.getBinding(); } return null; }
Example #13
Source File: WSDLModelImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * * @param serviceName non-null service QName * @param portName non-null port QName * @return * WSDLBoundOperation on success otherwise null. throws NPE if any of the parameters null */ public EditableWSDLBoundPortType getBinding(QName serviceName, QName portName){ EditableWSDLService service = services.get(serviceName); if(service != null){ EditableWSDLPort port = service.get(portName); if(port != null) return port.getBinding(); } return null; }
Example #14
Source File: WSDLModelImpl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Invoked at the end of the model construction to fix up references, etc. */ public void freeze() { for (EditableWSDLService service : services.values()) { service.freeze(this); } for (EditableWSDLBoundPortType bp : bindings.values()) { bp.freeze(); } // Enforce freeze all the portTypes referenced by this endpoints, see Bug8966673 for detail for (EditableWSDLPortType pt : portTypes.values()) { pt.freeze(); } }
Example #15
Source File: WSDLModelImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Invoked at the end of the model construction to fix up references, etc. */ public void freeze() { for (EditableWSDLService service : services.values()) { service.freeze(this); } for (EditableWSDLBoundPortType bp : bindings.values()) { bp.freeze(); } // Enforce freeze all the portTypes referenced by this endpoints, see Bug8966673 for detail for (EditableWSDLPortType pt : portTypes.values()) { pt.freeze(); } }
Example #16
Source File: WSDLBoundOperationImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * * @param name wsdl:operation name qualified value */ public WSDLBoundOperationImpl(XMLStreamReader xsr, EditableWSDLBoundPortType owner, QName name) { super(xsr); this.name = name; inputParts = new HashMap<String, ParameterBinding>(); outputParts = new HashMap<String, ParameterBinding>(); faultParts = new HashMap<String, ParameterBinding>(); inputMimeTypes = new HashMap<String, String>(); outputMimeTypes = new HashMap<String, String>(); faultMimeTypes = new HashMap<String, String>(); inParts = new HashMap<String, EditableWSDLPart>(); outParts = new HashMap<String, EditableWSDLPart>(); wsdlBoundFaults = new ArrayList<EditableWSDLBoundFault>(); this.owner = owner; }
Example #17
Source File: WSDLModelImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * * @param serviceName non-null service QName * @param portName non-null port QName * @return * WSDLBoundOperation on success otherwise null. throws NPE if any of the parameters null */ public EditableWSDLBoundPortType getBinding(QName serviceName, QName portName){ EditableWSDLService service = services.get(serviceName); if(service != null){ EditableWSDLPort port = service.get(portName); if(port != null) return port.getBinding(); } return null; }
Example #18
Source File: WSDLModelImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * * @param serviceName non-null service QName * @param portName non-null port QName * @return * WSDLBoundOperation on success otherwise null. throws NPE if any of the parameters null */ public EditableWSDLBoundPortType getBinding(QName serviceName, QName portName){ EditableWSDLService service = services.get(serviceName); if(service != null){ EditableWSDLPort port = service.get(portName); if(port != null) return port.getBinding(); } return null; }
Example #19
Source File: WSDLBoundOperationImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * * @param name wsdl:operation name qualified value */ public WSDLBoundOperationImpl(XMLStreamReader xsr, EditableWSDLBoundPortType owner, QName name) { super(xsr); this.name = name; inputParts = new HashMap<String, ParameterBinding>(); outputParts = new HashMap<String, ParameterBinding>(); faultParts = new HashMap<String, ParameterBinding>(); inputMimeTypes = new HashMap<String, String>(); outputMimeTypes = new HashMap<String, String>(); faultMimeTypes = new HashMap<String, String>(); inParts = new HashMap<String, EditableWSDLPart>(); outParts = new HashMap<String, EditableWSDLPart>(); wsdlBoundFaults = new ArrayList<EditableWSDLBoundFault>(); this.owner = owner; }
Example #20
Source File: WSDLModelImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Invoked at the end of the model construction to fix up references, etc. */ public void freeze() { for (EditableWSDLService service : services.values()) { service.freeze(this); } for (EditableWSDLBoundPortType bp : bindings.values()) { bp.freeze(); } // Enforce freeze all the portTypes referenced by this endpoints, see Bug8966673 for detail for (EditableWSDLPortType pt : portTypes.values()) { pt.freeze(); } }
Example #21
Source File: WSDLBoundOperationImpl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * * @param name wsdl:operation name qualified value */ public WSDLBoundOperationImpl(XMLStreamReader xsr, EditableWSDLBoundPortType owner, QName name) { super(xsr); this.name = name; inputParts = new HashMap<String, ParameterBinding>(); outputParts = new HashMap<String, ParameterBinding>(); faultParts = new HashMap<String, ParameterBinding>(); inputMimeTypes = new HashMap<String, String>(); outputMimeTypes = new HashMap<String, String>(); faultMimeTypes = new HashMap<String, String>(); inParts = new HashMap<String, EditableWSDLPart>(); outParts = new HashMap<String, EditableWSDLPart>(); wsdlBoundFaults = new ArrayList<EditableWSDLBoundFault>(); this.owner = owner; }
Example #22
Source File: WSDLParserExtension.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public void bindingAttributes(EditableWSDLBoundPortType binding, XMLStreamReader reader) { }
Example #23
Source File: WSDLModelImpl.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
public EditableWSDLBoundPortType getBinding(QName name){ return bindings.get(name); }
Example #24
Source File: WSDLBoundOperationImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
EditableWSDLBoundPortType getOwner(){ return owner; }
Example #25
Source File: WSDLModelImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public EditableWSDLBoundPortType getBinding(QName name){ return bindings.get(name); }
Example #26
Source File: RuntimeWSDLParser.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
private void parseBindingOperation(XMLStreamReader reader, EditableWSDLBoundPortType binding) { String bindingOpName = ParserUtil.getMandatoryNonEmptyAttribute(reader, "name"); if (bindingOpName == null) { //TODO: throw exception? //skip wsdl:binding element for now XMLStreamReaderUtil.skipElement(reader); return; } QName opName = new QName(binding.getPortTypeName().getNamespaceURI(), bindingOpName); EditableWSDLBoundOperation bindingOp = new WSDLBoundOperationImpl(reader,binding, opName); binding.put(opName, bindingOp); extensionFacade.bindingOperationAttributes(bindingOp, reader); while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { QName name = reader.getName(); String style = null; if (WSDLConstants.QNAME_INPUT.equals(name)) { parseInputBinding(reader, bindingOp); } else if (WSDLConstants.QNAME_OUTPUT.equals(name)) { parseOutputBinding(reader, bindingOp); } else if (WSDLConstants.QNAME_FAULT.equals(name)) { parseFaultBinding(reader, bindingOp); } else if (SOAPConstants.QNAME_OPERATION.equals(name) || SOAPConstants.QNAME_SOAP12OPERATION.equals(name)) { style = reader.getAttributeValue(null, "style"); String soapAction = reader.getAttributeValue(null, "soapAction"); if (soapAction != null) bindingOp.setSoapAction(soapAction); goToEnd(reader); } else { extensionFacade.bindingOperationElements(bindingOp, reader); } /** * If style attribute is present set it otherwise set the style as defined * on the <soap:binding> element */ if (style != null) { if (style.equals("rpc")) bindingOp.setStyle(Style.RPC); else bindingOp.setStyle(Style.DOCUMENT); } else { bindingOp.setStyle(binding.getStyle()); } } }
Example #27
Source File: RuntimeWSDLParser.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
private void parseBindingOperation(XMLStreamReader reader, EditableWSDLBoundPortType binding) { String bindingOpName = ParserUtil.getMandatoryNonEmptyAttribute(reader, "name"); if (bindingOpName == null) { //TODO: throw exception? //skip wsdl:binding element for now XMLStreamReaderUtil.skipElement(reader); return; } QName opName = new QName(binding.getPortTypeName().getNamespaceURI(), bindingOpName); EditableWSDLBoundOperation bindingOp = new WSDLBoundOperationImpl(reader,binding, opName); binding.put(opName, bindingOp); extensionFacade.bindingOperationAttributes(bindingOp, reader); while (XMLStreamReaderUtil.nextElementContent(reader) != XMLStreamConstants.END_ELEMENT) { QName name = reader.getName(); String style = null; if (WSDLConstants.QNAME_INPUT.equals(name)) { parseInputBinding(reader, bindingOp); } else if (WSDLConstants.QNAME_OUTPUT.equals(name)) { parseOutputBinding(reader, bindingOp); } else if (WSDLConstants.QNAME_FAULT.equals(name)) { parseFaultBinding(reader, bindingOp); } else if (SOAPConstants.QNAME_OPERATION.equals(name) || SOAPConstants.QNAME_SOAP12OPERATION.equals(name)) { style = reader.getAttributeValue(null, "style"); String soapAction = reader.getAttributeValue(null, "soapAction"); if (soapAction != null) bindingOp.setSoapAction(soapAction); goToEnd(reader); } else { extensionFacade.bindingOperationElements(bindingOp, reader); } /** * If style attribute is present set it otherwise set the style as defined * on the <soap:binding> element */ if (style != null) { if (style.equals("rpc")) bindingOp.setStyle(Style.RPC); else bindingOp.setStyle(Style.DOCUMENT); } else { bindingOp.setStyle(binding.getStyle()); } } }
Example #28
Source File: WSDLBoundOperationImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
@Override public EditableWSDLBoundPortType getBoundPortType() { return owner; }
Example #29
Source File: WSDLModelImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public @NotNull Map<QName, ? extends EditableWSDLBoundPortType> getBindings() { return unmBindings; }
Example #30
Source File: WSDLBoundOperationImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
EditableWSDLBoundPortType getOwner(){ return owner; }