axis2_msg_ctx.h

Go to the documentation of this file.
00001 /*
00002 * Copyright 2004,2005 The Apache Software Foundation.
00003 *
00004 * Licensed under the Apache License, Version 2.0 (the "License");
00005 * you may not use this file except in compliance with the License.
00006 * You may obtain a copy of the License at
00007 *
00008 *      http://www.apache.org/licenses/LICENSE-2.0
00009 *
00010 * Unless required by applicable law or agreed to in writing, software
00011 * distributed under the License is distributed on an "AS IS" BASIS,
00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013 * See the License for the specific language governing permissions and
00014 * limitations under the License.
00015 */
00016 
00017 #ifndef AXIS2_MSG_CTX_H
00018 #define AXIS2_MSG_CTX_H
00019 
00042 #include <axis2_defines.h>
00043 #include <axis2_env.h>
00044 #include <axis2_ctx.h>
00045 #include <axis2_relates_to.h>
00046 #include <axis2_param.h>
00047 #include <axis2_handler_desc.h>
00048 #include <axis2_qname.h>
00049 #include <axis2_msg_info_headers.h>
00050 
00051 #ifdef __cplusplus
00052 extern "C"
00053 {
00054 #endif
00055 
00057 #define AXIS2_TRANSPORT_HEADERS "AXIS2_TRANSPORT_HEADERS" 
00058 
00060 #define AXIS2_TRANSPORT_OUT "AXIS2_TRANSPORT_OUT" 
00061 
00063 #define AXIS2_TRANSPORT_IN "AXIS2_TRANSPORT_IN" 
00064 
00066 #define AXIS2_CHARACTER_SET_ENCODING "AXIS2_CHARACTER_SET_ENCODING" 
00067 
00069 #define AXIS2_UTF_8 "UTF-8" 
00070 
00072 #define AXIS2_UTF_16 "utf-16" 
00073 
00075 #define AXIS2_DEFAULT_CHAR_SET_ENCODING "UTF-8" 
00076 
00078 #define AXIS2_TRANSPORT_SUCCEED "AXIS2_TRANSPORT_SUCCEED" 
00079 
00081 #define AXIS2_HTTP_CLIENT "AXIS2_HTTP_CLIENT"
00082 
00084 #define AXIS2_TRANSPORT_URL "TransportURL" 
00085 
00086 /* Message flows */
00088 /*#define AXIS2_IN_FLOW 1*/
00089 
00091 /*#define AXIS2_IN_FAULT_FLOW 2*/
00092 
00094 /*#define AXIS2_OUT_FLOW 3*/
00095 
00097 /*#define AXIS2_OUT_FAULT_FLOW 4*/
00098 
00100     typedef struct axis2_msg_ctx_ops axis2_msg_ctx_ops_t;
00102     typedef struct axis2_msg_ctx axis2_msg_ctx_t;
00103 
00104     struct axis2_svc;
00105     struct axis2_op;
00106 
00107     struct axis2_conf_ctx;
00108     struct axis2_svc_grp_ctx;
00109     struct axis2_svc_ctx;
00110     struct axis2_op_ctx;
00111     struct axis2_conf;
00112     struct axiom_soap_envelope;
00113     struct axis2_options;
00114 
00119     struct axis2_msg_ctx_ops
00120     {
00127         axis2_ctx_t *(AXIS2_CALL *
00128                 get_base)(
00129                     const axis2_msg_ctx_t *msg_ctx,
00130                     const axis2_env_t *env);
00131 
00138         struct axis2_op_ctx *(AXIS2_CALL *
00139                 get_parent)(
00140                     const axis2_msg_ctx_t *msg_ctx,
00141                     const axis2_env_t *env);
00142 
00150         axis2_status_t (AXIS2_CALL *
00151                 set_parent)(
00152                     axis2_msg_ctx_t *msg_ctx,
00153                     const axis2_env_t *env,
00154                     struct axis2_op_ctx *parent);
00155 
00162         axis2_status_t (AXIS2_CALL *
00163                 free)(
00164                     axis2_msg_ctx_t *msg_ctx,
00165                     const axis2_env_t *env);
00166 
00177         axis2_status_t (AXIS2_CALL *
00178                 init)(
00179                     axis2_msg_ctx_t *msg_ctx,
00180                     const axis2_env_t *env,
00181                     struct axis2_conf *conf);
00182 
00191         axis2_endpoint_ref_t *(AXIS2_CALL *
00192                 get_fault_to)(
00193                     const axis2_msg_ctx_t *msg_ctx,
00194                     const axis2_env_t *env);
00195 
00204         axis2_endpoint_ref_t *(AXIS2_CALL *
00205                 get_from)(
00206                     const axis2_msg_ctx_t *msg_ctx,
00207                     const axis2_env_t *env);
00208 
00215         axis2_bool_t (AXIS2_CALL *
00216                 get_in_fault_flow)(
00217                     const axis2_msg_ctx_t *msg_ctx,
00218                     const axis2_env_t *env);
00219 
00228         struct axiom_soap_envelope *(AXIS2_CALL *
00229                 get_soap_envelope)(
00230                     const axis2_msg_ctx_t *msg_ctx,
00231                     const axis2_env_t *env);
00232 
00239         struct axiom_soap_envelope *(AXIS2_CALL *
00240                 get_fault_soap_envelope)(
00241                     const axis2_msg_ctx_t *msg_ctx,
00242                     const axis2_env_t *env);
00243 
00251         const axis2_char_t *(AXIS2_CALL *
00252                 get_msg_id)(
00253                     const axis2_msg_ctx_t *msg_ctx,
00254                     const axis2_env_t *env);
00255 
00262         axis2_bool_t (AXIS2_CALL *
00263                 get_process_fault)(
00264                     const axis2_msg_ctx_t *msg_ctx,
00265                     const axis2_env_t *env);
00266 
00273         axis2_relates_to_t *(AXIS2_CALL *
00274                 get_relates_to)(
00275                     const axis2_msg_ctx_t *msg_ctx,
00276                     const axis2_env_t *env);
00277 
00286         axis2_endpoint_ref_t *(AXIS2_CALL *
00287                 get_reply_to)(
00288                     const axis2_msg_ctx_t *msg_ctx,
00289                     const axis2_env_t *env);
00290 
00297         axis2_bool_t (AXIS2_CALL *
00298                 get_response_written)(
00299                     const axis2_msg_ctx_t *msg_ctx,
00300                     const axis2_env_t *env);
00301 
00310         axis2_bool_t (AXIS2_CALL *
00311                 get_server_side)(
00312                     const axis2_msg_ctx_t *msg_ctx,
00313                     const axis2_env_t *env);
00314 
00323         axis2_endpoint_ref_t *(AXIS2_CALL *
00324                 get_to)(
00325                     const axis2_msg_ctx_t *msg_ctx,
00326                     const axis2_env_t *env);
00327 
00337         axis2_status_t (AXIS2_CALL *
00338                 set_fault_to)(
00339                     axis2_msg_ctx_t *msg_ctx,
00340                     const axis2_env_t *env,
00341                     axis2_endpoint_ref_t *reference);
00342 
00352         axis2_status_t (AXIS2_CALL *
00353                 set_from)(
00354                     axis2_msg_ctx_t *msg_ctx,
00355                     const axis2_env_t *env,
00356                     axis2_endpoint_ref_t *reference);
00357 
00366         axis2_status_t (AXIS2_CALL *
00367                 set_in_fault_flow)(
00368                     axis2_msg_ctx_t *msg_ctx,
00369                     const axis2_env_t *env,
00370                     const axis2_bool_t in_fault_flow);
00371 
00382         axis2_status_t (AXIS2_CALL *
00383                 set_soap_envelope)(
00384                     axis2_msg_ctx_t *msg_ctx,
00385                     const axis2_env_t *env,
00386                     struct axiom_soap_envelope *soap_envelope);
00387 
00396         axis2_status_t (AXIS2_CALL *
00397                 set_fault_soap_envelope)(
00398                     axis2_msg_ctx_t *msg_ctx,
00399                     const axis2_env_t *env,
00400                     struct axiom_soap_envelope *soap_envelope);
00401 
00409         axis2_status_t (AXIS2_CALL *
00410                 set_message_id)(
00411                     axis2_msg_ctx_t *msg_ctx,
00412                     const axis2_env_t *env,
00413                     const axis2_char_t *message_id);
00414 
00423         axis2_status_t (AXIS2_CALL *
00424                 set_process_fault)(
00425                     axis2_msg_ctx_t *msg_ctx,
00426                     const axis2_env_t *env,
00427                     const axis2_bool_t process_fault);
00428 
00437         axis2_status_t (AXIS2_CALL *
00438                 set_relates_to)(
00439                     axis2_msg_ctx_t *msg_ctx,
00440                     const axis2_env_t *env,
00441                     axis2_relates_to_t *reference);
00442 
00452         axis2_status_t (AXIS2_CALL *
00453                 set_reply_to)(
00454                     axis2_msg_ctx_t *msg_ctx,
00455                     const axis2_env_t *env,
00456                     axis2_endpoint_ref_t *referance);
00457 
00466         axis2_status_t (AXIS2_CALL *
00467                 set_response_written)(
00468                     axis2_msg_ctx_t *msg_ctx,
00469                     const axis2_env_t *env,
00470                     const axis2_bool_t response_written);
00471 
00481         axis2_status_t (AXIS2_CALL *
00482                 set_server_side)(
00483                     axis2_msg_ctx_t *msg_ctx,
00484                     const axis2_env_t *env,
00485                     const axis2_bool_t server_side);
00486 
00496         axis2_status_t (AXIS2_CALL *
00497                 set_to)(
00498                     axis2_msg_ctx_t *msg_ctx,
00499                     const axis2_env_t *env,
00500                     axis2_endpoint_ref_t *referance);
00501 
00509         axis2_bool_t (AXIS2_CALL *
00510                 get_new_thread_required)(
00511                     const axis2_msg_ctx_t *msg_ctx,
00512                     const axis2_env_t *env);
00513 
00523         axis2_status_t (AXIS2_CALL *
00524                 set_new_thread_required)(
00525                     axis2_msg_ctx_t *msg_ctx,
00526                     const axis2_env_t *env,
00527                     const axis2_bool_t new_thread_required);
00528 
00536         axis2_status_t (AXIS2_CALL *
00537                 set_wsa_action)(
00538                     axis2_msg_ctx_t *msg_ctx,
00539                     const axis2_env_t *env,
00540                     const axis2_char_t *action_uri);
00541 
00548         const axis2_char_t *(AXIS2_CALL *
00549                 get_wsa_action)(
00550                     const axis2_msg_ctx_t *msg_ctx,
00551                     const axis2_env_t *env);
00552 
00560         axis2_status_t (AXIS2_CALL *
00561                 set_wsa_message_id)(
00562                     axis2_msg_ctx_t *msg_ctx,
00563                     const axis2_env_t *env,
00564                     const axis2_char_t *message_id);
00565 
00572         const axis2_char_t *(AXIS2_CALL *
00573                 get_wsa_message_id)(
00574                     const axis2_msg_ctx_t *msg_ctx,
00575                     const axis2_env_t *env);
00576 
00584         axis2_msg_info_headers_t *(AXIS2_CALL *
00585                 get_msg_info_headers)(
00586                     const axis2_msg_ctx_t *msg_ctx,
00587                     const axis2_env_t *env);
00588 
00597         axis2_bool_t (AXIS2_CALL *
00598                 get_paused)(
00599                     const axis2_msg_ctx_t *msg_ctx,
00600                     const axis2_env_t *env);
00601 
00609         axis2_status_t (AXIS2_CALL *
00610                 set_paused)(
00611                     axis2_msg_ctx_t *msg_ctx,
00612                     const axis2_env_t *env,
00613                     const axis2_bool_t paused);
00614 
00622         struct axis2_transport_in_desc *(AXIS2_CALL *
00623                 get_transport_in_desc)(
00624                     const axis2_msg_ctx_t *msg_ctx,
00625                     const axis2_env_t *env);
00626 
00634         struct axis2_transport_out_desc *(AXIS2_CALL *
00635                 get_transport_out_desc)(
00636                     const axis2_msg_ctx_t *msg_ctx,
00637                     const axis2_env_t *env);
00638 
00647         axis2_status_t (AXIS2_CALL *
00648                 set_transport_in_desc)(
00649                     axis2_msg_ctx_t *msg_ctx,
00650                     const axis2_env_t *env,
00651                     struct axis2_transport_in_desc *transport_in_desc);
00652 
00661         axis2_status_t (AXIS2_CALL *
00662                 set_transport_out_desc)(
00663                     axis2_msg_ctx_t *msg_ctx,
00664                     const axis2_env_t *env,
00665                     struct axis2_transport_out_desc *transport_out_desc);
00666 
00674         struct axis2_op_ctx *(AXIS2_CALL *
00675                 get_op_ctx)(
00676                     const axis2_msg_ctx_t *msg_ctx,
00677                     const axis2_env_t *env);
00678 
00688         axis2_status_t (AXIS2_CALL *
00689                 set_op_ctx)(
00690                     axis2_msg_ctx_t *msg_ctx,
00691                     const axis2_env_t *env,
00692                     struct axis2_op_ctx *op_ctx);
00693 
00700         axis2_bool_t (AXIS2_CALL *
00701                 get_output_written)(
00702                     const axis2_msg_ctx_t *msg_ctx,
00703                     const axis2_env_t *env);
00704 
00712         axis2_status_t (AXIS2_CALL *
00713                 set_output_written)(
00714                     axis2_msg_ctx_t *msg_ctx,
00715                     const axis2_env_t *env,
00716                     const axis2_bool_t output_written);
00717 
00725         const axis2_char_t *(AXIS2_CALL *
00726                 get_svc_ctx_id)(
00727                     const axis2_msg_ctx_t *msg_ctx,
00728                     const axis2_env_t *env);
00729 
00738         axis2_status_t (AXIS2_CALL *
00739                 set_svc_ctx_id)(
00740                     axis2_msg_ctx_t *msg_ctx,
00741                     const axis2_env_t *env,
00742                     const axis2_char_t *svc_ctx_id);
00743 
00750         struct axis2_conf_ctx *(AXIS2_CALL *
00751                 get_conf_ctx)(
00752                     const axis2_msg_ctx_t *msg_ctx,
00753                     const axis2_env_t *env);
00754 
00762         struct axis2_svc_ctx *(AXIS2_CALL *
00763                 get_svc_ctx)(
00764                     const axis2_msg_ctx_t *msg_ctx,
00765                     const axis2_env_t *env);
00766 
00775         axis2_status_t (AXIS2_CALL *
00776                 set_conf_ctx)(
00777                     axis2_msg_ctx_t *msg_ctx,
00778                     const axis2_env_t *env,
00779                     struct axis2_conf_ctx *conf_ctx);
00780 
00789         axis2_status_t (AXIS2_CALL *
00790                 set_svc_ctx)(
00791                     axis2_msg_ctx_t *msg_ctx,
00792                     const axis2_env_t *env,
00793                     struct axis2_svc_ctx *svc_ctx);
00794 
00803         axis2_status_t (AXIS2_CALL *
00804                 set_msg_info_headers)(
00805                     axis2_msg_ctx_t *msg_ctx,
00806                     const axis2_env_t *env,
00807                     axis2_msg_info_headers_t *msg_info_headers);
00808 
00824         axis2_param_t *(AXIS2_CALL *
00825                 get_parameter)(
00826                     const axis2_msg_ctx_t *msg_ctx,
00827                     const axis2_env_t *env,
00828                     const axis2_char_t *key);
00829 
00850         axis2_param_t *(AXIS2_CALL *
00851                 get_module_parameter)(
00852                     const axis2_msg_ctx_t *msg_ctx,
00853                     const axis2_env_t *env,
00854                     const axis2_char_t *key,
00855                     const axis2_char_t *module_name,
00856                     axis2_handler_desc_t *handler_desc);
00857 
00868         axis2_property_t *(AXIS2_CALL *
00869                 get_property)(
00870                     const axis2_msg_ctx_t *msg_ctx,
00871                     const axis2_env_t *env,
00872                     const axis2_char_t *key,
00873                     const axis2_bool_t persistent);
00874 
00886         axis2_status_t (AXIS2_CALL *
00887                 set_property)(
00888                     axis2_msg_ctx_t *msg_ctx,
00889                     const axis2_env_t *env,
00890                     const axis2_char_t *key,
00891                     axis2_property_t *value,
00892                     const axis2_bool_t persistent);
00899         const axis2_qname_t *(AXIS2_CALL *
00900                 get_paused_handler_name)(
00901                     const axis2_msg_ctx_t *msg_ctx,
00902                     const axis2_env_t *env);
00903 
00910         const axis2_char_t *(AXIS2_CALL *
00911                 get_paused_phase_name)(
00912                     const axis2_msg_ctx_t *msg_ctx,
00913                     const axis2_env_t *env);
00914 
00922         axis2_status_t (AXIS2_CALL *
00923                 set_paused_phase_name)(
00924                     axis2_msg_ctx_t *msg_ctx,
00925                     const axis2_env_t *env,
00926                     const axis2_char_t *paused_phase_name);
00927 
00934         const axis2_char_t *(AXIS2_CALL *
00935                 get_soap_action)(
00936                     const axis2_msg_ctx_t *msg_ctx,
00937                     const axis2_env_t *env);
00938 
00946         axis2_status_t (AXIS2_CALL *
00947                 set_soap_action)(
00948                     axis2_msg_ctx_t *msg_ctx,
00949                     const axis2_env_t *env,
00950                     const axis2_char_t *soap_action);
00951 
00958         axis2_bool_t (AXIS2_CALL *
00959                 get_doing_mtom)(
00960                     const axis2_msg_ctx_t *msg_ctx,
00961                     const axis2_env_t *env);
00962 
00970         axis2_status_t (AXIS2_CALL *
00971                 set_doing_mtom)(
00972                     axis2_msg_ctx_t *msg_ctx,
00973                     const axis2_env_t *env,
00974                     const axis2_bool_t doing_mtom);
00975 
00982         axis2_bool_t (AXIS2_CALL *
00983                 get_doing_rest)(
00984                     const axis2_msg_ctx_t *msg_ctx,
00985                     const axis2_env_t *env);
00986 
00994         axis2_status_t (AXIS2_CALL *
00995                 set_doing_rest)(
00996                     axis2_msg_ctx_t *msg_ctx,
00997                     const axis2_env_t *env,
00998                     const axis2_bool_t doing_rest);
00999 
01009         axis2_status_t (AXIS2_CALL *
01010                 set_do_rest_through_post)(
01011                     axis2_msg_ctx_t *msg_ctx,
01012                     const axis2_env_t *env,
01013                     const axis2_bool_t do_rest_through_post);
01014 
01015 
01024         axis2_bool_t (AXIS2_CALL *
01025                 get_do_rest_through_post)(
01026                     const axis2_msg_ctx_t *msg_ctx,
01027                     const axis2_env_t *env);
01028 
01037         axis2_bool_t (AXIS2_CALL *
01038                 get_is_soap_11)(
01039                     const axis2_msg_ctx_t *msg_ctx,
01040                     const axis2_env_t *env);
01041 
01051         axis2_status_t (AXIS2_CALL *
01052                 set_is_soap_11)(
01053                     axis2_msg_ctx_t *msg_ctx,
01054                     const axis2_env_t *env,
01055                     const axis2_bool_t is_soap11);
01056 
01065         struct axis2_svc_grp_ctx *(AXIS2_CALL *
01066                 get_svc_grp_ctx)(
01067                     const axis2_msg_ctx_t *msg_ctx,
01068                     const axis2_env_t *env);
01069 
01079         axis2_status_t (AXIS2_CALL *
01080                 set_svc_grp_ctx)(
01081                     axis2_msg_ctx_t *msg_ctx,
01082                     const axis2_env_t *env,
01083                     struct axis2_svc_grp_ctx *svc_grp_ctx);
01084 
01085 
01092         struct axis2_op *(AXIS2_CALL *
01093                 get_op)(
01094                     const axis2_msg_ctx_t *msg_ctx,
01095                     const axis2_env_t *env);
01096 
01097 
01106         axis2_status_t (AXIS2_CALL *
01107                 set_op)(
01108                     axis2_msg_ctx_t *msg_ctx,
01109                     const axis2_env_t *env,
01110                     struct axis2_op *op);
01111 
01112 
01119         struct axis2_svc *(AXIS2_CALL *
01120                 get_svc)(
01121                     const axis2_msg_ctx_t *msg_ctx,
01122                     const axis2_env_t *env);
01123 
01124 
01133         axis2_status_t (AXIS2_CALL *
01134                 set_svc)(
01135                     axis2_msg_ctx_t *msg_ctx,
01136                     const axis2_env_t *env,
01137                     struct axis2_svc *svc);
01138 
01146         struct axis2_svc_grp *(AXIS2_CALL *
01147                  get_svc_grp)(
01148                      const axis2_msg_ctx_t *msg_ctx,
01149                      const axis2_env_t *env);
01150 
01159         axis2_status_t (AXIS2_CALL *
01160                 set_svc_grp)(
01161                     axis2_msg_ctx_t *msg_ctx,
01162                     const axis2_env_t *env,
01163                     struct axis2_svc_grp *svc_grp);
01164 
01165 
01172         const axis2_char_t *(AXIS2_CALL *
01173                 get_svc_grp_ctx_id)(
01174                     const axis2_msg_ctx_t *msg_ctx,
01175                     const axis2_env_t *env);
01176 
01184         axis2_status_t (AXIS2_CALL *
01185                 set_svc_grp_ctx_id)(
01186                     axis2_msg_ctx_t *msg_ctx,
01187                     const axis2_env_t *env,
01188                     const axis2_char_t *svc_grp_ctx_id);
01189 
01197         struct axis2_svc *(AXIS2_CALL *
01198                 find_svc)(
01199                     axis2_msg_ctx_t *msg_ctx,
01200                     const axis2_env_t *env);
01209         struct axis2_op *(AXIS2_CALL *
01210                 find_op)(
01211                     axis2_msg_ctx_t *msg_ctx,
01212                     const axis2_env_t *env,
01213                     struct axis2_svc *svc);
01214 
01221         axis2_bool_t (AXIS2_CALL *
01222                 is_paused)(
01223                     axis2_msg_ctx_t *msg_ctx,
01224                     const axis2_env_t *env);
01225 
01234         axis2_status_t (AXIS2_CALL *
01235                 set_options )(
01236                     axis2_msg_ctx_t *msg_ctx,
01237                     const axis2_env_t *env,
01238                     struct axis2_options *options);
01239 
01247         axis2_status_t (AXIS2_CALL *
01248                 set_flow )(
01249                     axis2_msg_ctx_t *msg_ctx,
01250                     const axis2_env_t *env,
01251                     int flow);
01252 
01259         int (AXIS2_CALL *
01260                 get_flow )(
01261                     const axis2_msg_ctx_t *msg_ctx,
01262                     const axis2_env_t *env);
01263 
01274         axis2_status_t (AXIS2_CALL *
01275                 set_execution_chain)(
01276                     axis2_msg_ctx_t *msg_ctx,
01277                     const axis2_env_t *env,
01278                     axis2_array_list_t *execution_chain);
01279 
01289         axis2_array_list_t *(AXIS2_CALL *
01290                 get_execution_chain)(
01291                     const axis2_msg_ctx_t *msg_ctx,
01292                     const axis2_env_t *env);
01293 
01302         axis2_status_t (AXIS2_CALL *
01303                 set_current_handler_index)(
01304                     axis2_msg_ctx_t *msg_ctx,
01305                     const axis2_env_t *env,
01306                     const int index);
01307 
01315         int (AXIS2_CALL *
01316                 get_current_handler_index)(
01317                     const axis2_msg_ctx_t *msg_ctx,
01318                     const axis2_env_t *env);
01319 
01327         int (AXIS2_CALL *
01328                 get_paused_handler_index)(
01329                     const axis2_msg_ctx_t *msg_ctx,
01330                     const axis2_env_t *env);
01331 
01332 
01340         axis2_status_t (AXIS2_CALL *
01341                 set_current_phase_index)(
01342                     axis2_msg_ctx_t *msg_ctx,
01343                     const axis2_env_t *env,
01344                     const int index);
01345 
01352         int (AXIS2_CALL *
01353                 get_current_phase_index)(
01354                     const axis2_msg_ctx_t *msg_ctx,
01355                     const axis2_env_t *env);
01356 
01363         int (AXIS2_CALL *
01364                 get_paused_phase_index)(
01365                     const axis2_msg_ctx_t *msg_ctx,
01366                     const axis2_env_t *env);
01367     };
01368 
01372     struct axis2_msg_ctx
01373     {
01375         axis2_msg_ctx_ops_t *ops;
01376     };
01377 
01378 
01390     AXIS2_EXTERN axis2_msg_ctx_t *AXIS2_CALL
01391     axis2_msg_ctx_create (
01392         const axis2_env_t *env,
01393         struct axis2_conf_ctx *conf_ctx,
01394         struct axis2_transport_in_desc *transport_in_desc,
01395         struct axis2_transport_out_desc *transport_out_des);
01396 
01397 
01400 #define AXIS2_MSG_CTX_GET_BASE(msg_ctx, env) \
01401       ((msg_ctx)->ops->get_base(msg_ctx, env))
01402 
01405 #define AXIS2_MSG_CTX_GET_PARENT(msg_ctx, env) \
01406       ((msg_ctx)->ops->get_parent(msg_ctx, env))
01407 
01410 #define AXIS2_MSG_CTX_SET_PARENT(msg_ctx, env, parent) \
01411       ((msg_ctx)->ops->get_parent(msg_ctx, env, parent))
01412 
01415 #define AXIS2_MSG_CTX_FREE(msg_ctx, env) \
01416       ((msg_ctx)->ops->free(msg_ctx, env))
01417 
01420 #define AXIS2_MSG_CTX_INIT(msg_ctx, env, conf) \
01421       ((msg_ctx)->ops->init(msg_ctx, env, conf))
01422 
01425 #define AXIS2_MSG_CTX_GET_FAULT_TO(msg_ctx, env) \
01426       ((msg_ctx)->ops->get_fault_to(msg_ctx, env))
01427 
01430 #define AXIS2_MSG_CTX_GET_FROM(msg_ctx, env) \
01431       ((msg_ctx)->ops->get_from(msg_ctx, env))
01432 
01435 #define AXIS2_MSG_CTX_GET_IN_FAULT_FLOW(msg_ctx, env) \
01436       ((msg_ctx)->ops->get_in_fault_flow(msg_ctx, env))
01437 
01440 #define AXIS2_MSG_CTX_GET_SOAP_ENVELOPE(msg_ctx, env) \
01441       ((msg_ctx)->ops->get_soap_envelope(msg_ctx, env))
01442 
01445 #define AXIS2_MSG_CTX_GET_FAULT_SOAP_ENVELOPE(msg_ctx, env) \
01446       ((msg_ctx)->ops->get_fault_soap_envelope(msg_ctx, env))
01447 
01450 #define AXIS2_MSG_CTX_GET_MSG_ID(msg_ctx, env) \
01451       ((msg_ctx)->ops->get_msg_id(msg_ctx, env))
01452 
01455 #define AXIS2_MSG_CTX_GET_PROCESS_FAULT(msg_ctx, env) \
01456       ((msg_ctx)->ops->get_process_fault(msg_ctx, env))
01457 
01460 #define AXIS2_MSG_CTX_GET_RELATES_TO(msg_ctx, env) \
01461       ((msg_ctx)->ops->get_relates_to(msg_ctx, env))
01462 
01465 #define AXIS2_MSG_CTX_GET_REPLY_TO(msg_ctx, env) \
01466       ((msg_ctx)->ops->get_reply_to(msg_ctx, env))
01467 
01470 #define AXIS2_MSG_CTX_GET_RESPONSE_WRITTEN(msg_ctx, env) \
01471       ((msg_ctx)->ops->get_response_written(msg_ctx, env))
01472 
01476 #define AXIS2_MSG_CTX_GET_SERVER_SIDE(msg_ctx, env) \
01477       ((msg_ctx)->ops->get_server_side(msg_ctx, env))
01478 
01481 #define AXIS2_MSG_CTX_GET_TO(msg_ctx, env) \
01482       ((msg_ctx)->ops->get_to(msg_ctx, env))
01483 
01486 #define AXIS2_MSG_CTX_SET_FAULT_TO(msg_ctx, env, reference) \
01487       ((msg_ctx)->ops->set_fault_to(msg_ctx, env, reference))
01488 
01491 #define AXIS2_MSG_CTX_SET_FROM(msg_ctx, env, reference) \
01492       ((msg_ctx)->ops->set_from(msg_ctx, env, reference))
01493 
01496 #define AXIS2_MSG_CTX_SET_IN_FAULT_FLOW(msg_ctx, env, in_fault_flow) \
01497       ((msg_ctx)->ops->get_in_fault_flow(msg_ctx, env, in_fault_flow))
01498 
01501 #define AXIS2_MSG_CTX_SET_SOAP_ENVELOPE(msg_ctx, env, soap_envelope) \
01502       ((msg_ctx)->ops->set_soap_envelope(msg_ctx, env, soap_envelope))
01503 
01506 #define AXIS2_MSG_CTX_SET_FAULT_SOAP_ENVELOPE(msg_ctx, env, soap_envelope) \
01507       ((msg_ctx)->ops->set_fault_soap_envelope(msg_ctx, env, soap_envelope))
01508 
01511 #define AXIS2_MSG_CTX_SET_MESSAGE_ID(msg_ctx, env, message_id) \
01512       ((msg_ctx)->ops->set_message_id(msg_ctx, env, message_id))
01513 
01516 #define AXIS2_MSG_CTX_SET_PROCESS_FAULT(msg_ctx, env, process_fault) \
01517       ((msg_ctx)->ops->set_process_fault(msg_ctx, env, process_fault))
01518 
01521 #define AXIS2_MSG_CTX_SET_RELATES_TO(msg_ctx, env, reference) \
01522       ((msg_ctx)->ops->set_relates_to(msg_ctx, env, reference))
01523 
01526 #define AXIS2_MSG_CTX_SET_REPLY_TO(msg_ctx, env, reference) \
01527       ((msg_ctx)->ops->set_reply_to(msg_ctx, env, reference))
01528 
01531 #define AXIS2_MSG_CTX_SET_RESPONSE_WRITTEN(msg_ctx, env, response_written) \
01532       ((msg_ctx)->ops->set_response_written(msg_ctx, env, response_written))
01533 
01537 #define AXIS2_MSG_CTX_SET_SERVER_SIDE(msg_ctx, env, server_side) \
01538       ((msg_ctx)->ops->set_server_side(msg_ctx, env, server_side))
01539 
01542 #define AXIS2_MSG_CTX_SET_TO(msg_ctx, env, reference) \
01543       ((msg_ctx)->ops->set_to(msg_ctx, env, reference))
01544 
01547 #define AXIS2_MSG_CTX_GET_NEW_THREAD_REQUIRED(msg_ctx, env) \
01548       ((msg_ctx)->ops->set_response_written(msg_ctx, env))
01549 
01552 #define AXIS2_MSG_CTX_SET_NEW_THREAD_REQUIRED(msg_ctx, env, new_thread_required) \
01553       ((msg_ctx)->ops->set_response_written(msg_ctx, env, new_thread_required))
01554 
01557 #define AXIS2_MSG_CTX_SET_WSA_ACTION(msg_ctx, env, action_uri) \
01558       ((msg_ctx)->ops->set_wsa_action(msg_ctx, env, action_uri))
01559 
01562 #define AXIS2_MSG_CTX_GET_WSA_ACTION(msg_ctx, env) \
01563       ((msg_ctx)->ops->get_wsa_action(msg_ctx, env))
01564 
01567 #define AXIS2_MSG_CTX_SET_WSA_MESSAGE_ID(msg_ctx, env, message_id) \
01568       ((msg_ctx)->ops->set_wsa_message_id(msg_ctx, env, message_id))
01569 
01572 #define AXIS2_MSG_CTX_GET_WSA_MESSAGE_ID(msg_ctx, env) \
01573       ((msg_ctx)->ops->get_wsa_message_id(msg_ctx, env))
01574 
01577 #define AXIS2_MSG_CTX_GET_MSG_INFO_HEADERS(msg_ctx, env) \
01578       ((msg_ctx)->ops->get_msg_info_headers(msg_ctx, env))
01579 
01582 #define AXIS2_MSG_CTX_GET_PAUSED(msg_ctx, env) \
01583       ((msg_ctx)->ops->get_paused(msg_ctx, env))
01584 
01587 #define AXIS2_MSG_CTX_SET_PAUSED(msg_ctx, env, paused) \
01588       ((msg_ctx)->ops->set_paused(msg_ctx, env, paused))
01589 
01592 #define AXIS2_MSG_CTX_GET_TRANSPORT_IN_DESC(msg_ctx, env) \
01593       ((msg_ctx)->ops->get_transport_in_desc(msg_ctx, env))
01594 
01597 #define AXIS2_MSG_CTX_GET_TRANSPORT_OUT_DESC(msg_ctx, env) \
01598       ((msg_ctx)->ops->get_transport_out_desc(msg_ctx, env))
01599 
01602 #define AXIS2_MSG_CTX_SET_TRANSPORT_IN_DESC(msg_ctx, env, transport_in_desc) \
01603       ((msg_ctx)->ops->set_transport_in_desc(msg_ctx, env, transport_in_desc))
01604 
01607 #define AXIS2_MSG_CTX_SET_TRANSPORT_OUT_DESC(msg_ctx, env, transport_out_desc) \
01608       ((msg_ctx)->ops->set_transport_out_desc(msg_ctx, env, transport_out_desc))
01609 
01612 #define AXIS2_MSG_CTX_GET_OP_CTX(msg_ctx, env) \
01613       ((msg_ctx)->ops->get_op_ctx(msg_ctx, env))
01614 
01617 #define AXIS2_MSG_CTX_SET_OP_CTX(msg_ctx, env, op_ctx) \
01618       ((msg_ctx)->ops->set_op_ctx(msg_ctx, env, op_ctx))
01619 
01622 #define AXIS2_MSG_CTX_GET_OUTPUT_WRITTEN(msg_ctx, env) \
01623       ((msg_ctx)->ops->get_output_written(msg_ctx, env))
01624 
01627 #define AXIS2_MSG_CTX_SET_OUTPUT_WRITTEN(msg_ctx, env, output_written) \
01628       ((msg_ctx)->ops->set_output_written(msg_ctx, env, output_written))
01629 
01632 #define AXIS2_MSG_CTX_GET_SVC_CTX_ID(msg_ctx, env) \
01633       ((msg_ctx)->ops->get_svc_ctx_id(msg_ctx, env))
01634 
01637 #define AXIS2_MSG_CTX_SET_SVC_CTX_ID(msg_ctx, env, svc_ctx_id) \
01638       ((msg_ctx)->ops->set_svc_ctx_id(msg_ctx, env, svc_ctx_id))
01639 
01642 #define AXIS2_MSG_CTX_GET_CONF_CTX(msg_ctx, env) \
01643       ((msg_ctx)->ops->get_conf_ctx(msg_ctx, env))
01644 
01647 #define AXIS2_MSG_CTX_SET_CONF_CTX(msg_ctx, env, conf_ctx) \
01648       ((msg_ctx)->ops->set_conf_ctx(msg_ctx, env, conf_ctx))
01649 
01652 #define AXIS2_MSG_CTX_GET_SVC_CTX(msg_ctx, env) \
01653       ((msg_ctx)->ops->get_svc_ctx(msg_ctx, env))
01654 
01657 #define AXIS2_MSG_CTX_SET_SVC_CTX(msg_ctx, env, svc_ctx) \
01658       ((msg_ctx)->ops->set_svc_ctx(msg_ctx, env, svc_ctx))
01659 
01662 #define AXIS2_MSG_CTX_SET_MSG_INFO_HEADERS(msg_ctx, env, msg_info_headers) \
01663       ((msg_ctx)->ops->set_msg_info_headers(msg_ctx, env, msg_info_headers))
01664 
01667 #define AXIS2_MSG_CTX_GET_PARAMETER(msg_ctx, env, key) \
01668       ((msg_ctx)->ops->get_parameter(msg_ctx, env, key))
01669 
01673 #define AXIS2_MSG_CTX_GET_MODULE_PARAMETER(msg_ctx, env, key, module_name, handler_desc) \
01674       ((msg_ctx)->ops->get_module_parameter(msg_ctx, env, key, module_name, handler_desc))
01675 
01678 #define AXIS2_MSG_CTX_GET_PROPERTY(msg_ctx, env, key, persistent) \
01679       ((msg_ctx)->ops->get_property(msg_ctx, env, key, persistent))
01680 
01683 #define AXIS2_MSG_CTX_SET_PROPERTY(msg_ctx, env, key, value, persistent) \
01684       ((msg_ctx)->ops->set_property(msg_ctx, env, key, value, persistent))
01685 
01688 #define AXIS2_MSG_CTX_GET_PAUSED_HANDLER_NAME(msg_ctx, env) \
01689       ((msg_ctx)->ops->get_paused_handler_name(msg_ctx, env))
01690 
01693 #define AXIS2_MSG_CTX_GET_PAUSED_PHASE_NAME(msg_ctx, env) \
01694       ((msg_ctx)->ops->get_paused_phase_name(msg_ctx, env))
01695 
01698 #define AXIS2_MSG_CTX_SET_PAUSED_PHASE_NAME(msg_ctx, env, paused_phase_name) \
01699       ((msg_ctx)->ops->set_paused_phase_name(msg_ctx, env, paused_phase_name))
01700 
01703 #define AXIS2_MSG_CTX_GET_SOAP_ACTION(msg_ctx, env) \
01704       ((msg_ctx)->ops->get_soap_action(msg_ctx, env))
01705 
01708 #define AXIS2_MSG_CTX_SET_SOAP_ACTION(msg_ctx, env, soap_action) \
01709       ((msg_ctx)->ops->set_soap_action(msg_ctx, env, soap_action))
01710 
01713 #define AXIS2_MSG_CTX_GET_DOING_MTOM(msg_ctx, env) \
01714       ((msg_ctx)->ops->get_doing_mtom(msg_ctx, env))
01715 
01718 #define AXIS2_MSG_CTX_SET_DOING_MTOM(msg_ctx, env, doing_mtom) \
01719       ((msg_ctx)->ops->set_doing_mtom(msg_ctx, env, doing_mtom))
01720 
01723 #define AXIS2_MSG_CTX_GET_DOING_REST(msg_ctx, env) \
01724       ((msg_ctx)->ops->get_doing_rest(msg_ctx, env))
01725 
01728 #define AXIS2_MSG_CTX_SET_DOING_REST(msg_ctx, env, doing_rest) \
01729       ((msg_ctx)->ops->set_doing_rest(msg_ctx, env, doing_rest))
01730 
01733 #define AXIS2_MSG_CTX_SET_DO_REST_THROUGH_POST(msg_ctx, env, do_rest_through_post) \
01734       ((msg_ctx)->ops->set_do_rest_through_post(msg_ctx, env, do_rest_through_post))
01735 
01738 #define AXIS2_MSG_CTX_GET_IS_SOAP_11(msg_ctx, env) \
01739       ((msg_ctx)->ops->get_is_soap_11(msg_ctx, env))
01740 
01743 #define AXIS2_MSG_CTX_SET_IS_SOAP_11(msg_ctx, env, is_soap11) \
01744       ((msg_ctx)->ops->set_is_soap_11(msg_ctx, env, is_soap11))
01745 
01748 #define AXIS2_MSG_CTX_GET_SVC_GRP_CTX(msg_ctx, env) \
01749       ((msg_ctx)->ops->get_svc_grp_ctx(msg_ctx, env))
01750 
01753 #define AXIS2_MSG_CTX_SET_SVC_GRP_CTX(msg_ctx, env, svc_grp_ctx) \
01754       ((msg_ctx)->ops->set_svc_grp_ctx(msg_ctx, env, svc_grp_ctx))
01755 
01758 #define AXIS2_MSG_CTX_GET_OP(msg_ctx, env) \
01759       ((msg_ctx)->ops->get_op(msg_ctx, env))
01760 
01763 #define AXIS2_MSG_CTX_SET_OP(msg_ctx, env, op) \
01764       ((msg_ctx)->ops->set_op(msg_ctx, env, op))
01765 
01768 #define AXIS2_MSG_CTX_GET_SVC(msg_ctx, env) \
01769       ((msg_ctx)->ops->get_svc(msg_ctx, env))
01770 
01773 #define AXIS2_MSG_CTX_SET_SVC(msg_ctx, env, svc) \
01774       ((msg_ctx)->ops->set_svc(msg_ctx, env, svc))
01775 
01778 #define AXIS2_MSG_CTX_GET_SVC_GRP(msg_ctx, env) \
01779       ((msg_ctx)->ops->get_svc_grp(msg_ctx, env))
01780 
01783 #define AXIS2_MSG_CTX_SET_SVC_GRP(msg_ctx, env, svc_grp) \
01784       ((msg_ctx)->ops->set_svc_grp(msg_ctx, env, svc_grp))
01785 
01788 #define AXIS2_MSG_CTX_GET_SVC_GRP_CTX_ID(msg_ctx, env) \
01789       ((msg_ctx)->ops->get_svc_grp_ctx_id(msg_ctx, env))
01790 
01793 #define AXIS2_MSG_CTX_SET_SVC_GRP_CTX_ID(msg_ctx, env, svc_grp_ctx_id) \
01794       ((msg_ctx)->ops->set_svc_grp_ctx_id(msg_ctx, env, svc_grp_ctx_id))
01795 
01798 #define AXIS2_MSG_CTX_IS_PAUSED(msg_ctx, env) \
01799       ((msg_ctx)->ops->is_paused(msg_ctx, env))
01800 
01803 #define AXIS2_MSG_CTX_FIND_SVC(msg_ctx, env) \
01804       ((msg_ctx)->ops->find_svc(msg_ctx, env))
01805 
01808 #define AXIS2_MSG_CTX_FIND_OP(msg_ctx, env, svc) \
01809       ((msg_ctx)->ops->find_op(msg_ctx, env, svc))
01810 
01813 #define AXIS2_MSG_CTX_SET_OPTIONS(msg_ctx, env, options) \
01814       ((msg_ctx)->ops->set_options(msg_ctx, env, options))
01815 
01818 #define AXIS2_MSG_CTX_SET_FLOW(msg_ctx, env, flow) \
01819       ((msg_ctx)->ops->set_flow(msg_ctx, env, flow))
01820 
01823 #define AXIS2_MSG_CTX_GET_FLOW(msg_ctx, env) \
01824       ((msg_ctx)->ops->get_flow(msg_ctx, env))
01825 
01828 #define AXIS2_MSG_CTX_SET_EXECUTION_CHAIN(msg_ctx, env, chain) \
01829       ((msg_ctx)->ops->set_execution_chain(msg_ctx, env, chain))
01830 
01833 #define AXIS2_MSG_CTX_GET_EXECUTION_CHAIN(msg_ctx, env) \
01834       ((msg_ctx)->ops->get_execution_chain(msg_ctx, env))
01835 
01838 #define AXIS2_MSG_CTX_SET_CURRENT_HANDLER_INDEX(msg_ctx, env, index) \
01839       ((msg_ctx)->ops->set_current_handler_index(msg_ctx, env, index))
01840 
01843 #define AXIS2_MSG_CTX_GET_CURRENT_HANDLER_INDEX(msg_ctx, env) \
01844       ((msg_ctx)->ops->get_current_handler_index(msg_ctx, env))
01845 
01848 #define AXIS2_MSG_CTX_GET_PAUSED_HANDLER_INDEX(msg_ctx, env) \
01849       ((msg_ctx)->ops->get_paused_handler_index(msg_ctx, env))
01850 
01853 #define AXIS2_MSG_CTX_SET_CURRENT_PHASE_INDEX(msg_ctx, env, index) \
01854       ((msg_ctx)->ops->set_current_phase_index(msg_ctx, env, index))
01855 
01858 #define AXIS2_MSG_CTX_GET_CURRENT_PHASE_INDEX(msg_ctx, env) \
01859       ((msg_ctx)->ops->get_current_phase_index(msg_ctx, env))
01860 
01863 #define AXIS2_MSG_CTX_GET_PAUSED_PHASE_INDEX(msg_ctx, env) \
01864       ((msg_ctx)->ops->get_paused_phase_index(msg_ctx, env))
01865 
01867 #ifdef __cplusplus
01868 }
01869 #endif
01870 
01871 #endif                          /* AXIS2_MSG_CTX_H */

Generated on Tue Oct 3 20:47:58 2006 for Axis2/C by  doxygen 1.4.7