axis2_const.h

00001 
00002 /*
00003  * Licensed to the Apache Software Foundation (ASF) under one or more
00004  * contributor license agreements.  See the NOTICE file distributed with
00005  * this work for additional information regarding copyright ownership.
00006  * The ASF licenses this file to You under the Apache License, Version 2.0
00007  * (the "License"); you may not use this file except in compliance with
00008  * the License.  You may obtain a copy of the License at
00009  *
00010  *      http://www.apache.org/licenses/LICENSE-2.0
00011  *
00012  * Unless required by applicable law or agreed to in writing, software
00013  * distributed under the License is distributed on an "AS IS" BASIS,
00014  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00015  * See the License for the specific language governing permissions and
00016  * limitations under the License.
00017  */
00018 
00019 #ifndef AXIS2_CONST_H
00020 #define AXIS2_CONST_H
00021 
00027 #include <axutil_env.h>
00028 #include <axutil_utils.h>
00029 
00030 #ifdef __cplusplus
00031 extern "C"
00032 {
00033 #endif
00034 
00053     /******************************************************************************/
00054 
00055     /********************Axis2 specific constants**********************************/
00056 
00057     /******************************************************************************/
00058 
00062 #define AXIOM_SOAP_STYLE_RPC_ENCODED 1000
00063 
00068     /*#define AXIOM_SOAP_STYLE_RPC_LITERAL 1001 */
00069 
00073 #define AXIOM_SOAP_STYLE_DOC_LITERAL_WRAPPED 1002
00074 
00075 #define AXIS2_SCOPE "scope"
00076 
00080 #define AXIS2_APPLICATION_SCOPE "application"
00081 
00085 #define AXIS2_SESSION_SCOPE "session"
00086 
00090 #define AXIS2_MESSAGE_SCOPE "message"
00091 
00095 #define AXIS2_PHASE_SERVICE "service"
00096 
00100 #define AXIS2_PHASE_TRANSPORT "transport"
00101 
00105 #define AXIS2_PHASE_GLOBAL "global"
00106 
00110 #define AXIS2_SESSION_CONTEXT_PROPERTY "SessionContext"
00111 
00115 #define AXIS2_TRANSPORT_HTTP "http"
00116 #define AXIS2_TRANSPORT_SMTP "smtp"
00117 #define AXIS2_TRANSPORT_TCP "tcp"
00118 #define AXIS2_TRANSPORT_XMPP "xmpp"
00119 #define AXIS2_TRANSPORT_HTTPS "https"
00120     typedef enum
00121     {
00122         AXIS2_TRANSPORT_ENUM_HTTP = 0,
00123         AXIS2_TRANSPORT_ENUM_SMTP,
00124         AXIS2_TRANSPORT_ENUM_TCP,
00125         AXIS2_TRANSPORT_ENUM_XMPP,
00126         AXIS2_TRANSPORT_ENUM_HTTPS,
00127         AXIS2_TRANSPORT_ENUM_MAX
00128     } AXIS2_TRANSPORT_ENUMS;
00129 
00131 #ifndef AXIS2_REQUEST_URL_PREFIX
00132 #define AXIS2_REQUEST_URL_PREFIX "/services"
00133 #endif
00134 
00135 #define AXIS2_LISTSERVICES "listServices"
00136 
00137 #define AXIS2_LIST_SERVICE_FOR_MODULE_ENGAMNET "listop"
00138 
00142 #define AXIS2_ADMIN_LISTSERVICES "listService"
00143 
00144 #define AXIS2_LIST_MODULES "listModules"
00145 
00146 #define AXIS2_LIST_GLOABLLY_ENGAGED_MODULES "globalModules"
00147 
00148 #define AXIS2_LIST_PHASES "listPhases"
00149 
00150 #define AXIS2_ENGAGE_GLOBAL_MODULE "engagingglobally"
00151 #define AXIS2_ENGAGE_MODULE_TO_SERVICE "engageToService"
00152 
00153 #define AXIS2_ENGAGE_MODULE_TO_SERVICE_GROUP "engageToServiceGroup"
00154 
00155 #define AXIS2_ADMIN_LOGIN "adminlogin"
00156 
00157 #define AXIS2_LIST_CONTEXTS "listContexts"
00158 #define AXIS2_LOGOUT "logout"
00159 
00160 #define AXIS2_VIEW_GLOBAL_HANDLERS "viewGlobalHandlers"
00161 #define AXIS2_SELECT_SERVICE "selectService"
00162 #define AXIS2_EDIR_SERVICE_PARA "editServicepara"
00163 #define AXIS2_SELECT_SERVICE_FOR_PARA_EDIT "selectServiceParaEdit"
00164 #define AXIS2_VIEW_SERVICE_HANDLERS "viewServiceHandlers"
00165 #define AXIS2_LIST_SERVIC_GROUPS "listServciceGroups"
00166 
00170 #define AXIS2_SERVICE_MAP "servicemap"
00171 #define AXIS2_SERVICE_GROUP_MAP "serviceGroupmap"
00172 
00173 #define AXIS2_CONFIG_CONTEXT "config_context"
00174 #define AXIS2_ACTION_MAPPING "actionMapping"
00175 #define AXIS2_OUTPUT_ACTION_MAPPING "outputActionMapping"
00176 #define AXI2_FAULT_ACTION_MAPPING "faultActionMapping"
00177 
00178 #define AXIS2_SERVICE "service"
00179 
00180 #define AXIS2_OPEARTION_MAP "opmap"
00181 
00185 #define AXIS2_MODULE_MAP "modulemap"
00186 
00187 #define AXIS2_SELECT_SERVICE_TYPE "SELECT_SERVICE_TYPE"
00188 
00189 #define AXIS2_GLOBAL_HANDLERS "axisconfig"
00190 #define AXIS2_SERVICE_HANDLERS "serviceHandlers"
00191 
00192 #define AXIS2_PHASE_LIST "phaseList"
00193 
00194 #define AXIS2_LIST_OPS_FOR_THE_SERVICE "listOperations"
00195 
00196 #define AXIS2_REMOVE_SERVICE "removeService"
00197 
00198 #define AXIS2_ENGAGE_STATUS "engagestatus"
00199 
00203 #define AXIS2_ERROR_SERVICE_MAP "errprservicemap"
00204 #define AXIS2_ERROR_MODULE_MAP "errormodulesmap"
00205 
00206 #define AXIS2_IS_FAULTY "Fault"
00207 
00208 #define AXIS2_MODULE_ADDRESSING "addressing"
00209 
00210 #define AXIS2_USER_NAME "userName"
00211 #define AXIS2_PASSWORD "password"
00212 
00216 #define AXIS2_SINGLE_SERVICE "singleservice"
00217 #define AXIS2_WSDL_CONTENT "wsdl"
00218 #define AXIS2_REQUEST_WSDL "?wsdl"
00219 
00220 #define AXIS2_STYLE_RPC  "rpc"
00221 #define AXIS2_STYLE_DOC  "doc"
00222 #define AXIS2_STYLE_MSG  "msg"
00223 
00224     typedef enum axis2_wsdl_msg_labels
00225     {
00226         AXIS2_WSDL_MESSAGE_LABEL_IN = 0,
00227         AXIS2_WSDL_MESSAGE_LABEL_OUT,
00228         AXIS2_WSDL_MESSAGE_LABEL_MAX
00229     } axis2_wsdl_msg_labels_t;
00230 
00231     /*********************Message Exchange Pattern Constants***********************/
00232 
00236 #define AXIS2_MEP_URI_IN_ONLY "http://www.w3.org/2004/08/wsdl/in-only"
00237 
00238 #define AXIS2_MEP_CONSTANT_IN_ONLY 10
00239 
00243 #define AXIS2_MEP_URI_ROBUST_IN_ONLY "http://www.w3.org/2004/08/wsdl/robust-in-only"
00244 
00245 #define AXIS2_MEP_CONSTANT_ROBUST_IN_ONLY 11
00246 
00250 #define AXIS2_MEP_URI_IN_OUT "http://www.w3.org/2004/08/wsdl/in-out"
00251 
00252 #define AXIS2_MEP_CONSTANT_IN_OUT 12
00253 
00257 #define AXIS2_MEP_URI_IN_OPTIONAL_OUT "http://www.w3.org/2004/08/wsdl/in-opt-out"
00258 
00259 #define AXIS2_MEP_CONSTANT_IN_OPTIONAL_OUT 13
00260 
00264 #define AXIS2_MEP_URI_OUT_ONLY "http://www.w3.org/2004/08/wsdl/out-only"
00265 
00266 #define AXIS2_MEP_CONSTANT_OUT_ONLY 14
00267 
00271 #define AXIS2_MEP_URI_ROBUST_OUT_ONLY "http://www.w3.org/2004/08/wsdl/robust-out-only"
00272 
00273 #define AXIS2_MEP_CONSTANT_ROBUST_OUT_ONLY 15
00274 
00278 #define AXIS2_MEP_URI_OUT_IN "http://www.w3.org/2004/08/wsdl/out-in"
00279 
00280 #define AXIS2_MEP_CONSTANT_OUT_IN 16
00281 
00285 #define AXIS2_MEP_URI_OUT_OPTIONAL_IN "http://www.w3.org/2004/08/wsdl/out-opt-in"
00286 
00287 #define AXIS2_MEP_CONSTANT_OUT_OPTIONAL_IN 17
00288 
00289 #define AXIS2_MEP_CONSTANT_INVALID -1
00290 
00294 #define AXIS2_WSDL_MESSAGE_DIRECTION_IN "in"
00295 
00299 #define AXIS2_WSDL_MESSAGE_DIRECTION_OUT "out"
00300 
00304 #define AXIS2_REST_HTTP_LOCATION "RESTLocation"
00305 
00309 #define AXIS2_REST_HTTP_METHOD "RESTMethod"
00310 
00314 #define AXIS2_DEFAULT_REST_HTTP_METHOD "defaultRESTMethod"
00315 
00320     /* static const char METHOD_NAME_ESCAPE_CHARACTOR '?' */
00321 
00322 #define AXIS2_LOGGED "Logged"
00323 
00324     /* static const char SERVICE_NAME_SPLIT_CHAR':' */
00325 
00326     /*********************Configuration *******************************************/
00327 
00328 #define AXIS2_ENABLE_REST "enableREST"
00329 #define AXIS2_ENABLE_REST_THROUGH_GET "restThroughGet"
00330 
00331 #define AXIS2_FORCE_PROXY_AUTH "forceProxyAuth"
00332 #define AXIS2_FORCE_HTTP_AUTH "forceHTTPAuth"
00333 
00334 #define AXIS2_PROXY_AUTH_TYPE "proxyAuthType"
00335 #define AXIS2_HTTP_AUTH_TYPE "HTTPAuthType"
00336 
00340 #define AXIS2_TEST_PROXY_AUTH "testProxyAuth"
00341 
00345 #define AXIS2_TEST_HTTP_AUTH "testHTTPAuth"
00346 
00347     /* add xml declaration */
00348 #define AXIS2_XML_DECLARATION "xml-declaration"
00349 #define AXIS2_ADD_XML_DECLARATION "insert"
00350 
00351     /* globally enable MTOM */
00352 #define AXIS2_ENABLE_MTOM "enableMTOM"
00353 #define AXIS2_ATTACHMENT_TEMP_DIR "attachmentDIR"
00354 #define AXIS2_CACHE_ATTACHMENTS "cacheAttachments"
00355 #define AXIS2_FILE_SIZE_THRESHOLD "sizeThreshold"
00356 #define AXIS2_MTOM_CHUNK_BUFFER_SIZE "MTOMChunkBufferSize"
00357 #define AXIS2_MTOM_MAX_CHUNK_BUFFERS "MTOMMaxChunkBuffers"
00358 
00359     /* op_ctx persistance */
00360 #define AXIS2_PERSIST_OP_CTX "persistOperationContext"
00361 
00362 #define AXIS2_EXPOSE_HEADERS "exposeHeaders"
00363 
00364     /******************************************************************************/
00365 
00366 #define AXIS2_VALUE_TRUE "true"
00367 #define AXIS2_VALUE_FALSE "false"
00368 #define AXIS2_CONTAINER_MANAGED "ContainerManaged"
00369 #define AXIS2_RESPONSE_WRITTEN "CONTENT_WRITTEN"
00370 
00371 #define AXIS2_TESTING_PATH "target/test-resources/"
00372 
00373 #define AXIS2_TESTING_REPOSITORY "target/test-resources/samples"
00374 
00375     /* Indicate whether the axis2 service should be loaded at start up */
00376 #define AXIS2_LOAD_SVC_STARTUP "loadServiceAtStartup"
00377 
00378     /*************************** REST_WITH_GET ************************************/
00379 
00380 #define AXIS2_GET_PARAMETER_OP "op"
00381 #define AXIS2_GET_PARAMETER_URL "http://ws.apache.org/goGetWithREST"
00382 
00383     /******************************************************************************/
00384 
00385 #define AXIS2_NAMESPACE_PREFIX "axis2"
00386 #define AXIS2_NAMESPACE_URI "http://ws.apache.org/namespaces/axis2"
00387 
00388 #define AXIS2_SVC_GRP_ID "ServiceGroupId"
00389 
00390 #define AXIS2_RESPONSE_SOAP_ENVELOPE "Axis2ResponseEnvelope"
00391 #define AXIS2_HANDLER_ALREADY_VISITED "handler_already_visited"
00392 #define AXIS2_IS_SVR_SIDE "axis2_is_svr_side"
00393 
00394 #define AXIS2_SERVICE_DIR "servicesDir"
00395 #define AXIS2_MODULE_DIR "moduleDir"
00396 #ifdef __cplusplus
00397 }
00398 #endif
00399 
00400 #endif                          /* AXIS2_CONST_H */

Generated on Sat May 3 10:44:33 2008 for Axis2/C by  doxygen 1.5.5