KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > wsdl > WSDLConstants


1 /*
2  * Copyright 2004,2005 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */

16 package org.apache.wsdl;
17
18 /**
19  * @author chathura@opensource.lk
20  */

21 public interface WSDLConstants {
22     /**
23      * Field WSDL2_0_NAMESPACE
24      */

25     public static final String JavaDoc WSDL2_0_NAMESPACE = "http://www.w3.org/2004/03/wsdl";
26
27     /**
28      * Field WSDL1_1_NAMESPACE
29      */

30     public static final String JavaDoc WSDL1_1_NAMESPACE = "http://schemas.xmlsoap.org/wsdl/";
31
32
33     /**
34      * Field WSDL_MESSAGE_DIRECTION_IN
35      */

36     public static final String JavaDoc WSDL_MESSAGE_DIRECTION_IN = "in";
37
38     
39     /**
40      * Field WSDL_MESSAGE_DIRECTION_OUT
41      */

42     public static final String JavaDoc WSDL_MESSAGE_DIRECTION_OUT = "out";
43
44     // ////////////////////////////////////////////////////////////////
45
// /////////////Message Exchange Pattern Constants/////////////////
46
// ////////////////////////////////////////////////////////////////
47

48     /**
49      * Field MEP_URI_IN_ONLY
50      */

51     public static final String JavaDoc MEP_URI_IN_ONLY = "http://www.w3.org/2004/08/wsdl/in-only";
52     
53     public static final int MEP_CONSTANT_IN_ONLY = 10;
54
55     /**
56      * Field MEP_URI_ROBUST_IN_ONLY
57      */

58     public static final String JavaDoc MEP_URI_ROBUST_IN_ONLY = "http://www.w3.org/2004/08/wsdl/robust-in-only";
59     
60     public static final int MEP_CONSTANT_ROBUST_IN_ONLY = 11;
61
62     /**
63      * Field MEP_URI_IN_OUT
64      */

65     public static final String JavaDoc MEP_URI_IN_OUT = "http://www.w3.org/2004/08/wsdl/in-out";
66     
67     public static final int MEP_CONSTANT_IN_OUT = 12;
68
69     /**
70      * Field MEP_URI_IN_OPTIONAL_OUT
71      */

72     public static final String JavaDoc MEP_URI_IN_OPTIONAL_OUT = "http://www.w3.org/2004/08/wsdl/in-opt-out";
73     
74     public static final int MEP_CONSTANT_IN_OPTIONAL_OUT = 13;
75
76     /**
77      * Field MEP_URI_OUT_ONLY
78      */

79     public static final String JavaDoc MEP_URI_OUT_ONLY = "http://www.w3.org/2004/08/wsdl/out-only";
80     
81     public static final int MEP_CONSTANT_OUT_ONLY = 14;
82
83     /**
84      * Field MEP_URI_ROBUST_OUT_ONLY
85      */

86     public static final String JavaDoc MEP_URI_ROBUST_OUT_ONLY = "http://www.w3.org/2004/08/wsdl/robust-out-only";
87     
88     public static final int MEP_CONSTANT_ROBUST_OUT_ONLY = 15;
89
90     /**
91      * Field MEP_URI_OUT_IN
92      */

93     public static final String JavaDoc MEP_URI_OUT_IN = "http://www.w3.org/2004/08/wsdl/out-in";
94     
95     public static final int MEP_CONSTANT_OUT_IN = 16;
96
97     /**
98      * Field MEP_URI_OUT_OPTIONL_IN
99      */

100     public static final String JavaDoc MEP_URI_OUT_OPTIONAL_IN = "http://www.w3.org/2004/08/wsdl/out-opt-in";
101     
102     public static final int MEP_CONSTANT_OUT_OPTIONAL_IN = 17;
103     
104     
105     
106     public static final int MEP_CONSTANT_INVALID = -1;
107
108     //////////////////////////////////////////////////
109
//////////////// Message Labels///////////////////
110
//////////////////////////////////////////////////
111

112     /**
113      * Constant to represent the message label "In" which is used by the
114      * following WSDL 2.0 defined MEPs: In-Only, Robust In-Only, In-Out,
115      * In-Optional-Out, Out-In, Out-Optional-In.
116      */

117     public static final byte MESSAGE_LABEL_IN = 0;
118     
119     public static final String JavaDoc MESSAGE_LABEL_IN_VALUE = "In";
120
121     /**
122      * Constant to represent the message label "Out" which is used by the
123      * following WSDL 2.0 defined MEPs: In-Out, In-Optional-Out, Out-Only,
124      * Robust Out-Only, Out-In, Out-Optional-In.
125      *
126      */

127     public static final int MESSAGE_LABEL_OUT = 1;
128     
129     public static final String JavaDoc MESSAGE_LABEL_OUT_VALUE = "Out";
130
131     /**
132      *
133      */

134     public static final String JavaDoc WSDL_USE_LITERAL="literal";
135     public static final String JavaDoc WSDL_USE_ENCODED="encoded";
136
137
138
139 }
140
Popular Tags