/*
* The Apache Software License, Version 1.1
*
*
* Copyright (c) 2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* 3. The end-user documentation included with the redistribution,
* if any, must include the following acknowledgment:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowledgment may appear in the software itself,
* if and wherever such third-party acknowledgments normally appear.
*
* 4. The names "WSIF" and "Apache Software Foundation" must
* not be used to endorse or promote products derived from this
* software without prior written permission. For written
* permission, please contact apache@apache.org.
*
* 5. Products derived from this software may not be called "Apache",
* nor may "Apache" appear in their name, without prior written
* permission of the Apache Software Foundation.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* ====================================================================
*
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation and was
* originally based on software copyright (c) 2001, 2002, International
* Business Machines, Inc., http://www.apache.org. For more
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*/
package org.apache.wsif;
/**
* Simple class to store constants used by WSIF
* @author Owen Burroughs <owenb@apache.org>
* @author Ant Elder <antelder@apache.org>
* @author Jeremy Hughes <hughesj@apache.org>
* @author Mark Whitlock <whitlock@apache.org>
*/
public class WSIFConstants {
/**
* WSIF Property file name
*/
public static final String WSIF_PROPERTIES = "wsif.properties";
/**
* WSIF property for pluggable provider defaults
*/
public static final String WSIF_PROP_PROVIDER_PFX1 =
"wsif.provider.default.";
/**
* WSIF property for pluggable provider defaults
*/
public static final String WSIF_PROP_PROVIDER_PFX2 = "wsif.provider.uri.";
/**
* WSIF property for asynchronous requests
*/
public static final String WSIF_PROP_ASYNC_TIMEOUT =
"wsif.asyncrequest.timeout";
/**
* WSIF property for asynchronous requests
*/
public static final String WSIF_PROP_ASYNC_USING_MDB =
"wsif.async.listener.mdb";
/**
* WSIFDefaultCorrelationService timeout check delay
* in milliseconds. Default is 5 seconds
*/
public static final int CORRELATION_TIMEOUT_DELAY = 5000;
/**
* WSIF properties for synchronous requests
*/
public static final String WSIF_PROP_SYNC_TIMEOUT =
"wsif.syncrequest.timeout";
/**
* WSIFCorelationService registered JNDI name
*/
public static final String CORRELATION_SERVICE_NAMESPACE =
"wsif/WSIFCorrelationService";
/**
* WSIF context part name for HTTP basic authentication userid
*/
public static final String CONTEXT_HTTP_USER =
"org.apache.wsif.http.UserName";
/**
* WSIF context part name for HTTP basic authentication userid
*/
public static final String CONTEXT_HTTP_PSWD =
"org.apache.wsif.http.Password";
/**
* WSIF context part name for SOAP headers
* @deprecated use CONTEXT_REQUEST_SOAP_HEADERS
*/
public static final String CONTEXT_SOAP_HEADERS =
"org.apache.wsif.soap.RequestHeaders";
/**
* WSIF context part name for SOAP headers
*/
public static final String CONTEXT_REQUEST_SOAP_HEADERS =
"org.apache.wsif.soap.RequestHeaders";
/**
* WSIF context part name for SOAP headers
*/
public static final String CONTEXT_RESPONSE_SOAP_HEADERS =
"org.apache.wsif.soap.ResponseHeaders";
/**
* WSIF context part name prefix for JMSProperties
*/
public static final String CONTEXT_JMS_PREFIX = "JMSProperty.";
/**
* WSIF context part name for the AXIS operation style
*/
public static final String CONTEXT_OPERATION_STYLE =
"org.apache.wsif.axis.operationStyle";
/**
* WSIF context value for AXIS wrapped operation style
*/
public static final String CONTEXT_OPERATION_STYLE_WRAPPED =
"wrapped";
/**
* WSIF context value for AXIS unwrapped operation style
*/
public static final String CONTEXT_OPERATION_STYLE_UNWRAPPED =
"unwrapped";
/**
* SOAP faults WSIFMessage part name for the fault code
*/
public static final String SOAP_FAULT_MSG_NAME =
"org.apache.wsif.soap.fault";
/**
* SOAP faults WSIFMessage part name for the fault code
*/
public static final String SOAP_FAULT_CODE =
"org.apache.wsif.soap.fault.code";
/**
* SOAP faults WSIFMessage part name for the fault string
*/
public static final String SOAP_FAULT_STRING =
"org.apache.wsif.soap.fault.string";
/**
* SOAP faults WSIFMessage part name for the fault actor
*/
public static final String SOAP_FAULT_ACTOR =
"org.apache.wsif.soap.fault.actor";
/**
* SOAP faults WSIFMessage part name for the fault object
*/
public static final String SOAP_FAULT_OBJECT =
"org.apache.wsif.soap.fault.object";
/**
* WSDLFactory property name
*/
public static final String WSDLFACTORY_PROPERTY_NAME =
"javax.wsdl.factory.WSDLFactory";
/**
* WSIF implemetation of WSDLfactory
*/
public static final String WSIF_WSDLFACTORY =
"org.apache.wsif.wsdl.WSIFWSDLFactoryImpl";
/**
* JMS provider JMS property containing the operation name
*/
public static final String JMS_PROP_OPERATION_NAME =
"WSDLOperation";
/**
* JMS provider JMS property containing the input message name
*/
public static final String JMS_PROP_INPUT_NAME =
"WSDLInput";
/**
* JMS provider JMS property containing the output message name
*/
public static final String JMS_PROP_OUTPUT_NAME =
"WSDLOutput";
public static final String NS_URI_1999_SCHEMA_XSD =
"http://www.w3.org/1999/XMLSchema";
public static final String NS_URI_2000_SCHEMA_XSD =
"http://www.w3.org/2000/10/XMLSchema";
public static final String NS_URI_2001_SCHEMA_XSD =
"http://www.w3.org/2001/XMLSchema";
public static final String NS_URI_SOAP_ENC =
"http://schemas.xmlsoap.org/soap/encoding/";
public static final String NS_URI_LITERAL_XML =
"http://xml.apache.org/xml-soap/literalxml";
public static final String NS_URI_WSDL =
"http://schemas.xmlsoap.org/wsdl/";
public static final String NS_URI_APACHE_SOAP =
"http://xml.apache.org/xml-soap";
}
|