< prev index next >
src/java.xml.ws/share/classes/javax/xml/soap/SOAPConstants.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 32,65 ****
*
* @since 1.6
*/
public interface SOAPConstants {
/**
! * Used to create <code>MessageFactory</code> instances that create
! * <code>SOAPMessages</code> whose concrete type is based on the
! * <code>Content-Type</code> MIME header passed to the
! * <code>createMessage</code> method. If no <code>Content-Type</code>
! * header is passed then the <code>createMessage</code> may throw an
! * <code>IllegalArgumentException</code> or, in the case of the no
! * argument version of <code>createMessage</code>, an
! * <code>UnsupportedOperationException</code>.
*
* @since 1.6, SAAJ 1.3
*/
public static final String DYNAMIC_SOAP_PROTOCOL = "Dynamic Protocol";
/**
! * Used to create <code>MessageFactory</code> instances that create
! * <code>SOAPMessages</code> whose behavior supports the SOAP 1.1 specification.
*
* @since 1.6, SAAJ 1.3
*/
public static final String SOAP_1_1_PROTOCOL = "SOAP 1.1 Protocol";
/**
! * Used to create <code>MessageFactory</code> instances that create
! * <code>SOAPMessages</code> whose behavior supports the SOAP 1.2
* specification
*
* @since 1.6, SAAJ 1.3
*/
public static final String SOAP_1_2_PROTOCOL = "SOAP 1.2 Protocol";
--- 32,65 ----
*
* @since 1.6
*/
public interface SOAPConstants {
/**
! * Used to create {@code MessageFactory} instances that create
! * {@code SOAPMessages} whose concrete type is based on the
! * {@code Content-Type} MIME header passed to the
! * {@code createMessage} method. If no {@code Content-Type}
! * header is passed then the {@code createMessage} may throw an
! * {@code IllegalArgumentException} or, in the case of the no
! * argument version of {@code createMessage}, an
! * {@code UnsupportedOperationException}.
*
* @since 1.6, SAAJ 1.3
*/
public static final String DYNAMIC_SOAP_PROTOCOL = "Dynamic Protocol";
/**
! * Used to create {@code MessageFactory} instances that create
! * {@code SOAPMessages} whose behavior supports the SOAP 1.1 specification.
*
* @since 1.6, SAAJ 1.3
*/
public static final String SOAP_1_1_PROTOCOL = "SOAP 1.1 Protocol";
/**
! * Used to create {@code MessageFactory} instances that create
! * {@code SOAPMessages} whose behavior supports the SOAP 1.2
* specification
*
* @since 1.6, SAAJ 1.3
*/
public static final String SOAP_1_2_PROTOCOL = "SOAP 1.2 Protocol";
*** 91,103 ****
public static final String
URI_NS_SOAP_ENVELOPE = URI_NS_SOAP_1_1_ENVELOPE;
/**
* The namespace identifier for the SOAP 1.1 encoding.
! * An attribute named <code>encodingStyle</code> in the
! * <code>URI_NS_SOAP_ENVELOPE</code> namespace and set to the value
! * <code>URI_NS_SOAP_ENCODING</code> can be added to an element to indicate
* that it is encoded using the rules in section 5 of the SOAP 1.1
* specification.
*/
public static final String
URI_NS_SOAP_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/";
--- 91,103 ----
public static final String
URI_NS_SOAP_ENVELOPE = URI_NS_SOAP_1_1_ENVELOPE;
/**
* The namespace identifier for the SOAP 1.1 encoding.
! * An attribute named {@code encodingStyle} in the
! * {@code URI_NS_SOAP_ENVELOPE} namespace and set to the value
! * {@code URI_NS_SOAP_ENCODING} can be added to an element to indicate
* that it is encoded using the rules in section 5 of the SOAP 1.1
* specification.
*/
public static final String
URI_NS_SOAP_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/";
*** 108,125 ****
*/
public static final String
URI_NS_SOAP_1_2_ENCODING = "http://www.w3.org/2003/05/soap-encoding";
/**
! * The media type of the <code>Content-Type</code> MIME header in SOAP 1.1.
* @since 1.6, SAAJ 1.3
*/
public static final String
SOAP_1_1_CONTENT_TYPE = "text/xml";
/**
! * The media type of the <code>Content-Type</code> MIME header in SOAP 1.2.
* @since 1.6, SAAJ 1.3
*/
public static final String
SOAP_1_2_CONTENT_TYPE = "application/soap+xml";
--- 108,125 ----
*/
public static final String
URI_NS_SOAP_1_2_ENCODING = "http://www.w3.org/2003/05/soap-encoding";
/**
! * The media type of the {@code Content-Type} MIME header in SOAP 1.1.
* @since 1.6, SAAJ 1.3
*/
public static final String
SOAP_1_1_CONTENT_TYPE = "text/xml";
/**
! * The media type of the {@code Content-Type} MIME header in SOAP 1.2.
* @since 1.6, SAAJ 1.3
*/
public static final String
SOAP_1_2_CONTENT_TYPE = "application/soap+xml";
< prev index next >