001    /*
002     * Licensed to the Apache Software Foundation (ASF) under one
003     * or more contributor license agreements.  See the NOTICE file
004     * distributed with this work for additional information
005     * regarding copyright ownership.  The ASF licenses this file
006     * to you under the Apache License, Version 2.0 (the
007     * "License"); you may not use this file except in compliance
008     * with the License.  You may obtain a copy of the License at
009     *
010     *  http://www.apache.org/licenses/LICENSE-2.0
011     *
012     * Unless required by applicable law or agreed to in writing,
013     * software distributed under the License is distributed on an
014     * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015     * KIND, either express or implied.  See the License for the
016     * specific language governing permissions and limitations
017     * under the License.
018     */
019    
020    package javax.xml.rpc;
021    
022    /**
023     * Constants used in JAX-RPC for namespace prefixes and URIs.
024     *
025     * @version $Rev: 467553 $ $Date: 2006-10-25 00:01:51 -0400 (Wed, 25 Oct 2006) $
026     */
027    public class NamespaceConstants {
028        // fixme: we should have a private constructor and/or be final
029    
030        /**
031         * Constructor NamespaceConstants.
032         */
033        public NamespaceConstants() {}
034    
035        /** Namespace prefix for SOAP Envelope. */
036        public static final String NSPREFIX_SOAP_ENVELOPE = "soapenv";
037    
038        /** Namespace prefix for SOAP Encoding. */
039        public static final String NSPREFIX_SOAP_ENCODING = "soapenc";
040    
041        /** Namespace prefix for XML schema XSD. */
042        public static final String NSPREFIX_SCHEMA_XSD = "xsd";
043    
044        /** Namespace prefix for XML Schema XSI. */
045        public static final String NSPREFIX_SCHEMA_XSI = "xsi";
046    
047        /** Nameapace URI for SOAP 1.1 Envelope. */
048        public static final String NSURI_SOAP_ENVELOPE =
049            "http://schemas.xmlsoap.org/soap/envelope/";
050    
051        /** Nameapace URI for SOAP 1.1 Encoding. */
052        public static final String NSURI_SOAP_ENCODING =
053            "http://schemas.xmlsoap.org/soap/encoding/";
054    
055        /** Nameapace URI for SOAP 1.1 next actor role. */
056        public static final String NSURI_SOAP_NEXT_ACTOR =
057            "http://schemas.xmlsoap.org/soap/actor/next";
058    
059        /** Namespace URI for XML Schema XSD. */
060        public static final String NSURI_SCHEMA_XSD =
061            "http://www.w3.org/2001/XMLSchema";
062    
063        /** Namespace URI for XML Schema XSI. */
064        public static final String NSURI_SCHEMA_XSI =
065            "http://www.w3.org/2001/XMLSchema-instance";
066    }
067