KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > wsif > WSIFConstants


1 /*
2  * The Apache Software License, Version 1.1
3  *
4  *
5  * Copyright (c) 2002 The Apache Software Foundation. All rights
6  * reserved.
7  *
8  * Redistribution and use in source and binary forms, with or without
9  * modification, are permitted provided that the following conditions
10  * are met:
11  *
12  * 1. Redistributions of source code must retain the above copyright
13  * notice, this list of conditions and the following disclaimer.
14  *
15  * 2. Redistributions in binary form must reproduce the above copyright
16  * notice, this list of conditions and the following disclaimer in
17  * the documentation and/or other materials provided with the
18  * distribution.
19  *
20  * 3. The end-user documentation included with the redistribution,
21  * if any, must include the following acknowledgment:
22  * "This product includes software developed by the
23  * Apache Software Foundation (http://www.apache.org/)."
24  * Alternately, this acknowledgment may appear in the software itself,
25  * if and wherever such third-party acknowledgments normally appear.
26  *
27  * 4. The names "WSIF" and "Apache Software Foundation" must
28  * not be used to endorse or promote products derived from this
29  * software without prior written permission. For written
30  * permission, please contact apache@apache.org.
31  *
32  * 5. Products derived from this software may not be called "Apache",
33  * nor may "Apache" appear in their name, without prior written
34  * permission of the Apache Software Foundation.
35  *
36  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
37  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
38  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
39  * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
40  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
41  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
42  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
43  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
44  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
45  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
46  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
47  * SUCH DAMAGE.
48  * ====================================================================
49  *
50  * This software consists of voluntary contributions made by many
51  * individuals on behalf of the Apache Software Foundation and was
52  * originally based on software copyright (c) 2001, 2002, International
53  * Business Machines, Inc., http://www.apache.org. For more
54  * information on the Apache Software Foundation, please see
55  * <http://www.apache.org/>.
56  */

57
58 package org.apache.wsif;
59
60 /**
61  * Simple class to store constants used by WSIF
62  * @author Owen Burroughs <owenb@apache.org>
63  * @author Ant Elder <antelder@apache.org>
64  * @author Jeremy Hughes <hughesj@apache.org>
65  * @author Mark Whitlock <whitlock@apache.org>
66  */

