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