axis2_const.h

00001 /*
00002  * Licensed to the Apache Software Foundation (ASF) under one or more
00003  * contributor license agreements.  See the NOTICE file distributed with
00004  * this work for additional information regarding copyright ownership.
00005  * The ASF licenses this file to You under the Apache License, Version 2.0
00006  * (the "License"); you may not use this file except in compliance with
00007  * the License.  You may obtain a copy of the License at
00008  *
00009  *      http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00018 #ifndef AXIS2_CONST_H
00019 #define AXIS2_CONST_H
00020 
00026 #include <axutil_env.h>
00027 #include <axutil_utils.h>
00028 
00029 #ifdef __cplusplus
00030 extern "C"
00031 {
00032 #endif
00033 
00034 
00053 /******************************************************************************/
00054 /********************Axis2 specific constants**********************************/
00055 /******************************************************************************/
00056 
00057 
00061 #define AXIOM_SOAP_STYLE_RPC_ENCODED 1000
00062 
00066 /*#define AXIOM_SOAP_STYLE_RPC_LITERAL 1001 */
00067 
00071 #define AXIOM_SOAP_STYLE_DOC_LITERAL_WRAPPED 1002
00072 
00073 #define AXIS2_SCOPE "scope"
00074 
00078 #define AXIS2_APPLICATION_SCOPE "application"
00079 
00083 #define AXIS2_SESSION_SCOPE "session"
00084 
00088 #define AXIS2_MESSAGE_SCOPE "message"
00089 
00093 #define AXIS2_PHASE_SERVICE "service"
00094 
00098 #define AXIS2_PHASE_TRANSPORT "transport"
00099 
00103 #define AXIS2_PHASE_GLOBAL "global"
00104 
00108 #define AXIS2_SESSION_CONTEXT_PROPERTY "SessionContext"
00109 
00113 #define AXIS2_TRANSPORT_HTTP "http"
00114 #define AXIS2_TRANSPORT_SMTP "smtp"
00115 #define AXIS2_TRANSPORT_TCP "tcp"
00116 #define AXIS2_TRANSPORT_XMPP "xmpp"
00117 #define AXIS2_TRANSPORT_HTTPS "https"
00118 typedef enum
00119 {
00120     AXIS2_TRANSPORT_ENUM_HTTP = 0,
00121     AXIS2_TRANSPORT_ENUM_SMTP,
00122     AXIS2_TRANSPORT_ENUM_TCP,
00123     AXIS2_TRANSPORT_ENUM_XMPP,
00124         AXIS2_TRANSPORT_ENUM_HTTPS,
00125     AXIS2_TRANSPORT_ENUM_MAX
00126 } AXIS2_TRANSPORT_ENUMS;
00127 
00131 #define AXIS2_REQUEST_URL_PREFIX "/services"
00132 
00133 #define AXIS2_LISTSERVICES "listServices"
00134 
00135 #define AXIS2_LIST_SERVICE_FOR_MODULE_ENGAMNET "listop"
00136 
00137 
00141 #define AXIS2_ADMIN_LISTSERVICES "listService"
00142 
00143 #define AXIS2_LIST_MODULES "listModules"
00144 
00145 #define AXIS2_LIST_GLOABLLY_ENGAGED_MODULES "globalModules"
00146 
00147 #define AXIS2_LIST_PHASES "listPhases"
00148 
00149 #define AXIS2_ENGAGE_GLOBAL_MODULE "engagingglobally"
00150 #define AXIS2_ENGAGE_MODULE_TO_SERVICE "engageToService"
00151 
00152 #define AXIS2_ENGAGE_MODULE_TO_SERVICE_GROUP "engageToServiceGroup"
00153 
00154 #define AXIS2_ADMIN_LOGIN "adminlogin"
00155 
00156 #define AXIS2_LIST_CONTEXTS "listContexts"
00157 #define AXIS2_LOGOUT "logout"
00158 
00159 #define AXIS2_VIEW_GLOBAL_HANDLERS "viewGlobalHandlers"
00160 #define AXIS2_SELECT_SERVICE "selectService"
00161 #define AXIS2_EDIR_SERVICE_PARA "editServicepara"
00162 #define AXIS2_SELECT_SERVICE_FOR_PARA_EDIT "selectServiceParaEdit"
00163 #define AXIS2_VIEW_SERVICE_HANDLERS "viewServiceHandlers"
00164 #define AXIS2_LIST_SERVIC_GROUPS "listServciceGroups"
00165 
00169 #define AXIS2_SERVICE_MAP "servicemap"
00170 #define AXIS2_SERVICE_GROUP_MAP "serviceGroupmap"
00171 
00172 #define AXIS2_CONFIG_CONTEXT "config_context"
00173 #define AXIS2_ACTION_MAPPING "actionMapping"
00174 #define AXIS2_OUTPUT_ACTION_MAPPING "outputActionMapping"
00175 #define AXI2_FAULT_ACTION_MAPPING "faultActionMapping"
00176     
00177 #define AXIS2_SERVICE "service"
00178 
00179 #define AXIS2_OPEARTION_MAP "opmap"
00180 
00183 #define AXIS2_MODULE_MAP "modulemap"
00184 
00185 #define AXIS2_SELECT_SERVICE_TYPE "SELECT_SERVICE_TYPE"
00186 
00187 #define AXIS2_GLOBAL_HANDLERS "axisconfig"
00188 #define AXIS2_SERVICE_HANDLERS "serviceHandlers"
00189 
00190 #define AXIS2_PHASE_LIST "phaseList"
00191 
00192 #define AXIS2_LIST_OPS_FOR_THE_SERVICE "listOperations"
00193 
00194 #define AXIS2_REMOVE_SERVICE "removeService"
00195 
00196 #define AXIS2_ENGAGE_STATUS "engagestatus"
00197 
00201 #define AXIS2_ERROR_SERVICE_MAP "errprservicemap"
00202 #define AXIS2_ERROR_MODULE_MAP "errormodulesmap"
00203 
00204 #define AXIS2_IS_FAULTY "Fault"
00205 
00206 #define AXIS2_MODULE_ADDRESSING "addressing"
00207 
00208 #define AXIS2_USER_NAME "userName"
00209 #define AXIS2_PASSWORD "password"
00210 
00214 #define AXIS2_SINGLE_SERVICE "singleservice"
00215 #define AXIS2_WSDL_CONTENT "wsdl"
00216 #define AXIS2_REQUEST_WSDL "?wsdl"
00217 
00218 #define AXIS2_STYLE_RPC  "rpc"
00219 #define AXIS2_STYLE_DOC  "doc"
00220 #define AXIS2_STYLE_MSG  "msg"
00221 
00222 typedef enum axis2_wsdl_msg_labels 
00223 {
00224     AXIS2_WSDL_MESSAGE_LABEL_IN = 0,
00225     AXIS2_WSDL_MESSAGE_LABEL_OUT,
00226     AXIS2_WSDL_MESSAGE_LABEL_MAX
00227 }axis2_wsdl_msg_labels_t;
00228 
00229 /*********************Message Exchange Pattern Constants***********************/
00233 #define AXIS2_MEP_URI_IN_ONLY "http://www.w3.org/2004/08/wsdl/in-only"
00234 
00235 #define AXIS2_MEP_CONSTANT_IN_ONLY 10
00236 
00240 #define AXIS2_MEP_URI_ROBUST_IN_ONLY "http://www.w3.org/2004/08/wsdl/robust-in-only"
00241 
00242 #define AXIS2_MEP_CONSTANT_ROBUST_IN_ONLY 11
00243 
00247 #define AXIS2_MEP_URI_IN_OUT "http://www.w3.org/2004/08/wsdl/in-out"
00248 
00249 #define AXIS2_MEP_CONSTANT_IN_OUT 12
00250 
00254 #define AXIS2_MEP_URI_IN_OPTIONAL_OUT "http://www.w3.org/2004/08/wsdl/in-opt-out"
00255 
00256 #define AXIS2_MEP_CONSTANT_IN_OPTIONAL_OUT 13
00257 
00261 #define AXIS2_MEP_URI_OUT_ONLY "http://www.w3.org/2004/08/wsdl/out-only"
00262 
00263 #define AXIS2_MEP_CONSTANT_OUT_ONLY 14
00264 
00268 #define AXIS2_MEP_URI_ROBUST_OUT_ONLY "http://www.w3.org/2004/08/wsdl/robust-out-only"
00269 
00270 #define AXIS2_MEP_CONSTANT_ROBUST_OUT_ONLY 15
00271 
00275 #define AXIS2_MEP_URI_OUT_IN "http://www.w3.org/2004/08/wsdl/out-in"
00276 
00277 #define AXIS2_MEP_CONSTANT_OUT_IN 16
00278 
00282 #define AXIS2_MEP_URI_OUT_OPTIONAL_IN "http://www.w3.org/2004/08/wsdl/out-opt-in"
00283 
00284 #define AXIS2_MEP_CONSTANT_OUT_OPTIONAL_IN 17
00285 
00286 #define AXIS2_MEP_CONSTANT_INVALID -1
00287 
00291 #define AXIS2_WSDL_MESSAGE_DIRECTION_IN "in"
00292 
00293 
00297 #define AXIS2_WSDL_MESSAGE_DIRECTION_OUT "out"
00298 
00299 
00303 /* static const char METHOD_NAME_ESCAPE_CHARACTOR '?' */
00304 
00305 #define AXIS2_LOGGED "Logged"
00306 
00307 
00308 /* static const char SERVICE_NAME_SPLIT_CHAR':' */
00309 
00310 
00311 /*********************Configuration *******************************************/
00312 
00313 #define AXIS2_ENABLE_REST "enableREST"
00314 #define AXIS2_ENABLE_REST_THROUGH_GET "restThroughGet"
00315 /* globally enable MTOM */
00316 #define AXIS2_ENABLE_MTOM "enableMTOM"
00317 #define AXIS2_ATTACHMENT_TEMP_DIR "attachmentDIR"
00318 #define AXIS2_CACHE_ATTACHMENTS "cacheAttachments"
00319 #define AXIS2_FILE_SIZE_THRESHOLD "sizeThreshold"
00320 /* op_ctx persistance */
00321 #define AXIS2_PERSIST_OP_CTX "persistOperationContext"
00322 
00323 /******************************************************************************/
00324 
00325 #define AXIS2_VALUE_TRUE "true"
00326 #define AXIS2_VALUE_FALSE "false"
00327 #define AXIS2_CONTAINER_MANAGED "ContainerManaged"
00328 #define AXIS2_RESPONSE_WRITTEN "CONTENT_WRITTEN"
00329 
00330 #define AXIS2_TESTING_PATH "target/test-resources/"
00331 
00332 #define AXIS2_TESTING_REPOSITORY "target/test-resources/samples"
00333 
00334 
00335 /*************************** REST_WITH_GET ************************************/
00336 
00337 #define AXIS2_GET_PARAMETER_OP "op"
00338 #define AXIS2_GET_PARAMETER_URL "http://ws.apache.org/goGetWithREST"
00339 
00340 /******************************************************************************/
00341 
00342 
00343 #define AXIS2_NAMESPACE_PREFIX "axis2"
00344 #define AXIS2_NAMESPACE_URI "http://ws.apache.org/namespaces/axis2"
00345 
00346 #define AXIS2_SVC_GRP_ID "ServiceGroupId"    
00347 
00348 
00349 #define AXIS2_RESPONSE_SOAP_ENVELOPE "Axis2ResponseEnvelope"    
00350 #define AXIS2_HANDLER_ALREADY_VISITED "handler_already_visited"
00351 
00352 #ifdef __cplusplus
00353 }
00354 #endif
00355 
00356 #endif /* AXIS2_CONST_H */

Generated on Thu May 3 12:31:01 2007 for Axis2/C by  doxygen 1.4.6