67 public class WSIFConstants {
68
69     /**
70      * WSIF Property file name
71      */

72     public static final String JavaDoc WSIF_PROPERTIES = "wsif.properties";
73
74     /**
75      * WSIF property for pluggable provider defaults
76      */

77     public static final String JavaDoc WSIF_PROP_PROVIDER_PFX1 =
78         "wsif.provider.default.";
79
80     /**
81      * WSIF property for pluggable provider defaults
82      */

83     public static final String JavaDoc WSIF_PROP_PROVIDER_PFX2 = "wsif.provider.uri.";
84
85     /**
86      * WSIF property for asynchronous requests
87      */

88     public static final String JavaDoc WSIF_PROP_ASYNC_TIMEOUT =
89         "wsif.asyncrequest.timeout";
90
91     /**
92      * WSIF property for asynchronous requests
93      */

94     public static final String JavaDoc WSIF_PROP_ASYNC_USING_MDB =
95         "wsif.async.listener.mdb";
96
97     /**
98      * WSIFDefaultCorrelationService timeout check delay
99      * in milliseconds. Default is 5 seconds
100      */

101     public static final int CORRELATION_TIMEOUT_DELAY = 5000;
102
103     /**
104      * WSIF properties for synchronous requests
105      */

106     public static final String JavaDoc WSIF_PROP_SYNC_TIMEOUT =
107         "wsif.syncrequest.timeout";
108
109     /**
110      * WSIFCorelationService registered JNDI name
111      */

112     public static final String JavaDoc CORRELATION_SERVICE_NAMESPACE =
113         "wsif/WSIFCorrelationService";
114
115     /**
116      * WSIF context part name for HTTP basic authentication userid
117      */

118     public static final String JavaDoc CONTEXT_HTTP_USER =
119         "org.apache.wsif.http.UserName";
120
121     /**
122      * WSIF context part name for HTTP basic authentication userid
123      */

124     public static final String JavaDoc CONTEXT_HTTP_PSWD =
125         "org.apache.wsif.http.Password";
126
127     /**
128      * WSIF context part name for SOAP headers
129      * @deprecated use CONTEXT_REQUEST_SOAP_HEADERS
130      */

131     public static final String JavaDoc CONTEXT_SOAP_HEADERS =
132         "org.apache.wsif.soap.RequestHeaders";
133
134     /**
135      * WSIF context part name for SOAP headers
136      */

137     public static final String JavaDoc CONTEXT_REQUEST_SOAP_HEADERS =
138         "org.apache.wsif.soap.RequestHeaders";
139
140     /**
141      * WSIF context part name for SOAP headers
142      */

143     public static final String JavaDoc CONTEXT_RESPONSE_SOAP_HEADERS =
144         "org.apache.wsif.soap.ResponseHeaders";
145
146     /**
147      * WSIF context part name prefix for JMSProperties
148      */

149     public static final String JavaDoc CONTEXT_JMS_PREFIX = "JMSProperty.";
150
151     /**
152      * WSIF context part name for the AXIS operation style
153      */

154     public static final String JavaDoc CONTEXT_OPERATION_STYLE =
155         "org.apache.wsif.axis.operationStyle";
156
157     /**
158      * WSIF context value for AXIS wrapped operation style
159      */

160     public static final String JavaDoc CONTEXT_OPERATION_STYLE_WRAPPED =
161         "wrapped";
162
163     /**
164      * WSIF context value for AXIS unwrapped operation style
165      */

166     public static final String JavaDoc CONTEXT_OPERATION_STYLE_UNWRAPPED =
167         "unwrapped";
168
169     /**
170      * SOAP faults WSIFMessage part name for the fault code
171      */

172     public static final String JavaDoc SOAP_FAULT_MSG_NAME =
173         "org.apache.wsif.soap.fault";
174
175     /**
176      * SOAP faults WSIFMessage part name for the fault code
177      */

178     public static final String JavaDoc SOAP_FAULT_CODE =
179         "org.apache.wsif.soap.fault.code";
180
181     /**
182      * SOAP faults WSIFMessage part name for the fault string
183      */

184     public static final String JavaDoc SOAP_FAULT_STRING =
185         "org.apache.wsif.soap.fault.string";
186
187     /**
188      * SOAP faults WSIFMessage part name for the fault actor
189      */

190     public static final String JavaDoc SOAP_FAULT_ACTOR =
191         "org.apache.wsif.soap.fault.actor";
192
193     /**
194      * SOAP faults WSIFMessage part name for the fault object
195      */

196     public static final String JavaDoc SOAP_FAULT_OBJECT =
197         "org.apache.wsif.soap.fault.object";
198
199     /**
200      * WSDLFactory property name
201      */

202     public static final String JavaDoc WSDLFACTORY_PROPERTY_NAME =
203         "javax.wsdl.factory.WSDLFactory";
204
205     /**
206      * WSIF implemetation of WSDLfactory
207      */

208     public static final String JavaDoc WSIF_WSDLFACTORY =
209         "org.apache.wsif.wsdl.WSIFWSDLFactoryImpl";
210
211     /**
212      * JMS provider JMS property containing the operation name
213      */

214     public static final String JavaDoc JMS_PROP_OPERATION_NAME =
215         "WSDLOperation";
216
217     /**
218      * JMS provider JMS property containing the input message name
219      */

220     public static final String JavaDoc JMS_PROP_INPUT_NAME =
221         "WSDLInput";
222
223     /**
224      * JMS provider JMS property containing the output message name
225      */

226     public static final String JavaDoc JMS_PROP_OUTPUT_NAME =
227         "WSDLOutput";
228
229     public static final String JavaDoc NS_URI_1999_SCHEMA_XSD =
230         "http://www.w3.org/1999/XMLSchema";
231         
232     public static final String JavaDoc NS_URI_2000_SCHEMA_XSD =
233         "http://www.w3.org/2000/10/XMLSchema";
234         
235     public static final String JavaDoc NS_URI_2001_SCHEMA_XSD =
236         "http://www.w3.org/2001/XMLSchema";
237         
238     public static final String JavaDoc NS_URI_SOAP_ENC =
239         "http://schemas.xmlsoap.org/soap/encoding/";
240         
241     public static final String JavaDoc NS_URI_LITERAL_XML =
242         "http://xml.apache.org/xml-soap/literalxml";
243         
244     public static final String JavaDoc NS_URI_WSDL =
245         "http://schemas.xmlsoap.org/wsdl/";
246
247     public static final String JavaDoc NS_URI_APACHE_SOAP =
248         "http://xml.apache.org/xml-soap";
249 }
250
Popular Tags