/** * Checks if the style is SOAP 1.2. * * @return true if the style is SOAP 1.2. */ public boolean isSOAP12() { return this.equals(SOAP12); }
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; } } }
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; } } }
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; } } }
/** * Checks if the style is XML. * * @return true if the style is XML. */ public boolean isXML() { return this.equals(XML); } }
/** * Checks if the style is XML. * * @return true if the style is XML. */ public boolean isXML() { return this.equals(XML); } }
/** * Checks if the style is SOAP 1.1. * * @return true if the style is SOAP 1.1. */ public boolean isSOAP11() { return this.equals(SOAP11); }
/** * Checks if the style is SOAP 1.2. * * @return true if the style is SOAP 1.2. */ public boolean isSOAP12() { return this.equals(SOAP12); }
/** * Checks if the style is SOAP 1.1. * * @return true if the style is SOAP 1.1. */ public boolean isSOAP11() { return this.equals(SOAP11); }
/** * Checks if the style is XML. * * @return true if the style is XML. */ public boolean isXML() { return this.equals(XML); } }
/** * Checks if the style is SOAP 1.1. * * @return true if the style is SOAP 1.1. */ public boolean isSOAP11() { return this.equals(SOAP11); }
/** * Checks if the style is SOAP 1.2. * * @return true if the style is SOAP 1.2. */ public boolean isSOAP12() { return this.equals(SOAP12); }