gpt4 book ai didi

com.sun.xml.ws.binding.WebServiceFeatureList.getSoapVersion()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-22 23:05:05 25 4
gpt4 key购买 nike

本文整理了Java中com.sun.xml.ws.binding.WebServiceFeatureList.getSoapVersion()方法的一些代码示例,展示了WebServiceFeatureList.getSoapVersion()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebServiceFeatureList.getSoapVersion()方法的具体详情如下:
包路径:com.sun.xml.ws.binding.WebServiceFeatureList
类名称:WebServiceFeatureList
方法名:getSoapVersion

WebServiceFeatureList.getSoapVersion介绍

暂无

代码示例

代码示例来源:origin: com.sun.xml.ws/rt

StreamSOAPCodec(WSFeatureList features) {
  this(getSoapVersion(features), features.get(SerializationFeature.class));
}

代码示例来源:origin: javaee/metro-jax-ws

StreamSOAPCodec(WSFeatureList features) {
  this(getSoapVersion(features), features.get(SerializationFeature.class));
}

代码示例来源:origin: com.sun.xml.ws/jaxws-rt

StreamSOAPCodec(WSFeatureList features) {
  this(getSoapVersion(features), features.get(SerializationFeature.class));
}

代码示例来源:origin: javaee/metro-jax-ws

public static StreamSOAPCodec create(WSFeatureList features) {
  SOAPVersion version = getSoapVersion(features);
  if(version==null)
    // this decoder is for SOAP, not for XML/HTTP
    throw new IllegalArgumentException();
  switch(version) {
    case SOAP_11:
      return new StreamSOAP11Codec(features);
    case SOAP_12:
      return new StreamSOAP12Codec(features);
    default:
      throw new AssertionError();
  }
}

代码示例来源:origin: com.sun.xml.ws/jaxws-rt

public static StreamSOAPCodec create(WSFeatureList features) {
  SOAPVersion version = getSoapVersion(features);
  if(version==null)
    // this decoder is for SOAP, not for XML/HTTP
    throw new IllegalArgumentException();
  switch(version) {
    case SOAP_11:
      return new StreamSOAP11Codec(features);
    case SOAP_12:
      return new StreamSOAP12Codec(features);
    default:
      throw new AssertionError();
  }
}

代码示例来源:origin: com.sun.xml.ws/rt

public static StreamSOAPCodec create(WSFeatureList features) {
  SOAPVersion version = getSoapVersion(features);
  if(version==null)
    // this decoder is for SOAP, not for XML/HTTP
    throw new IllegalArgumentException();
  switch(version) {
    case SOAP_11:
      return new StreamSOAP11Codec(features);
    case SOAP_12:
      return new StreamSOAP12Codec(features);
    default:
      throw new AssertionError();
  }
}

代码示例来源:origin: com.sun.xml.ws/rt

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; 
  }
}

代码示例来源:origin: javaee/metro-jax-ws

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; 
  }
}

代码示例来源:origin: com.sun.xml.ws/jaxws-rt

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; 
  }
}

代码示例来源:origin: com.sun.xml.ws/jaxws-rt

public SOAPBindingCodec(WSFeatureList features, StreamSOAPCodec xmlSoapCodec) {
  super(getSoapVersion(features), features);
  if(getSoapVersion(features) == null)
    throw new WebServiceException("Expecting a SOAP binding but found ");

代码示例来源:origin: javaee/metro-jax-ws

public SOAPBindingCodec(WSFeatureList features, StreamSOAPCodec xmlSoapCodec) {
  super(getSoapVersion(features), features);
  if(getSoapVersion(features) == null)
    throw new WebServiceException("Expecting a SOAP binding but found ");

代码示例来源:origin: com.sun.xml.ws/rt

public SOAPBindingCodec(WSFeatureList features, StreamSOAPCodec xmlSoapCodec) {
  super(getSoapVersion(features), features);
  if(getSoapVersion(features) == null)
    throw new WebServiceException("Expecting a SOAP binding but found ");

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com