001/**
002 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003 *
004 * Copyright (c) 2007 Sun Microsystems Inc. All Rights Reserved
005 *
006 * The contents of this file are subject to the terms
007 * of the Common Development and Distribution License
008 * (the License). You may not use this file except in
009 * compliance with the License.
010 *
011 * You can obtain a copy of the License at
012 * https://opensso.dev.java.net/public/CDDLv1.0.html or
013 * opensso/legal/CDDLv1.0.txt
014 * See the License for the specific language governing
015 * permission and limitations under the License.
016 *
017 * When distributing Covered Code, include this CDDL
018 * Header Notice in each file and include the License file
019 * at opensso/legal/CDDLv1.0.txt.
020 * If applicable, add the following below the CDDL Header,
021 * with the fields enclosed by brackets [] replaced by
022 * your own identifying information:
023 * "Portions Copyrighted [year] [name of copyright owner]"
024 *
025 * $Id: PAOSConstants.java,v 1.2 2008/06/25 05:47:19 qcheng Exp $
026 *
027 */
028package com.sun.identity.liberty.ws.paos;
029
030/**
031 * This interface defines constants common to all PAOS elements.
032 *
033 * @supported.all.api
034 */
035public interface PAOSConstants {
036
037    /**
038     * PAOS mime type
039     */
040    public static final String PAOS_MIME_TYPE =
041        "application/vnd.paos+xml";
042
043    /**
044     * String used to declare PAOS namespace prefix.
045     */
046    public static final String PAOS_PREFIX = "paos";
047
048    /**
049     * PAOS namespace URI.
050     */
051    public static final String PAOS_NAMESPACE = "urn:liberty:paos:2003-08";
052
053    /**
054     * PAOS Request element local name.
055     */
056    public static final String REQUEST = "Request";
057
058    /**
059     * PAOS Request element local name.
060     */
061    public static final String RESPONSE = "Response";
062
063    /**
064     * PAOS Request responseConsumerURL attribute name.
065     */
066    public static final String RESPONSE_CONSUMER_URL = "responseConsumerURL";
067
068    /**
069     * PAOS Request service attribute name.
070     */
071    public static final String SERVICE = "service";
072
073    /**
074     * PAOS Request messageID attribute name.
075     */
076    public static final String MESSAGE_ID = "messageID";
077
078    /**
079     * PAOS Response refToMessageID attribute name.
080     */
081    public static final String REF_TO_MESSAGE_ID = "refToMessageID";
082
083    /**
084     * SOAP mustUnderstand attribute name.
085     */
086    public static final String MUST_UNDERSTAND = "mustUnderstand";
087    
088    /**
089     * SOAP actor attribute name
090     */
091    public static final String ACTOR = "actor";
092
093    /**
094     * String used to declare SOAP envelope namespace prefix.
095     */
096    public static final String SOAP_ENV_PREFIX = "soap-env";
097    
098    /**
099     * SOAP envelope namespace URI.
100     */
101    public static final String SOAP_ENV_NAMESPACE =
102        "http://schemas.xmlsoap.org/soap/envelope/";
103
104}