Tue, 06 Mar 2012 16:09:35 -0800
7150322: Stop using drop source bundles in jaxws
Reviewed-by: darcy, ohrstrom
1 /*
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
26 package com.sun.xml.internal.ws.wsdl.parser;
28 import com.sun.xml.internal.ws.encoding.soap.streaming.SOAPNamespaceConstants;
29 import com.sun.xml.internal.ws.encoding.soap.streaming.SOAP12NamespaceConstants;
31 import javax.xml.namespace.QName;
33 public interface SOAPConstants {
35 // namespace URIs
36 public static final String URI_ENVELOPE = SOAPNamespaceConstants.ENVELOPE;
37 public static final String URI_ENVELOPE12 = SOAP12NamespaceConstants.ENVELOPE;
39 public static final String NS_WSDL_SOAP =
40 "http://schemas.xmlsoap.org/wsdl/soap/";
42 public static final String NS_WSDL_SOAP12 =
43 "http://schemas.xmlsoap.org/wsdl/soap12/";
45 public static final String NS_SOAP_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/";
47 // other URIs
48 public final String URI_SOAP_TRANSPORT_HTTP =
49 "http://schemas.xmlsoap.org/soap/http";
51 // QNames
52 public static final QName QNAME_ADDRESS =
53 new QName(NS_WSDL_SOAP, "address");
54 public static final QName QNAME_SOAP12ADDRESS =
55 new QName(NS_WSDL_SOAP12, "address");
56 public static final QName QNAME_BINDING =
57 new QName(NS_WSDL_SOAP, "binding");
58 public static final QName QNAME_BODY = new QName(NS_WSDL_SOAP, "body");
59 public static final QName QNAME_SOAP12BODY = new QName(NS_WSDL_SOAP12, "body");
60 public static final QName QNAME_FAULT = new QName(NS_WSDL_SOAP, "fault");
61 public static final QName QNAME_HEADER = new QName(NS_WSDL_SOAP, "header");
62 public static final QName QNAME_SOAP12HEADER = new QName(NS_WSDL_SOAP12, "header");
63 public static final QName QNAME_HEADERFAULT =
64 new QName(NS_WSDL_SOAP, "headerfault");
65 public static final QName QNAME_OPERATION =
66 new QName(NS_WSDL_SOAP, "operation");
67 public static final QName QNAME_SOAP12OPERATION =
68 new QName(NS_WSDL_SOAP12, "operation");
69 public static final QName QNAME_MUSTUNDERSTAND =
70 new QName(URI_ENVELOPE, "mustUnderstand");
73 }