001    /*
002     * Licensed to the Apache Software Foundation (ASF) under one or more
003     * contributor license agreements.  See the NOTICE file distributed with
004     * this work for additional information regarding copyright ownership.
005     * The ASF licenses this file to You under the Apache License, Version 2.0
006     * (the "License"); you may not use this file except in compliance with
007     * the License.  You may obtain a copy of the License at
008     *
009     *      http://www.apache.org/licenses/LICENSE-2.0
010     *
011     * Unless required by applicable law or agreed to in writing, software
012     * distributed under the License is distributed on an "AS IS" BASIS,
013     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014     * See the License for the specific language governing permissions and
015     * limitations under the License.
016     */
017    package org.apache.servicemix.soap.bindings.soap;
018    
019    import javax.xml.namespace.QName;
020    
021    public interface SoapConstants {
022        
023        public static final String SOAP_ACTION_HEADER = "SOAPAction";
024    
025        public static final String SOAP_11_URI = "http://schemas.xmlsoap.org/soap/envelope/";
026        public static final String SOAP_12_URI = "http://www.w3.org/2003/05/soap-envelope";
027    
028        public static final QName SOAP_11_FAULTCODE = new QName("faultcode");
029        public static final QName SOAP_11_FAULTSTRING = new QName("faultstring");
030        public static final QName SOAP_11_FAULTACTOR = new QName("faultactor");
031        public static final QName SOAP_11_FAULTDETAIL = new QName("detail");
032        public static final QName SOAP_11_CODE_VERSIONMISMATCH = new QName(SOAP_11_URI, "VersionMismatch");
033        public static final QName SOAP_11_CODE_MUSTUNDERSTAND = new QName(SOAP_11_URI, "MustUnderstand");
034        public static final QName SOAP_11_CODE_CLIENT = new QName(SOAP_11_URI, "Client");
035        public static final QName SOAP_11_CODE_SERVER = new QName(SOAP_11_URI, "Server");
036        
037        public static final QName SOAP_12_FAULTCODE = new QName(SOAP_12_URI, "Code");
038        public static final QName SOAP_12_FAULTSUBCODE = new QName(SOAP_12_URI, "Subcode");
039        public static final QName SOAP_12_FAULTVALUE = new QName(SOAP_12_URI, "Value");
040        public static final QName SOAP_12_FAULTREASON = new QName(SOAP_12_URI, "Reason");
041        public static final QName SOAP_12_FAULTTEXT = new QName(SOAP_12_URI, "Text");
042        public static final QName SOAP_12_FAULTNODE = new QName(SOAP_12_URI, "Node");
043        public static final QName SOAP_12_FAULTROLE = new QName(SOAP_12_URI, "Role");
044        public static final QName SOAP_12_FAULTDETAIL = new QName(SOAP_12_URI, "Detail");
045        public static final QName SOAP_12_CODE_DATAENCODINGUNKNOWN = new QName(SOAP_12_URI, "DataEncodingUnknown");
046        public static final QName SOAP_12_CODE_VERSIONMISMATCH = new QName(SOAP_12_URI, "VersionMismatch");
047        public static final QName SOAP_12_CODE_MUSTUNDERSTAND = new QName(SOAP_12_URI, "MustUnderstand");
048        public static final QName SOAP_12_CODE_RECEIVER = new QName(SOAP_12_URI, "Receiver");
049        public static final QName SOAP_12_CODE_SENDER = new QName(SOAP_12_URI, "Sender");
050        
051    }