01: /*
02: * Portions Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
03: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
04: *
05: * This code is free software; you can redistribute it and/or modify it
06: * under the terms of the GNU General Public License version 2 only, as
07: * published by the Free Software Foundation. Sun designates this
08: * particular file as subject to the "Classpath" exception as provided
09: * by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
22: * CA 95054 USA or visit www.sun.com if you need additional information or
23: * have any questions.
24: */
25:
26: package com.sun.xml.internal.ws.encoding.soap;
27:
28: import javax.xml.namespace.QName;
29:
30: import com.sun.xml.internal.ws.encoding.soap.streaming.SOAPNamespaceConstants;
31:
32: /**
33: *
34: * @author WS Development Team
35: */
36: public class SOAPConstants {
37:
38: public static final String URI_ENVELOPE = SOAPNamespaceConstants.ENVELOPE;
39: public static final String URI_HTTP = SOAPNamespaceConstants.TRANSPORT_HTTP;
40: public static final String URI_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/";
41: public static final String NS_WSDL_SOAP = "http://schemas.xmlsoap.org/wsdl/soap/";
42: public static final QName QNAME_ENVELOPE_ENCODINGSTYLE = new QName(
43: URI_ENVELOPE, "encodingStyle");
44:
45: public final static QName QNAME_SOAP_ENVELOPE = new QName(
46: URI_ENVELOPE, "Envelope");
47: public final static QName QNAME_SOAP_HEADER = new QName(
48: URI_ENVELOPE, "Header");
49: public static final QName QNAME_MUSTUNDERSTAND = new QName(
50: URI_ENVELOPE, "mustUnderstand");
51: public static final QName QNAME_ROLE = new QName(URI_ENVELOPE,
52: "actor");
53: public final static QName QNAME_SOAP_BODY = new QName(URI_ENVELOPE,
54: "Body");
55: public final static QName QNAME_SOAP_FAULT = new QName(
56: URI_ENVELOPE, "Fault");
57: public final static QName QNAME_SOAP_FAULT_CODE = new QName("",
58: "faultcode");
59: public final static QName QNAME_SOAP_FAULT_STRING = new QName("",
60: "faultstring");
61: public final static QName QNAME_SOAP_FAULT_ACTOR = new QName("",
62: "faultactor");
63: public final static QName QNAME_SOAP_FAULT_DETAIL = new QName("",
64: "detail");
65: public final static QName FAULT_CODE_CLIENT = new QName(
66: URI_ENVELOPE, "Client");
67: public final static QName FAULT_CODE_SERVER = new QName(
68: URI_ENVELOPE, "Server");
69: public final static QName FAULT_CODE_MUST_UNDERSTAND = new QName(
70: URI_ENVELOPE, "MustUnderstand");
71:
72: public final static QName FAULT_CODE_VERSION_MISMATCH = new QName(
73: URI_ENVELOPE, "VersionMismatch");
74: public final static QName FAULT_CODE_DATA_ENCODING_UNKNOWN = new QName(
75: URI_ENVELOPE, "DataEncodingUnknown");
76: public final static QName FAULT_CODE_PROCEDURE_NOT_PRESENT = new QName(
77: URI_ENVELOPE, "ProcedureNotPresent");
78: public final static QName FAULT_CODE_BAD_ARGUMENTS = new QName(
79: URI_ENVELOPE, "BadArguments");
80: }
|