001: /*
002: * The Apache Software License, Version 1.1
003: *
004: *
005: * Copyright (c) 2002 The Apache Software Foundation. All rights
006: * reserved.
007: *
008: * Redistribution and use in source and binary forms, with or without
009: * modification, are permitted provided that the following conditions
010: * are met:
011: *
012: * 1. Redistributions of source code must retain the above copyright
013: * notice, this list of conditions and the following disclaimer.
014: *
015: * 2. Redistributions in binary form must reproduce the above copyright
016: * notice, this list of conditions and the following disclaimer in
017: * the documentation and/or other materials provided with the
018: * distribution.
019: *
020: * 3. The end-user documentation included with the redistribution,
021: * if any, must include the following acknowledgment:
022: * "This product includes software developed by the
023: * Apache Software Foundation (http://www.apache.org/)."
024: * Alternately, this acknowledgment may appear in the software itself,
025: * if and wherever such third-party acknowledgments normally appear.
026: *
027: * 4. The names "WSIF" and "Apache Software Foundation" must
028: * not be used to endorse or promote products derived from this
029: * software without prior written permission. For written
030: * permission, please contact apache@apache.org.
031: *
032: * 5. Products derived from this software may not be called "Apache",
033: * nor may "Apache" appear in their name, without prior written
034: * permission of the Apache Software Foundation.
035: *
036: * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
037: * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
038: * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
039: * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
040: * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
041: * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
042: * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
043: * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
044: * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
045: * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
046: * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
047: * SUCH DAMAGE.
048: * ====================================================================
049: *
050: * This software consists of voluntary contributions made by many
051: * individuals on behalf of the Apache Software Foundation and was
052: * originally based on software copyright (c) 2001, 2002, International
053: * Business Machines, Inc., http://www.apache.org. For more
054: * information on the Apache Software Foundation, please see
055: * <http://www.apache.org/>.
056: */
057:
058: package org.apache.wsif;
059:
060: /**
061: * Simple class to store constants used by WSIF
062: * @author Owen Burroughs <owenb@apache.org>
063: * @author Ant Elder <antelder@apache.org>
064: * @author Jeremy Hughes <hughesj@apache.org>
065: * @author Mark Whitlock <whitlock@apache.org>
066: */
067: public class WSIFConstants {
068:
069: /**
070: * WSIF Property file name
071: */
072: public static final String WSIF_PROPERTIES = "wsif.properties";
073:
074: /**
075: * WSIF property for pluggable provider defaults
076: */
077: public static final String WSIF_PROP_PROVIDER_PFX1 = "wsif.provider.default.";
078:
079: /**
080: * WSIF property for pluggable provider defaults
081: */
082: public static final String WSIF_PROP_PROVIDER_PFX2 = "wsif.provider.uri.";
083:
084: /**
085: * WSIF property for asynchronous requests
086: */
087: public static final String WSIF_PROP_ASYNC_TIMEOUT = "wsif.asyncrequest.timeout";
088:
089: /**
090: * WSIF property for asynchronous requests
091: */
092: public static final String WSIF_PROP_ASYNC_USING_MDB = "wsif.async.listener.mdb";
093:
094: /**
095: * WSIFDefaultCorrelationService timeout check delay
096: * in milliseconds. Default is 5 seconds
097: */
098: public static final int CORRELATION_TIMEOUT_DELAY = 5000;
099:
100: /**
101: * WSIF properties for synchronous requests
102: */
103: public static final String WSIF_PROP_SYNC_TIMEOUT = "wsif.syncrequest.timeout";
104:
105: /**
106: * WSIFCorelationService registered JNDI name
107: */
108: public static final String CORRELATION_SERVICE_NAMESPACE = "wsif/WSIFCorrelationService";
109:
110: /**
111: * WSIF context part name for HTTP basic authentication userid
112: */
113: public static final String CONTEXT_HTTP_USER = "org.apache.wsif.http.UserName";
114:
115: /**
116: * WSIF context part name for HTTP basic authentication userid
117: */
118: public static final String CONTEXT_HTTP_PSWD = "org.apache.wsif.http.Password";
119:
120: /**
121: * WSIF context part name for SOAP headers
122: * @deprecated use CONTEXT_REQUEST_SOAP_HEADERS
123: */
124: public static final String CONTEXT_SOAP_HEADERS = "org.apache.wsif.soap.RequestHeaders";
125:
126: /**
127: * WSIF context part name for SOAP headers
128: */
129: public static final String CONTEXT_REQUEST_SOAP_HEADERS = "org.apache.wsif.soap.RequestHeaders";
130:
131: /**
132: * WSIF context part name for SOAP headers
133: */
134: public static final String CONTEXT_RESPONSE_SOAP_HEADERS = "org.apache.wsif.soap.ResponseHeaders";
135:
136: /**
137: * WSIF context part name prefix for JMSProperties
138: */
139: public static final String CONTEXT_JMS_PREFIX = "JMSProperty.";
140:
141: /**
142: * WSIF context part name for the AXIS operation style
143: */
144: public static final String CONTEXT_OPERATION_STYLE = "org.apache.wsif.axis.operationStyle";
145:
146: /**
147: * WSIF context value for AXIS wrapped operation style
148: */
149: public static final String CONTEXT_OPERATION_STYLE_WRAPPED = "wrapped";
150:
151: /**
152: * WSIF context value for AXIS unwrapped operation style
153: */
154: public static final String CONTEXT_OPERATION_STYLE_UNWRAPPED = "unwrapped";
155:
156: /**
157: * SOAP faults WSIFMessage part name for the fault code
158: */
159: public static final String SOAP_FAULT_MSG_NAME = "org.apache.wsif.soap.fault";
160:
161: /**
162: * SOAP faults WSIFMessage part name for the fault code
163: */
164: public static final String SOAP_FAULT_CODE = "org.apache.wsif.soap.fault.code";
165:
166: /**
167: * SOAP faults WSIFMessage part name for the fault string
168: */
169: public static final String SOAP_FAULT_STRING = "org.apache.wsif.soap.fault.string";
170:
171: /**
172: * SOAP faults WSIFMessage part name for the fault actor
173: */
174: public static final String SOAP_FAULT_ACTOR = "org.apache.wsif.soap.fault.actor";
175:
176: /**
177: * SOAP faults WSIFMessage part name for the fault object
178: */
179: public static final String SOAP_FAULT_OBJECT = "org.apache.wsif.soap.fault.object";
180:
181: /**
182: * WSDLFactory property name
183: */
184: public static final String WSDLFACTORY_PROPERTY_NAME = "javax.wsdl.factory.WSDLFactory";
185:
186: /**
187: * WSIF implemetation of WSDLfactory
188: */
189: public static final String WSIF_WSDLFACTORY = "org.apache.wsif.wsdl.WSIFWSDLFactoryImpl";
190:
191: /**
192: * JMS provider JMS property containing the operation name
193: */
194: public static final String JMS_PROP_OPERATION_NAME = "WSDLOperation";
195:
196: /**
197: * JMS provider JMS property containing the input message name
198: */
199: public static final String JMS_PROP_INPUT_NAME = "WSDLInput";
200:
201: /**
202: * JMS provider JMS property containing the output message name
203: */
204: public static final String JMS_PROP_OUTPUT_NAME = "WSDLOutput";
205:
206: public static final String NS_URI_1999_SCHEMA_XSD = "http://www.w3.org/1999/XMLSchema";
207:
208: public static final String NS_URI_2000_SCHEMA_XSD = "http://www.w3.org/2000/10/XMLSchema";
209:
210: public static final String NS_URI_2001_SCHEMA_XSD = "http://www.w3.org/2001/XMLSchema";
211:
212: public static final String NS_URI_SOAP_ENC = "http://schemas.xmlsoap.org/soap/encoding/";
213:
214: public static final String NS_URI_LITERAL_XML = "http://xml.apache.org/xml-soap/literalxml";
215:
216: public static final String NS_URI_WSDL = "http://schemas.xmlsoap.org/wsdl/";
217:
218: public static final String NS_URI_APACHE_SOAP = "http://xml.apache.org/xml-soap";
219: }
|