Tabnine Logo
EnvelopeStyleFeature
Code IndexAdd Tabnine to your IDE (free)

How to use
EnvelopeStyleFeature
in
com.oracle.webservices.api

Best Java code snippets using com.oracle.webservices.api.EnvelopeStyleFeature (Showing top 9 results out of 315)

origin: com.sun.xml.ws/jaxws-rt

  public EnvelopeStyleFeature toFeature() {
    return SOAP_11.equals(this) ?
      new EnvelopeStyleFeature(new EnvelopeStyle.Style[]{EnvelopeStyle.Style.SOAP11}) :
      new EnvelopeStyleFeature(new EnvelopeStyle.Style[]{EnvelopeStyle.Style.SOAP12});
  }
}
origin: com.sun.xml.ws/jaxws-rt

public static SOAPVersion from(EnvelopeStyleFeature f) {
  EnvelopeStyle.Style[] style = f.getStyles();
  if (style.length != 1) throw new IllegalArgumentException ("The EnvelopingFeature must has exactly one Enveloping.Style");
  return from(style[0]);
}
origin: com.sun.xml.ws/jaxws-rt

public MessageContextFactory(WSFeatureList wsf) {
  features = wsf;
  envelopeStyle = features.get(EnvelopeStyleFeature.class);
  if (envelopeStyle == null) {//Default to SOAP11
    envelopeStyle = new EnvelopeStyleFeature(new EnvelopeStyle.Style[]{EnvelopeStyle.Style.SOAP11});
    features.mergeFeatures(new WebServiceFeature[]{envelopeStyle}, false);
  }
  for (EnvelopeStyle.Style s : envelopeStyle.getStyles()) {
    if (s.isXML()) {
      if (xmlCodec == null) xmlCodec = Codecs.createXMLCodec(features); 
    } else {
      if (soapCodec == null) soapCodec = Codecs.createSOAPBindingCodec(features);  
      singleSoapStyle = s;
    }
  }
}
origin: com.sun.xml.ws/rt

public MessageContextFactory(WSFeatureList wsf) {
  features = wsf;
  envelopeStyle = features.get(EnvelopeStyleFeature.class);
  if (envelopeStyle == null) {//Default to SOAP11
    envelopeStyle = new EnvelopeStyleFeature(new EnvelopeStyle.Style[]{EnvelopeStyle.Style.SOAP11});
    features.mergeFeatures(new WebServiceFeature[]{envelopeStyle}, false);
  }
  for (EnvelopeStyle.Style s : envelopeStyle.getStyles()) {
    if (s.isXML()) {
      if (xmlCodec == null) xmlCodec = Codecs.createXMLCodec(features); 
    } else {
      if (soapCodec == null) soapCodec = Codecs.createSOAPBindingCodec(features);  
      singleSoapStyle = s;
    }
  }
}
origin: javaee/metro-jax-ws

public MessageContextFactory(WSFeatureList wsf) {
  features = wsf;
  envelopeStyle = features.get(EnvelopeStyleFeature.class);
  if (envelopeStyle == null) {//Default to SOAP11
    envelopeStyle = new EnvelopeStyleFeature(new EnvelopeStyle.Style[]{EnvelopeStyle.Style.SOAP11});
    features.mergeFeatures(new WebServiceFeature[]{envelopeStyle}, false);
  }
  for (EnvelopeStyle.Style s : envelopeStyle.getStyles()) {
    if (s.isXML()) {
      if (xmlCodec == null) xmlCodec = Codecs.createXMLCodec(features); 
    } else {
      if (soapCodec == null) soapCodec = Codecs.createSOAPBindingCodec(features);  
      singleSoapStyle = s;
    }
  }
}
origin: com.sun.xml.ws/rt

  public EnvelopeStyleFeature toFeature() {
    return SOAP_11.equals(this) ?
      new EnvelopeStyleFeature(new EnvelopeStyle.Style[]{EnvelopeStyle.Style.SOAP11}) :
      new EnvelopeStyleFeature(new EnvelopeStyle.Style[]{EnvelopeStyle.Style.SOAP12});
  }
}
origin: com.sun.xml.ws/rt

public static SOAPVersion from(EnvelopeStyleFeature f) {
  EnvelopeStyle.Style[] style = f.getStyles();
  if (style.length != 1) throw new IllegalArgumentException ("The EnvelopingFeature must has exactly one Enveloping.Style");
  return from(style[0]);
}
origin: javaee/metro-jax-ws

  public EnvelopeStyleFeature toFeature() {
    return SOAP_11.equals(this) ?
      new EnvelopeStyleFeature(new EnvelopeStyle.Style[]{EnvelopeStyle.Style.SOAP11}) :
      new EnvelopeStyleFeature(new EnvelopeStyle.Style[]{EnvelopeStyle.Style.SOAP12});
  }
}
origin: javaee/metro-jax-ws

public static SOAPVersion from(EnvelopeStyleFeature f) {
  EnvelopeStyle.Style[] style = f.getStyles();
  if (style.length != 1) throw new IllegalArgumentException ("The EnvelopingFeature must has exactly one Enveloping.Style");
  return from(style[0]);
}
com.oracle.webservices.apiEnvelopeStyleFeature

Most used methods

  • <init>
  • getStyles

Popular in Java

  • Running tasks concurrently on multiple threads
  • onCreateOptionsMenu (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • setRequestProperty (URLConnection)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now