src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/SOAP12Constants.java

changeset 286
f50545b5e2f1
child 368
0989ad8c0860
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/soap/SOAP12Constants.java	Tue Mar 06 16:09:35 2012 -0800
     1.3 @@ -0,0 +1,77 @@
     1.4 +/*
     1.5 + * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
     1.6 + * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.7 + *
     1.8 + * This code is free software; you can redistribute it and/or modify it
     1.9 + * under the terms of the GNU General Public License version 2 only, as
    1.10 + * published by the Free Software Foundation.  Oracle designates this
    1.11 + * particular file as subject to the "Classpath" exception as provided
    1.12 + * by Oracle in the LICENSE file that accompanied this code.
    1.13 + *
    1.14 + * This code is distributed in the hope that it will be useful, but WITHOUT
    1.15 + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1.16 + * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    1.17 + * version 2 for more details (a copy is included in the LICENSE file that
    1.18 + * accompanied this code).
    1.19 + *
    1.20 + * You should have received a copy of the GNU General Public License version
    1.21 + * 2 along with this work; if not, write to the Free Software Foundation,
    1.22 + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    1.23 + *
    1.24 + * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    1.25 + * or visit www.oracle.com if you need additional information or have any
    1.26 + * questions.
    1.27 + */
    1.28 +
    1.29 +package com.sun.xml.internal.ws.encoding.soap;
    1.30 +
    1.31 +import com.sun.xml.internal.ws.encoding.soap.streaming.SOAP12NamespaceConstants;
    1.32 +
    1.33 +import javax.xml.namespace.QName;
    1.34 +
    1.35 +/**
    1.36 + *
    1.37 + * @author WS Development Team
    1.38 + */
    1.39 +public class SOAP12Constants {
    1.40 +
    1.41 +    public static final String URI_ENVELOPE = SOAP12NamespaceConstants.ENVELOPE;
    1.42 +    public static final String URI_ENCODING = "http://schemas.xmlsoap.org/soap/encoding/";
    1.43 +    public static final String URI_HTTP = SOAP12NamespaceConstants.TRANSPORT_HTTP;
    1.44 +    public static final String URI_SOAP_RPC = SOAP12NamespaceConstants.SOAP_RPC;
    1.45 +
    1.46 +
    1.47 +    public static final QName QNAME_SOAP_RPC = new QName(URI_SOAP_RPC, "rpc");
    1.48 +    public static final QName QNAME_SOAP_RESULT = new QName(URI_SOAP_RPC, "result");
    1.49 +
    1.50 +    public static final QName QNAME_SOAP_ENVELOPE    = new QName(URI_ENVELOPE, "Envelope");
    1.51 +    public static final QName QNAME_SOAP_BODY    = new QName(URI_ENVELOPE, "Body");
    1.52 +    public static final QName QNAME_SOAP_HEADER    = new QName(URI_ENVELOPE, "Header");
    1.53 +    public static final QName QNAME_ENVELOPE_ENCODINGSTYLE = new QName(URI_ENVELOPE, "encodingStyle");
    1.54 +    public static final QName QNAME_SOAP_FAULT             = new QName(URI_ENVELOPE, "Fault");
    1.55 +    public static final QName QNAME_MUSTUNDERSTAND         = new QName(URI_ENVELOPE, "mustUnderstand");
    1.56 +    public static final QName QNAME_ROLE                   = new QName(URI_ENVELOPE, "role");
    1.57 +
    1.58 +    public static final QName QNAME_NOT_UNDERSTOOD         = new QName(URI_ENVELOPE, "NotUnderstood");
    1.59 +
    1.60 +    //fault
    1.61 +    public static final QName QNAME_FAULT_CODE             = new QName(URI_ENVELOPE, "Code");
    1.62 +    public static final QName QNAME_FAULT_SUBCODE          = new QName(URI_ENVELOPE, "Subcode");
    1.63 +    public static final QName QNAME_FAULT_VALUE            = new QName(URI_ENVELOPE, "Value");
    1.64 +    public static final QName QNAME_FAULT_REASON           = new QName(URI_ENVELOPE, "Reason");
    1.65 +    public static final QName QNAME_FAULT_NODE             = new QName(URI_ENVELOPE, "Node");
    1.66 +    public static final QName QNAME_FAULT_ROLE             = new QName(URI_ENVELOPE, "Role");
    1.67 +    public static final QName QNAME_FAULT_DETAIL           = new QName(URI_ENVELOPE, "Detail");
    1.68 +    public static final QName QNAME_FAULT_REASON_TEXT             = new QName(URI_ENVELOPE, "Text");
    1.69 +    public final static QName QNAME_UPGRADE                = new QName(URI_ENVELOPE, "Upgrade");
    1.70 +    public final static QName QNAME_UPGRADE_SUPPORTED_ENVELOPE           = new QName(URI_ENVELOPE, "SupportedEnvelope");
    1.71 +
    1.72 +
    1.73 +    //fault codes
    1.74 +    public final static QName FAULT_CODE_MUST_UNDERSTAND   = new QName(URI_ENVELOPE, "MustUnderstand");
    1.75 +    public final static QName FAULT_CODE_MISUNDERSTOOD   = new QName(URI_ENVELOPE, "Misunderstood");
    1.76 +    public final static QName FAULT_CODE_VERSION_MISMATCH  = new QName(URI_ENVELOPE, "VersionMismatch");
    1.77 +    public final static QName FAULT_CODE_DATA_ENCODING_UNKNOWN = new QName(URI_ENVELOPE, "DataEncodingUnknown");
    1.78 +    public final static QName FAULT_CODE_PROCEDURE_NOT_PRESENT = new QName(URI_ENVELOPE, "ProcedureNotPresent");
    1.79 +    public final static QName FAULT_CODE_BAD_ARGUMENTS      = new QName(URI_ENVELOPE, "BadArguments");
    1.80 +}

mercurial