Axis2/C: axis2_const.h Source File

- Main Page
- Modules
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

# 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 #define AXIS2_TRANSPORT_AMQP    "amqp"
    00121 #define AXIS2_TRANSPORT_UDP             "soap.udp"
    00122     typedef enum
    00123     {
    00124         AXIS2_TRANSPORT_ENUM_HTTP = 0,
    00125         AXIS2_TRANSPORT_ENUM_SMTP,
    00126         AXIS2_TRANSPORT_ENUM_TCP,
    00127         AXIS2_TRANSPORT_ENUM_XMPP,
    00128         AXIS2_TRANSPORT_ENUM_HTTPS,
    00129         AXIS2_TRANSPORT_ENUM_AMQP,
    00130                 AXIS2_TRANSPORT_ENUM_UDP,
    00131         AXIS2_TRANSPORT_ENUM_MAX
    00132     } AXIS2_TRANSPORT_ENUMS;
    00133
    00135 #ifndef AXIS2_REQUEST_URL_PREFIX
    00136 #define AXIS2_REQUEST_URL_PREFIX "/services"
    00137 #endif
    00138
    00139 #define AXIS2_LISTSERVICES "listServices"
    00140
    00141 #define AXIS2_LIST_SERVICE_FOR_MODULE_ENGAMNET "listop"
    00142
    00146 #define AXIS2_ADMIN_LISTSERVICES "listService"
    00147
    00148 #define AXIS2_LIST_MODULES "listModules"
    00149
    00150 #define AXIS2_LIST_GLOABLLY_ENGAGED_MODULES "globalModules"
    00151
    00152 #define AXIS2_LIST_PHASES "listPhases"
    00153
    00154 #define AXIS2_ENGAGE_GLOBAL_MODULE "engagingglobally"
    00155 #define AXIS2_ENGAGE_MODULE_TO_SERVICE "engageToService"
    00156
    00157 #define AXIS2_ENGAGE_MODULE_TO_SERVICE_GROUP "engageToServiceGroup"
    00158
    00159 #define AXIS2_ADMIN_LOGIN "adminlogin"
    00160
    00161 #define AXIS2_LIST_CONTEXTS "listContexts"
    00162 #define AXIS2_LOGOUT "logout"
    00163
    00164 #define AXIS2_VIEW_GLOBAL_HANDLERS "viewGlobalHandlers"
    00165 #define AXIS2_SELECT_SERVICE "selectService"
    00166 #define AXIS2_EDIR_SERVICE_PARA "editServicepara"
    00167 #define AXIS2_SELECT_SERVICE_FOR_PARA_EDIT "selectServiceParaEdit"
    00168 #define AXIS2_VIEW_SERVICE_HANDLERS "viewServiceHandlers"
    00169 #define AXIS2_LIST_SERVIC_GROUPS "listServciceGroups"
    00170
    00174 #define AXIS2_SERVICE_MAP "servicemap"
    00175 #define AXIS2_SERVICE_GROUP_MAP "serviceGroupmap"
    00176
    00177 #define AXIS2_CONFIG_CONTEXT "config_context"
    00178 #define AXIS2_ACTION_MAPPING "actionMapping"
    00179 #define AXIS2_OUTPUT_ACTION_MAPPING "outputActionMapping"
    00180 #define AXI2_FAULT_ACTION_MAPPING "faultActionMapping"
    00181
    00182 #define AXIS2_SERVICE "service"
    00183
    00184 #define AXIS2_OPEARTION_MAP "opmap"
    00185
    00189 #define AXIS2_MODULE_MAP "modulemap"
    00190
    00191 #define AXIS2_SELECT_SERVICE_TYPE "SELECT_SERVICE_TYPE"
    00192
    00193 #define AXIS2_GLOBAL_HANDLERS "axisconfig"
    00194 #define AXIS2_SERVICE_HANDLERS "serviceHandlers"
    00195
    00196 #define AXIS2_PHASE_LIST "phaseList"
    00197
    00198 #define AXIS2_LIST_OPS_FOR_THE_SERVICE "listOperations"
    00199
    00200 #define AXIS2_REMOVE_SERVICE "removeService"
    00201
    00202 #define AXIS2_ENGAGE_STATUS "engagestatus"
    00203
    00207 #define AXIS2_ERROR_SERVICE_MAP "errprservicemap"
    00208 #define AXIS2_ERROR_MODULE_MAP "errormodulesmap"
    00209
    00210 #define AXIS2_IS_FAULTY "Fault"
    00211
    00212 #define AXIS2_MODULE_ADDRESSING "addressing"
    00213
    00214 #define AXIS2_USE_SEPARATE_LISTENER "use_listener"
    00215
    00216 #define AXIS2_USER_NAME "userName"
    00217 #define AXIS2_PASSWORD "password"
    00218
    00222 #define AXIS2_SINGLE_SERVICE "singleservice"
    00223 #define AXIS2_WSDL_CONTENT "wsdl"
    00224 #define AXIS2_REQUEST_WSDL "?wsdl"
    00225
    00226 #define AXIS2_STYLE_RPC  "rpc"
    00227 #define AXIS2_STYLE_DOC  "doc"
    00228 #define AXIS2_STYLE_MSG  "msg"
    00229
    00230     typedef enum axis2_wsdl_msg_labels
    00231     {
    00232         AXIS2_WSDL_MESSAGE_LABEL_IN = 0,
    00233         AXIS2_WSDL_MESSAGE_LABEL_OUT,
    00234         AXIS2_WSDL_MESSAGE_LABEL_MAX
    00235     } axis2_wsdl_msg_labels_t;
    00236
    00237     /*********************Message Exchange Pattern Constants***********************/
    00238
    00242 #define AXIS2_MEP_URI_IN_ONLY "http://www.w3.org/2004/08/wsdl/in-only"
    00243
    00244 #define AXIS2_MEP_CONSTANT_IN_ONLY 10
    00245
    00249 #define AXIS2_MEP_URI_ROBUST_IN_ONLY "http://www.w3.org/2004/08/wsdl/robust-in-only"
    00250
    00251 #define AXIS2_MEP_CONSTANT_ROBUST_IN_ONLY 11
    00252
    00256 #define AXIS2_MEP_URI_IN_OUT "http://www.w3.org/2004/08/wsdl/in-out"
    00257
    00258 #define AXIS2_MEP_CONSTANT_IN_OUT 12
    00259
    00263 #define AXIS2_MEP_URI_IN_OPTIONAL_OUT "http://www.w3.org/2004/08/wsdl/in-opt-out"
    00264
    00265 #define AXIS2_MEP_CONSTANT_IN_OPTIONAL_OUT 13
    00266
    00270 #define AXIS2_MEP_URI_OUT_ONLY "http://www.w3.org/2004/08/wsdl/out-only"
    00271
    00272 #define AXIS2_MEP_CONSTANT_OUT_ONLY 14
    00273
    00277 #define AXIS2_MEP_URI_ROBUST_OUT_ONLY "http://www.w3.org/2004/08/wsdl/robust-out-only"
    00278
    00279 #define AXIS2_MEP_CONSTANT_ROBUST_OUT_ONLY 15
    00280
    00284 #define AXIS2_MEP_URI_OUT_IN "http://www.w3.org/2004/08/wsdl/out-in"
    00285
    00286 #define AXIS2_MEP_CONSTANT_OUT_IN 16
    00287
    00291 #define AXIS2_MEP_URI_OUT_OPTIONAL_IN "http://www.w3.org/2004/08/wsdl/out-opt-in"
    00292
    00293 #define AXIS2_MEP_CONSTANT_OUT_OPTIONAL_IN 17
    00294
    00295 #define AXIS2_MEP_CONSTANT_INVALID -1
    00296
    00300 #define AXIS2_WSDL_MESSAGE_DIRECTION_IN "in"
    00301
    00305 #define AXIS2_WSDL_MESSAGE_DIRECTION_OUT "out"
    00306
    00310 #define AXIS2_REST_HTTP_LOCATION "RESTLocation"
    00311
    00315 #define AXIS2_REST_HTTP_METHOD "RESTMethod"
    00316
    00320 #define AXIS2_DEFAULT_REST_HTTP_METHOD "defaultRESTMethod"
    00321
    00326     /* static const char METHOD_NAME_ESCAPE_CHARACTOR '?' */
    00327
    00328 #define AXIS2_LOGGED "Logged"
    00329
    00330     /* static const char SERVICE_NAME_SPLIT_CHAR':' */
    00331
    00332     /*********************Configuration *******************************************/
    00333
    00334 #define AXIS2_ENABLE_REST "enableREST"
    00335 #define AXIS2_ENABLE_REST_THROUGH_GET "restThroughGet"
    00336
    00337 #define AXIS2_FORCE_PROXY_AUTH "forceProxyAuth"
    00338 #define AXIS2_FORCE_HTTP_AUTH "forceHTTPAuth"
    00339
    00340 #define AXIS2_PROXY_AUTH_TYPE "proxyAuthType"
    00341 #define AXIS2_HTTP_AUTH_TYPE "HTTPAuthType"
    00342
    00346 #define AXIS2_TEST_PROXY_AUTH "testProxyAuth"
    00347
    00351 #define AXIS2_TEST_HTTP_AUTH "testHTTPAuth"
    00352
    00353     /* add xml declaration */
    00354 #define AXIS2_XML_DECLARATION "xml-declaration"
    00355 #define AXIS2_ADD_XML_DECLARATION "insert"
    00356
    00357     /* globally enable MTOM */
    00358 #define AXIS2_ENABLE_MTOM "enableMTOM"
    00359 #define AXIS2_ATTACHMENT_DIR "attachmentDIR"
    00360 #define AXIS2_MTOM_BUFFER_SIZE "MTOMBufferSize"
    00361 #define AXIS2_MTOM_MAX_BUFFERS "MTOMMaxBuffers"
    00362 #define AXIS2_MTOM_CACHING_CALLBACK "MTOMCachingCallback"
    00363 #define AXIS2_MTOM_SENDING_CALLBACK "MTOMSendingCallback"
    00364 #define AXIS2_ENABLE_MTOM_SERVICE_CALLBACK "EnableMTOMServiceCallback"
    00365
    00366     /* op_ctx persistance */
    00367 #define AXIS2_PERSIST_OP_CTX "persistOperationContext"
    00368
    00369 #define AXIS2_EXPOSE_HEADERS "exposeHeaders"
    00370
    00371     /******************************************************************************/
    00372
    00373 #define AXIS2_VALUE_TRUE "true"
    00374 #define AXIS2_VALUE_FALSE "false"
    00375 #define AXIS2_CONTAINER_MANAGED "ContainerManaged"
    00376 #define AXIS2_RESPONSE_WRITTEN "CONTENT_WRITTEN"
    00377
    00378 #define AXIS2_TESTING_PATH "target/test-resources/"
    00379
    00380 #define AXIS2_TESTING_REPOSITORY "target/test-resources/samples"
    00381
    00382     /* Indicate whether the axis2 service should be loaded at start up */
    00383 #define AXIS2_LOAD_SVC_STARTUP "loadServiceAtStartup"
    00384
    00385     /*************************** REST_WITH_GET ************************************/
    00386
    00387 #define AXIS2_GET_PARAMETER_OP "op"
    00388 #define AXIS2_GET_PARAMETER_URL "http://ws.apache.org/goGetWithREST"
    00389
    00390     /******************************************************************************/
    00391
    00392 #define AXIS2_NAMESPACE_PREFIX "axis2"
    00393 #define AXIS2_NAMESPACE_URI "http://ws.apache.org/namespaces/axis2"
    00394
    00395 #define AXIS2_SVC_GRP_ID "ServiceGroupId"
    00396
    00397 #define AXIS2_RESPONSE_SOAP_ENVELOPE "Axis2ResponseEnvelope"
    00398 #define AXIS2_HANDLER_ALREADY_VISITED "handler_already_visited"
    00399 #define AXIS2_IS_SVR_SIDE "axis2_is_svr_side"
    00400
    00401 #define AXIS2_SERVICE_DIR "servicesDir"
    00402 #define AXIS2_MODULE_DIR "moduleDir"
    00403
    00404 #define AXIS2_MESSAGE_ID_PREFIX "urn:uuid:"
    00405
    00407 #define AXIS2_ANON_SERVICE  "__ANONYMOUS_SERVICE__"
    00408
    00410 #define AXIS2_ANON_OUT_ONLY_OP "__OPERATION_OUT_ONLY__"
    00411
    00413 #define AXIS2_ANON_ROBUST_OUT_ONLY_OP "__OPERATION_ROBUST_OUT_ONLY__"
    00414
    00416 #define AXIS2_ANON_OUT_IN_OP "__OPERATION_OUT_IN__"
    00417
    00419 #define AXIS2_WSDL_LOCATION_IN_REPO "woden"
    00420
    00421 #ifdef __cplusplus
    00422 }
    00423 #endif
    00424
    00425 #endif                          /* AXIS2_CONST_H */