org.mule.runtime.soap.api.SoapVersion Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mule-service-soap-api Show documentation
Show all versions of mule-service-soap-api Show documentation
Mule service that allows to create SOAP servers and clients
The newest version!
/*
* Copyright (c) MuleSoft, Inc. All rights reserved. http://www.mulesoft.com
* The software in this package is published under the terms of the CPAL v1.0
* license, a copy of which has been included with this distribution in the
* LICENSE.txt file.
*/
package org.mule.runtime.soap.api;
import static javax.xml.soap.SOAPConstants.SOAP_1_1_PROTOCOL;
import static javax.xml.soap.SOAPConstants.SOAP_1_2_PROTOCOL;
/**
* All the available SOAP versions with it's version code and protocol name.
*
* @since 4.0
*/
public enum SoapVersion {
SOAP11("1.1", SOAP_1_1_PROTOCOL), SOAP12("1.2", SOAP_1_2_PROTOCOL);
private final String version;
private final String protocol;
SoapVersion(String version, String protocol) {
this.version = version;
this.protocol = protocol;
}
public String getVersion() {
return version;
}
public String getProtocol() {
return protocol;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy