Tue, 09 Apr 2013 14:51:13 +0100
8010393: Update JAX-WS RI to 2.2.9-b12941
Reviewed-by: alanb, erikj
Contributed-by: miroslav.kos@oracle.com, martin.grebac@oracle.com
ohair@286 | 1 | /* |
alanb@368 | 2 | * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
ohair@286 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
ohair@286 | 4 | * |
ohair@286 | 5 | * This code is free software; you can redistribute it and/or modify it |
ohair@286 | 6 | * under the terms of the GNU General Public License version 2 only, as |
ohair@286 | 7 | * published by the Free Software Foundation. Oracle designates this |
ohair@286 | 8 | * particular file as subject to the "Classpath" exception as provided |
ohair@286 | 9 | * by Oracle in the LICENSE file that accompanied this code. |
ohair@286 | 10 | * |
ohair@286 | 11 | * This code is distributed in the hope that it will be useful, but WITHOUT |
ohair@286 | 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
ohair@286 | 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
ohair@286 | 14 | * version 2 for more details (a copy is included in the LICENSE file that |
ohair@286 | 15 | * accompanied this code). |
ohair@286 | 16 | * |
ohair@286 | 17 | * You should have received a copy of the GNU General Public License version |
ohair@286 | 18 | * 2 along with this work; if not, write to the Free Software Foundation, |
ohair@286 | 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
ohair@286 | 20 | * |
ohair@286 | 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
ohair@286 | 22 | * or visit www.oracle.com if you need additional information or have any |
ohair@286 | 23 | * questions. |
ohair@286 | 24 | */ |
ohair@286 | 25 | |
ohair@286 | 26 | package com.sun.tools.internal.ws.wsdl.document.soap; |
ohair@286 | 27 | |
ohair@286 | 28 | import com.sun.xml.internal.ws.encoding.soap.streaming.SOAPNamespaceConstants; |
ohair@286 | 29 | |
ohair@286 | 30 | import javax.xml.namespace.QName; |
ohair@286 | 31 | |
ohair@286 | 32 | /** |
ohair@286 | 33 | * Interface defining SOAP-related constants. |
ohair@286 | 34 | * |
ohair@286 | 35 | * @author WS Development Team |
ohair@286 | 36 | */ |
ohair@286 | 37 | public interface SOAPConstants { |
ohair@286 | 38 | |
ohair@286 | 39 | // namespace URIs |
ohair@286 | 40 | public static final String URI_ENVELOPE = SOAPNamespaceConstants.ENVELOPE; |
ohair@286 | 41 | public static final String NS_WSDL_SOAP = |
ohair@286 | 42 | "http://schemas.xmlsoap.org/wsdl/soap/"; |
ohair@286 | 43 | public static final String NS_SOAP_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/"; |
ohair@286 | 44 | |
ohair@286 | 45 | // other URIs |
ohair@286 | 46 | public final String URI_SOAP_TRANSPORT_HTTP = |
ohair@286 | 47 | "http://schemas.xmlsoap.org/soap/http"; |
ohair@286 | 48 | |
ohair@286 | 49 | // QNames |
ohair@286 | 50 | public static final QName QNAME_ADDRESS = |
ohair@286 | 51 | new QName(NS_WSDL_SOAP, "address"); |
ohair@286 | 52 | public static final QName QNAME_BINDING = |
ohair@286 | 53 | new QName(NS_WSDL_SOAP, "binding"); |
ohair@286 | 54 | public static final QName QNAME_BODY = new QName(NS_WSDL_SOAP, "body"); |
ohair@286 | 55 | public static final QName QNAME_FAULT = new QName(NS_WSDL_SOAP, "fault"); |
ohair@286 | 56 | public static final QName QNAME_HEADER = new QName(NS_WSDL_SOAP, "header"); |
ohair@286 | 57 | public static final QName QNAME_HEADERFAULT = |
ohair@286 | 58 | new QName(NS_WSDL_SOAP, "headerfault"); |
ohair@286 | 59 | public static final QName QNAME_OPERATION = |
ohair@286 | 60 | new QName(NS_WSDL_SOAP, "operation"); |
ohair@286 | 61 | public static final QName QNAME_MUSTUNDERSTAND = |
ohair@286 | 62 | new QName(URI_ENVELOPE, "mustUnderstand"); |
ohair@286 | 63 | |
ohair@286 | 64 | |
ohair@286 | 65 | // SOAP encoding QNames |
ohair@286 | 66 | public static final QName QNAME_TYPE_ARRAY = |
ohair@286 | 67 | new QName(NS_SOAP_ENCODING, "Array"); |
ohair@286 | 68 | public static final QName QNAME_ATTR_GROUP_COMMON_ATTRIBUTES = |
ohair@286 | 69 | new QName(NS_SOAP_ENCODING, "commonAttributes"); |
ohair@286 | 70 | public static final QName QNAME_ATTR_ARRAY_TYPE = |
ohair@286 | 71 | new QName(NS_SOAP_ENCODING, "arrayType"); |
ohair@286 | 72 | public static final QName QNAME_ATTR_OFFSET = |
ohair@286 | 73 | new QName(NS_SOAP_ENCODING, "offset"); |
ohair@286 | 74 | public static final QName QNAME_ATTR_POSITION = |
ohair@286 | 75 | new QName(NS_SOAP_ENCODING, "position"); |
ohair@286 | 76 | |
ohair@286 | 77 | public static final QName QNAME_TYPE_BASE64 = |
ohair@286 | 78 | new QName(NS_SOAP_ENCODING, "base64"); |
ohair@286 | 79 | |
ohair@286 | 80 | public static final QName QNAME_ELEMENT_STRING = |
ohair@286 | 81 | new QName(NS_SOAP_ENCODING, "string"); |
ohair@286 | 82 | public static final QName QNAME_ELEMENT_NORMALIZED_STRING = |
ohair@286 | 83 | new QName(NS_SOAP_ENCODING, "normalizedString"); |
ohair@286 | 84 | public static final QName QNAME_ELEMENT_TOKEN = |
ohair@286 | 85 | new QName(NS_SOAP_ENCODING, "token"); |
ohair@286 | 86 | public static final QName QNAME_ELEMENT_BYTE = |
ohair@286 | 87 | new QName(NS_SOAP_ENCODING, "byte"); |
ohair@286 | 88 | public static final QName QNAME_ELEMENT_UNSIGNED_BYTE = |
ohair@286 | 89 | new QName(NS_SOAP_ENCODING, "unsignedByte"); |
ohair@286 | 90 | public static final QName QNAME_ELEMENT_BASE64_BINARY = |
ohair@286 | 91 | new QName(NS_SOAP_ENCODING, "base64Binary"); |
ohair@286 | 92 | public static final QName QNAME_ELEMENT_HEX_BINARY = |
ohair@286 | 93 | new QName(NS_SOAP_ENCODING, "hexBinary"); |
ohair@286 | 94 | public static final QName QNAME_ELEMENT_INTEGER = |
ohair@286 | 95 | new QName(NS_SOAP_ENCODING, "integer"); |
ohair@286 | 96 | public static final QName QNAME_ELEMENT_POSITIVE_INTEGER = |
ohair@286 | 97 | new QName(NS_SOAP_ENCODING, "positiveInteger"); |
ohair@286 | 98 | public static final QName QNAME_ELEMENT_NEGATIVE_INTEGER = |
ohair@286 | 99 | new QName(NS_SOAP_ENCODING, "negativeInteger"); |
ohair@286 | 100 | public static final QName QNAME_ELEMENT_NON_NEGATIVE_INTEGER = |
ohair@286 | 101 | new QName(NS_SOAP_ENCODING, "nonNegativeInteger"); |
ohair@286 | 102 | public static final QName QNAME_ELEMENT_NON_POSITIVE_INTEGER = |
ohair@286 | 103 | new QName(NS_SOAP_ENCODING, "nonPositiveInteger"); |
ohair@286 | 104 | public static final QName QNAME_ELEMENT_INT = |
ohair@286 | 105 | new QName(NS_SOAP_ENCODING, "int"); |
ohair@286 | 106 | public static final QName QNAME_ELEMENT_UNSIGNED_INT = |
ohair@286 | 107 | new QName(NS_SOAP_ENCODING, "unsignedInt"); |
ohair@286 | 108 | public static final QName QNAME_ELEMENT_LONG = |
ohair@286 | 109 | new QName(NS_SOAP_ENCODING, "long"); |
ohair@286 | 110 | public static final QName QNAME_ELEMENT_UNSIGNED_LONG = |
ohair@286 | 111 | new QName(NS_SOAP_ENCODING, "unsignedLong"); |
ohair@286 | 112 | public static final QName QNAME_ELEMENT_SHORT = |
ohair@286 | 113 | new QName(NS_SOAP_ENCODING, "short"); |
ohair@286 | 114 | public static final QName QNAME_ELEMENT_UNSIGNED_SHORT = |
ohair@286 | 115 | new QName(NS_SOAP_ENCODING, "unsignedShort"); |
ohair@286 | 116 | public static final QName QNAME_ELEMENT_DECIMAL = |
ohair@286 | 117 | new QName(NS_SOAP_ENCODING, "decimal"); |
ohair@286 | 118 | public static final QName QNAME_ELEMENT_FLOAT = |
ohair@286 | 119 | new QName(NS_SOAP_ENCODING, "float"); |
ohair@286 | 120 | public static final QName QNAME_ELEMENT_DOUBLE = |
ohair@286 | 121 | new QName(NS_SOAP_ENCODING, "double"); |
ohair@286 | 122 | public static final QName QNAME_ELEMENT_BOOLEAN = |
ohair@286 | 123 | new QName(NS_SOAP_ENCODING, "boolean"); |
ohair@286 | 124 | public static final QName QNAME_ELEMENT_TIME = |
ohair@286 | 125 | new QName(NS_SOAP_ENCODING, "time"); |
ohair@286 | 126 | public static final QName QNAME_ELEMENT_DATE_TIME = |
ohair@286 | 127 | new QName(NS_SOAP_ENCODING, "dateTime"); |
ohair@286 | 128 | public static final QName QNAME_ELEMENT_DURATION = |
ohair@286 | 129 | new QName(NS_SOAP_ENCODING, "duration"); |
ohair@286 | 130 | public static final QName QNAME_ELEMENT_DATE = |
ohair@286 | 131 | new QName(NS_SOAP_ENCODING, "date"); |
ohair@286 | 132 | public static final QName QNAME_ELEMENT_G_MONTH = |
ohair@286 | 133 | new QName(NS_SOAP_ENCODING, "gMonth"); |
ohair@286 | 134 | public static final QName QNAME_ELEMENT_G_YEAR = |
ohair@286 | 135 | new QName(NS_SOAP_ENCODING, "gYear"); |
ohair@286 | 136 | public static final QName QNAME_ELEMENT_G_YEAR_MONTH = |
ohair@286 | 137 | new QName(NS_SOAP_ENCODING, "gYearMonth"); |
ohair@286 | 138 | public static final QName QNAME_ELEMENT_G_DAY = |
ohair@286 | 139 | new QName(NS_SOAP_ENCODING, "gDay"); |
ohair@286 | 140 | public static final QName QNAME_ELEMENT_G_MONTH_DAY = |
ohair@286 | 141 | new QName(NS_SOAP_ENCODING, "gMonthDay"); |
ohair@286 | 142 | public static final QName QNAME_ELEMENT_NAME = |
ohair@286 | 143 | new QName(NS_SOAP_ENCODING, "Name"); |
ohair@286 | 144 | public static final QName QNAME_ELEMENT_QNAME = |
ohair@286 | 145 | new QName(NS_SOAP_ENCODING, "QName"); |
ohair@286 | 146 | public static final QName QNAME_ELEMENT_NCNAME = |
ohair@286 | 147 | new QName(NS_SOAP_ENCODING, "NCName"); |
ohair@286 | 148 | public static final QName QNAME_ELEMENT_ANY_URI = |
ohair@286 | 149 | new QName(NS_SOAP_ENCODING, "anyURI"); |
ohair@286 | 150 | public static final QName QNAME_ELEMENT_ID = |
ohair@286 | 151 | new QName(NS_SOAP_ENCODING, "ID"); |
ohair@286 | 152 | public static final QName QNAME_ELEMENT_IDREF = |
ohair@286 | 153 | new QName(NS_SOAP_ENCODING, "IDREF"); |
ohair@286 | 154 | public static final QName QNAME_ELEMENT_IDREFS = |
ohair@286 | 155 | new QName(NS_SOAP_ENCODING, "IDREFS"); |
ohair@286 | 156 | public static final QName QNAME_ELEMENT_ENTITY = |
ohair@286 | 157 | new QName(NS_SOAP_ENCODING, "ENTITY"); |
ohair@286 | 158 | public static final QName QNAME_ELEMENT_ENTITIES = |
ohair@286 | 159 | new QName(NS_SOAP_ENCODING, "ENTITIES"); |
ohair@286 | 160 | public static final QName QNAME_ELEMENT_NOTATION = |
ohair@286 | 161 | new QName(NS_SOAP_ENCODING, "NOTATION"); |
ohair@286 | 162 | public static final QName QNAME_ELEMENT_NMTOKEN = |
ohair@286 | 163 | new QName(NS_SOAP_ENCODING, "NMTOKEN"); |
ohair@286 | 164 | public static final QName QNAME_ELEMENT_NMTOKENS = |
ohair@286 | 165 | new QName(NS_SOAP_ENCODING, "NMTOKENS"); |
ohair@286 | 166 | |
ohair@286 | 167 | public static final QName QNAME_TYPE_STRING = |
ohair@286 | 168 | new QName(NS_SOAP_ENCODING, "string"); |
ohair@286 | 169 | public static final QName QNAME_TYPE_NORMALIZED_STRING = |
ohair@286 | 170 | new QName(NS_SOAP_ENCODING, "normalizedString"); |
ohair@286 | 171 | public static final QName QNAME_TYPE_TOKEN = |
ohair@286 | 172 | new QName(NS_SOAP_ENCODING, "token"); |
ohair@286 | 173 | public static final QName QNAME_TYPE_BYTE = |
ohair@286 | 174 | new QName(NS_SOAP_ENCODING, "byte"); |
ohair@286 | 175 | public static final QName QNAME_TYPE_UNSIGNED_BYTE = |
ohair@286 | 176 | new QName(NS_SOAP_ENCODING, "unsignedByte"); |
ohair@286 | 177 | public static final QName QNAME_TYPE_BASE64_BINARY = |
ohair@286 | 178 | new QName(NS_SOAP_ENCODING, "base64Binary"); |
ohair@286 | 179 | public static final QName QNAME_TYPE_HEX_BINARY = |
ohair@286 | 180 | new QName(NS_SOAP_ENCODING, "hexBinary"); |
ohair@286 | 181 | public static final QName QNAME_TYPE_INTEGER = |
ohair@286 | 182 | new QName(NS_SOAP_ENCODING, "integer"); |
ohair@286 | 183 | public static final QName QNAME_TYPE_POSITIVE_INTEGER = |
ohair@286 | 184 | new QName(NS_SOAP_ENCODING, "positiveInteger"); |
ohair@286 | 185 | public static final QName QNAME_TYPE_NEGATIVE_INTEGER = |
ohair@286 | 186 | new QName(NS_SOAP_ENCODING, "negativeInteger"); |
ohair@286 | 187 | public static final QName QNAME_TYPE_NON_NEGATIVE_INTEGER = |
ohair@286 | 188 | new QName(NS_SOAP_ENCODING, "nonNegativeInteger"); |
ohair@286 | 189 | public static final QName QNAME_TYPE_NON_POSITIVE_INTEGER = |
ohair@286 | 190 | new QName(NS_SOAP_ENCODING, "nonPositiveInteger"); |
ohair@286 | 191 | public static final QName QNAME_TYPE_INT = |
ohair@286 | 192 | new QName(NS_SOAP_ENCODING, "int"); |
ohair@286 | 193 | public static final QName QNAME_TYPE_UNSIGNED_INT = |
ohair@286 | 194 | new QName(NS_SOAP_ENCODING, "unsignedInt"); |
ohair@286 | 195 | public static final QName QNAME_TYPE_LONG = |
ohair@286 | 196 | new QName(NS_SOAP_ENCODING, "long"); |
ohair@286 | 197 | public static final QName QNAME_TYPE_UNSIGNED_LONG = |
ohair@286 | 198 | new QName(NS_SOAP_ENCODING, "unsignedLong"); |
ohair@286 | 199 | public static final QName QNAME_TYPE_SHORT = |
ohair@286 | 200 | new QName(NS_SOAP_ENCODING, "short"); |
ohair@286 | 201 | public static final QName QNAME_TYPE_UNSIGNED_SHORT = |
ohair@286 | 202 | new QName(NS_SOAP_ENCODING, "unsignedShort"); |
ohair@286 | 203 | public static final QName QNAME_TYPE_DECIMAL = |
ohair@286 | 204 | new QName(NS_SOAP_ENCODING, "decimal"); |
ohair@286 | 205 | public static final QName QNAME_TYPE_FLOAT = |
ohair@286 | 206 | new QName(NS_SOAP_ENCODING, "float"); |
ohair@286 | 207 | public static final QName QNAME_TYPE_DOUBLE = |
ohair@286 | 208 | new QName(NS_SOAP_ENCODING, "double"); |
ohair@286 | 209 | public static final QName QNAME_TYPE_BOOLEAN = |
ohair@286 | 210 | new QName(NS_SOAP_ENCODING, "boolean"); |
ohair@286 | 211 | public static final QName QNAME_TYPE_TIME = |
ohair@286 | 212 | new QName(NS_SOAP_ENCODING, "time"); |
ohair@286 | 213 | public static final QName QNAME_TYPE_DATE_TIME = |
ohair@286 | 214 | new QName(NS_SOAP_ENCODING, "dateTime"); |
ohair@286 | 215 | public static final QName QNAME_TYPE_DURATION = |
ohair@286 | 216 | new QName(NS_SOAP_ENCODING, "duration"); |
ohair@286 | 217 | public static final QName QNAME_TYPE_DATE = |
ohair@286 | 218 | new QName(NS_SOAP_ENCODING, "date"); |
ohair@286 | 219 | public static final QName QNAME_TYPE_G_MONTH = |
ohair@286 | 220 | new QName(NS_SOAP_ENCODING, "gMonth"); |
ohair@286 | 221 | public static final QName QNAME_TYPE_G_YEAR = |
ohair@286 | 222 | new QName(NS_SOAP_ENCODING, "gYear"); |
ohair@286 | 223 | public static final QName QNAME_TYPE_G_YEAR_MONTH = |
ohair@286 | 224 | new QName(NS_SOAP_ENCODING, "gYearMonth"); |
ohair@286 | 225 | public static final QName QNAME_TYPE_G_DAY = |
ohair@286 | 226 | new QName(NS_SOAP_ENCODING, "gDay"); |
ohair@286 | 227 | public static final QName QNAME_TYPE_G_MONTH_DAY = |
ohair@286 | 228 | new QName(NS_SOAP_ENCODING, "gMonthDay"); |
ohair@286 | 229 | public static final QName QNAME_TYPE_NAME = |
ohair@286 | 230 | new QName(NS_SOAP_ENCODING, "Name"); |
ohair@286 | 231 | public static final QName QNAME_TYPE_QNAME = |
ohair@286 | 232 | new QName(NS_SOAP_ENCODING, "QName"); |
ohair@286 | 233 | public static final QName QNAME_TYPE_NCNAME = |
ohair@286 | 234 | new QName(NS_SOAP_ENCODING, "NCName"); |
ohair@286 | 235 | public static final QName QNAME_TYPE_ANY_URI = |
ohair@286 | 236 | new QName(NS_SOAP_ENCODING, "anyURI"); |
ohair@286 | 237 | public static final QName QNAME_TYPE_ID = new QName(NS_SOAP_ENCODING, "ID"); |
ohair@286 | 238 | public static final QName QNAME_TYPE_IDREF = |
ohair@286 | 239 | new QName(NS_SOAP_ENCODING, "IDREF"); |
ohair@286 | 240 | public static final QName QNAME_TYPE_IDREFS = |
ohair@286 | 241 | new QName(NS_SOAP_ENCODING, "IDREFS"); |
ohair@286 | 242 | public static final QName QNAME_TYPE_ENTITY = |
ohair@286 | 243 | new QName(NS_SOAP_ENCODING, "ENTITY"); |
ohair@286 | 244 | public static final QName QNAME_TYPE_ENTITIES = |
ohair@286 | 245 | new QName(NS_SOAP_ENCODING, "ENTITIES"); |
ohair@286 | 246 | public static final QName QNAME_TYPE_NOTATION = |
ohair@286 | 247 | new QName(NS_SOAP_ENCODING, "NOTATION"); |
ohair@286 | 248 | public static final QName QNAME_TYPE_NMTOKEN = |
ohair@286 | 249 | new QName(NS_SOAP_ENCODING, "NMTOKEN"); |
ohair@286 | 250 | public static final QName QNAME_TYPE_NMTOKENS = |
ohair@286 | 251 | new QName(NS_SOAP_ENCODING, "NMTOKENS"); |
ohair@286 | 252 | public static final QName QNAME_TYPE_LANGUAGE = |
ohair@286 | 253 | new QName(NS_SOAP_ENCODING, "LANGUAGE"); |
ohair@286 | 254 | |
ohair@286 | 255 | // SOAP attributes with non-colonized names |
ohair@286 | 256 | public static final QName QNAME_ATTR_ID = new QName("", "id"); |
ohair@286 | 257 | public static final QName QNAME_ATTR_HREF = new QName("", "href"); |
ohair@286 | 258 | |
ohair@286 | 259 | } |