Java Code Examples for com.sun.xml.internal.ws.api.BindingID#SOAP12_HTTP
The following examples show how to use
com.sun.xml.internal.ws.api.BindingID#SOAP12_HTTP .
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: RuntimeWSDLParser.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private static BindingID createBindingId(String transport, SOAPVersion soapVersion) { if (!transport.equals(SOAPConstants.URI_SOAP_TRANSPORT_HTTP)) { for( BindingIDFactory f : ServiceFinder.find(BindingIDFactory.class) ) { BindingID bindingId = f.create(transport, soapVersion); if(bindingId!=null) { return bindingId; } } } return soapVersion.equals(SOAPVersion.SOAP_11)?BindingID.SOAP11_HTTP:BindingID.SOAP12_HTTP; }
Example 2
Source File: RuntimeWSDLParser.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private static BindingID createBindingId(String transport, SOAPVersion soapVersion) { if (!transport.equals(SOAPConstants.URI_SOAP_TRANSPORT_HTTP)) { for( BindingIDFactory f : ServiceFinder.find(BindingIDFactory.class) ) { BindingID bindingId = f.create(transport, soapVersion); if(bindingId!=null) { return bindingId; } } } return soapVersion.equals(SOAPVersion.SOAP_11)?BindingID.SOAP11_HTTP:BindingID.SOAP12_HTTP; }
Example 3
Source File: RuntimeModeler.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private BindingID getDefaultBindingID() { BindingType bt = getAnnotation(portClass, BindingType.class); if (bt != null) return BindingID.parse(bt.value()); SOAPVersion ver = getSoapVersion(features); boolean mtomEnabled = features.isEnabled(MTOMFeature.class); if (SOAPVersion.SOAP_12.equals(ver)) { return (mtomEnabled) ? BindingID.SOAP12_HTTP_MTOM : BindingID.SOAP12_HTTP; } else { return (mtomEnabled) ? BindingID.SOAP11_HTTP_MTOM : BindingID.SOAP11_HTTP; } }
Example 4
Source File: WsgenOptions.java From hottub with GNU General Public License v2.0 | 5 votes |
BindingID getBindingID(String protocol) { if (protocol.equals(SOAP11)) return BindingID.SOAP11_HTTP; if (protocol.equals(X_SOAP12)) return BindingID.SOAP12_HTTP; String lexical = nonstdProtocols.get(protocol); return (lexical != null) ? BindingID.parse(lexical) : null; }
Example 5
Source File: RuntimeWSDLParser.java From hottub with GNU General Public License v2.0 | 5 votes |
private static BindingID createBindingId(String transport, SOAPVersion soapVersion) { if (!transport.equals(SOAPConstants.URI_SOAP_TRANSPORT_HTTP)) { for( BindingIDFactory f : ServiceFinder.find(BindingIDFactory.class) ) { BindingID bindingId = f.create(transport, soapVersion); if(bindingId!=null) { return bindingId; } } } return soapVersion.equals(SOAPVersion.SOAP_11)?BindingID.SOAP11_HTTP:BindingID.SOAP12_HTTP; }
Example 6
Source File: WsgenOptions.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
BindingID getBindingID(String protocol) { if (protocol.equals(SOAP11)) return BindingID.SOAP11_HTTP; if (protocol.equals(X_SOAP12)) return BindingID.SOAP12_HTTP; String lexical = nonstdProtocols.get(protocol); return (lexical != null) ? BindingID.parse(lexical) : null; }
Example 7
Source File: WsgenOptions.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
BindingID getBindingID(String protocol) { if (protocol.equals(SOAP11)) return BindingID.SOAP11_HTTP; if (protocol.equals(X_SOAP12)) return BindingID.SOAP12_HTTP; String lexical = nonstdProtocols.get(protocol); return (lexical != null) ? BindingID.parse(lexical) : null; }
Example 8
Source File: RuntimeModeler.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private BindingID getDefaultBindingID() { BindingType bt = getAnnotation(portClass, BindingType.class); if (bt != null) return BindingID.parse(bt.value()); SOAPVersion ver = getSoapVersion(features); boolean mtomEnabled = features.isEnabled(MTOMFeature.class); if (SOAPVersion.SOAP_12.equals(ver)) { return (mtomEnabled) ? BindingID.SOAP12_HTTP_MTOM : BindingID.SOAP12_HTTP; } else { return (mtomEnabled) ? BindingID.SOAP11_HTTP_MTOM : BindingID.SOAP11_HTTP; } }
Example 9
Source File: RuntimeModeler.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
private BindingID getDefaultBindingID() { BindingType bt = getAnnotation(portClass, BindingType.class); if (bt != null) return BindingID.parse(bt.value()); SOAPVersion ver = getSoapVersion(features); boolean mtomEnabled = features.isEnabled(MTOMFeature.class); if (SOAPVersion.SOAP_12.equals(ver)) { return (mtomEnabled) ? BindingID.SOAP12_HTTP_MTOM : BindingID.SOAP12_HTTP; } else { return (mtomEnabled) ? BindingID.SOAP11_HTTP_MTOM : BindingID.SOAP11_HTTP; } }
Example 10
Source File: WsgenOptions.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
BindingID getBindingID(String protocol) { if (protocol.equals(SOAP11)) return BindingID.SOAP11_HTTP; if (protocol.equals(X_SOAP12)) return BindingID.SOAP12_HTTP; String lexical = nonstdProtocols.get(protocol); return (lexical != null) ? BindingID.parse(lexical) : null; }
Example 11
Source File: RuntimeModeler.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private BindingID getDefaultBindingID() { BindingType bt = getAnnotation(portClass, BindingType.class); if (bt != null) return BindingID.parse(bt.value()); SOAPVersion ver = getSoapVersion(features); boolean mtomEnabled = features.isEnabled(MTOMFeature.class); if (SOAPVersion.SOAP_12.equals(ver)) { return (mtomEnabled) ? BindingID.SOAP12_HTTP_MTOM : BindingID.SOAP12_HTTP; } else { return (mtomEnabled) ? BindingID.SOAP11_HTTP_MTOM : BindingID.SOAP11_HTTP; } }
Example 12
Source File: RuntimeModeler.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private BindingID getDefaultBindingID() { BindingType bt = getAnnotation(portClass, BindingType.class); if (bt != null) return BindingID.parse(bt.value()); SOAPVersion ver = getSoapVersion(features); boolean mtomEnabled = features.isEnabled(MTOMFeature.class); if (SOAPVersion.SOAP_12.equals(ver)) { return (mtomEnabled) ? BindingID.SOAP12_HTTP_MTOM : BindingID.SOAP12_HTTP; } else { return (mtomEnabled) ? BindingID.SOAP11_HTTP_MTOM : BindingID.SOAP11_HTTP; } }
Example 13
Source File: WsgenOptions.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
BindingID getBindingID(String protocol) { if (protocol.equals(SOAP11)) return BindingID.SOAP11_HTTP; if (protocol.equals(X_SOAP12)) return BindingID.SOAP12_HTTP; String lexical = nonstdProtocols.get(protocol); return (lexical != null) ? BindingID.parse(lexical) : null; }
Example 14
Source File: RuntimeWSDLParser.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private static BindingID createBindingId(String transport, SOAPVersion soapVersion) { if (!transport.equals(SOAPConstants.URI_SOAP_TRANSPORT_HTTP)) { for( BindingIDFactory f : ServiceFinder.find(BindingIDFactory.class) ) { BindingID bindingId = f.create(transport, soapVersion); if(bindingId!=null) { return bindingId; } } } return soapVersion.equals(SOAPVersion.SOAP_11)?BindingID.SOAP11_HTTP:BindingID.SOAP12_HTTP; }
Example 15
Source File: RuntimeModeler.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private BindingID getDefaultBindingID() { BindingType bt = getAnnotation(portClass, BindingType.class); if (bt != null) return BindingID.parse(bt.value()); SOAPVersion ver = getSoapVersion(features); boolean mtomEnabled = features.isEnabled(MTOMFeature.class); if (SOAPVersion.SOAP_12.equals(ver)) { return (mtomEnabled) ? BindingID.SOAP12_HTTP_MTOM : BindingID.SOAP12_HTTP; } else { return (mtomEnabled) ? BindingID.SOAP11_HTTP_MTOM : BindingID.SOAP11_HTTP; } }
Example 16
Source File: WsgenOptions.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
BindingID getBindingID(String protocol) { if (protocol.equals(SOAP11)) return BindingID.SOAP11_HTTP; if (protocol.equals(X_SOAP12)) return BindingID.SOAP12_HTTP; String lexical = nonstdProtocols.get(protocol); return (lexical != null) ? BindingID.parse(lexical) : null; }
Example 17
Source File: RuntimeWSDLParser.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private static BindingID createBindingId(String transport, SOAPVersion soapVersion) { if (!transport.equals(SOAPConstants.URI_SOAP_TRANSPORT_HTTP)) { for( BindingIDFactory f : ServiceFinder.find(BindingIDFactory.class) ) { BindingID bindingId = f.create(transport, soapVersion); if(bindingId!=null) { return bindingId; } } } return soapVersion.equals(SOAPVersion.SOAP_11)?BindingID.SOAP11_HTTP:BindingID.SOAP12_HTTP; }
Example 18
Source File: WsgenOptions.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
BindingID getBindingID(String protocol) { if (protocol.equals(SOAP11)) return BindingID.SOAP11_HTTP; if (protocol.equals(X_SOAP12)) return BindingID.SOAP12_HTTP; String lexical = nonstdProtocols.get(protocol); return (lexical != null) ? BindingID.parse(lexical) : null; }
Example 19
Source File: WsgenOptions.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
BindingID getBindingID(String protocol) { if (protocol.equals(SOAP11)) return BindingID.SOAP11_HTTP; if (protocol.equals(X_SOAP12)) return BindingID.SOAP12_HTTP; String lexical = nonstdProtocols.get(protocol); return (lexical != null) ? BindingID.parse(lexical) : null; }
Example 20
Source File: RuntimeWSDLParser.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private static BindingID createBindingId(String transport, SOAPVersion soapVersion) { if (!transport.equals(SOAPConstants.URI_SOAP_TRANSPORT_HTTP)) { for( BindingIDFactory f : ServiceFinder.find(BindingIDFactory.class) ) { BindingID bindingId = f.create(transport, soapVersion); if(bindingId!=null) { return bindingId; } } } return soapVersion.equals(SOAPVersion.SOAP_11)?BindingID.SOAP11_HTTP:BindingID.SOAP12_HTTP; }