Axis2/C: axis2_msg_ctx.h Source File

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

- Search for |

# axis2_msg_ctx.h

Go to the documentation of this file.

    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_MSG_CTX_H
    00019 #define AXIS2_MSG_CTX_H
    00020
    00043 #include <axis2_defines.h>
    00044 #include <axutil_env.h>
    00045 #include <axis2_ctx.h>
    00046 #include <axis2_relates_to.h>
    00047 #include <axutil_param.h>
    00048 #include <axis2_handler_desc.h>
    00049 #include <axutil_qname.h>
    00050 #include <axutil_stream.h>
    00051 #include <axis2_msg_info_headers.h>
    00052
    00053 #ifdef __cplusplus
    00054 extern "C"
    00055 {
    00056 #endif
    00057
    00059 #define AXIS2_TRANSPORT_HEADERS "AXIS2_TRANSPORT_HEADERS"
    00060
    00062 #define AXIS2_TRANSPORT_OUT "AXIS2_TRANSPORT_OUT"
    00063
    00065 #define AXIS2_TRANSPORT_IN "AXIS2_TRANSPORT_IN"
    00066
    00068 #define AXIS2_CHARACTER_SET_ENCODING "AXIS2_CHARACTER_SET_ENCODING"
    00069
    00071 #define AXIS2_UTF_8 "UTF-8"
    00072
    00074 #define AXIS2_UTF_16 "utf-16"
    00075
    00077 #define AXIS2_DEFAULT_CHAR_SET_ENCODING "UTF-8"
    00078
    00080 #define AXIS2_TRANSPORT_SUCCEED "AXIS2_TRANSPORT_SUCCEED"
    00081
    00083 #define AXIS2_HTTP_CLIENT "AXIS2_HTTP_CLIENT"
    00084
    00086 #define AXIS2_TRANSPORT_URL "TransportURL"
    00087
    00089 #define AXIS2_SVR_PEER_IP_ADDR "peer_ip_addr"
    00090
    00091     /* Message flows */
    00092
    00093     /* In flow */
    00094
    00095     /*#define AXIS2_IN_FLOW 1*/
    00096
    00097     /* In fault flow */
    00098
    00099     /*#define AXIS2_IN_FAULT_FLOW 2*/
    00100
    00101     /* Out flow */
    00102
    00103     /*#define AXIS2_OUT_FLOW 3*/
    00104
    00105     /* Out fault flow */
    00106
    00107     /*#define AXIS2_OUT_FAULT_FLOW 4*/
    00108
    00110     typedef struct axis2_msg_ctx axis2_msg_ctx_t;
    00111
    00112     struct axis2_svc;
    00113     struct axis2_op;
    00114
    00115     struct axis2_conf_ctx;
    00116     struct axis2_svc_grp_ctx;
    00117     struct axis2_svc_ctx;
    00118     struct axis2_op_ctx;
    00119     struct axis2_conf;
    00120     struct axiom_soap_envelope;
    00121     struct axis2_options;
    00122     struct axis2_transport_in_desc;
    00123     struct axis2_transport_out_desc;
    00124     struct axis2_out_transport_info;
    00125
    00127     typedef struct axis2_svc *(
    00128         AXIS2_CALL
    00129         * AXIS2_MSG_CTX_FIND_SVC) (
    00130             axis2_msg_ctx_t * msg_ctx,
    00131             const axutil_env_t * env);
    00132
    00134     typedef struct axis2_op *(
    00135         AXIS2_CALL
    00136         * AXIS2_MSG_CTX_FIND_OP) (
    00137             axis2_msg_ctx_t * msg_ctx,
    00138             const axutil_env_t * env,
    00139             struct axis2_svc * svc);
    00140
    00152     AXIS2_EXTERN axis2_msg_ctx_t *AXIS2_CALL
    00153     axis2_msg_ctx_create(
    00154         const axutil_env_t * env,
    00155         struct axis2_conf_ctx *conf_ctx,
    00156         struct axis2_transport_in_desc *transport_in_desc,
    00157         struct axis2_transport_out_desc *transport_out_desc);
    00158
    00165     AXIS2_EXTERN axis2_ctx_t *AXIS2_CALL
    00166     axis2_msg_ctx_get_base(
    00167         const axis2_msg_ctx_t * msg_ctx,
    00168         const axutil_env_t * env);
    00169
    00177     AXIS2_EXTERN struct axis2_op_ctx *AXIS2_CALL
    00178     axis2_msg_ctx_get_parent(
    00179         const axis2_msg_ctx_t * msg_ctx,
    00180         const axutil_env_t * env);
    00181
    00190     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00191     axis2_msg_ctx_set_parent(
    00192         axis2_msg_ctx_t * msg_ctx,
    00193         const axutil_env_t * env,
    00194         struct axis2_op_ctx *parent);
    00195
    00202     AXIS2_EXTERN void AXIS2_CALL
    00203     axis2_msg_ctx_free(
    00204         axis2_msg_ctx_t * msg_ctx,
    00205         const axutil_env_t * env);
    00206
    00217     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00218     axis2_msg_ctx_init(
    00219         axis2_msg_ctx_t * msg_ctx,
    00220         const axutil_env_t * env,
    00221         struct axis2_conf *conf);
    00222
    00231     AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
    00232     axis2_msg_ctx_get_fault_to(
    00233         const axis2_msg_ctx_t * msg_ctx,
    00234         const axutil_env_t * env);
    00235
    00244     AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
    00245     axis2_msg_ctx_get_from(
    00246         const axis2_msg_ctx_t * msg_ctx,
    00247         const axutil_env_t * env);
    00248
    00255     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00256     axis2_msg_ctx_get_in_fault_flow(
    00257         const axis2_msg_ctx_t * msg_ctx,
    00258         const axutil_env_t * env);
    00259
    00268     AXIS2_EXTERN struct axiom_soap_envelope *AXIS2_CALL
    00269     axis2_msg_ctx_get_soap_envelope(
    00270         const axis2_msg_ctx_t * msg_ctx,
    00271         const axutil_env_t * env);
    00272
    00279     AXIS2_EXTERN struct axiom_soap_envelope *AXIS2_CALL
    00280     axis2_msg_ctx_get_response_soap_envelope(
    00281         const axis2_msg_ctx_t * msg_ctx,
    00282         const axutil_env_t * env);
    00283
    00290     AXIS2_EXTERN struct axiom_soap_envelope *AXIS2_CALL
    00291     axis2_msg_ctx_get_fault_soap_envelope(
    00292         const axis2_msg_ctx_t * msg_ctx,
    00293         const axutil_env_t * env);
    00294
    00302     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00303     axis2_msg_ctx_set_msg_id(
    00304         const axis2_msg_ctx_t * msg_ctx,
    00305         const axutil_env_t * env,
    00306         axis2_char_t * msg_id);
    00307
    00315     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
    00316     axis2_msg_ctx_get_msg_id(
    00317         const axis2_msg_ctx_t * msg_ctx,
    00318         const axutil_env_t * env);
    00319
    00326     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00327     axis2_msg_ctx_get_process_fault(
    00328         const axis2_msg_ctx_t * msg_ctx,
    00329         const axutil_env_t * env);
    00330
    00337     AXIS2_EXTERN axis2_relates_to_t *AXIS2_CALL
    00338     axis2_msg_ctx_get_relates_to(
    00339         const axis2_msg_ctx_t * msg_ctx,
    00340         const axutil_env_t * env);
    00341
    00350     AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
    00351     axis2_msg_ctx_get_reply_to(
    00352         const axis2_msg_ctx_t * msg_ctx,
    00353         const axutil_env_t * env);
    00354
    00363     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00364     axis2_msg_ctx_get_server_side(
    00365         const axis2_msg_ctx_t * msg_ctx,
    00366         const axutil_env_t * env);
    00367
    00376     AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
    00377     axis2_msg_ctx_get_to(
    00378         const axis2_msg_ctx_t * msg_ctx,
    00379         const axutil_env_t * env);
    00380
    00390     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00391     axis2_msg_ctx_set_fault_to(
    00392         axis2_msg_ctx_t * msg_ctx,
    00393         const axutil_env_t * env,
    00394         axis2_endpoint_ref_t * reference);
    00395
    00405     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00406     axis2_msg_ctx_set_from(
    00407         axis2_msg_ctx_t * msg_ctx,
    00408         const axutil_env_t * env,
    00409         axis2_endpoint_ref_t * reference);
    00410
    00419     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00420     axis2_msg_ctx_set_in_fault_flow(
    00421         axis2_msg_ctx_t * msg_ctx,
    00422         const axutil_env_t * env,
    00423         const axis2_bool_t in_fault_flow);
    00424
    00435     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00436     axis2_msg_ctx_set_soap_envelope(
    00437         axis2_msg_ctx_t * msg_ctx,
    00438         const axutil_env_t * env,
    00439         struct axiom_soap_envelope *soap_envelope);
    00440
    00449     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00450     axis2_msg_ctx_set_response_soap_envelope(
    00451         axis2_msg_ctx_t * msg_ctx,
    00452         const axutil_env_t * env,
    00453         struct axiom_soap_envelope *soap_envelope);
    00454
    00463     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00464     axis2_msg_ctx_set_fault_soap_envelope(
    00465         axis2_msg_ctx_t * msg_ctx,
    00466         const axutil_env_t * env,
    00467         struct axiom_soap_envelope *soap_envelope);
    00468
    00476     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00477     axis2_msg_ctx_set_message_id(
    00478         axis2_msg_ctx_t * msg_ctx,
    00479         const axutil_env_t * env,
    00480         const axis2_char_t * message_id);
    00481
    00490     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00491     axis2_msg_ctx_set_process_fault(
    00492         axis2_msg_ctx_t * msg_ctx,
    00493         const axutil_env_t * env,
    00494         const axis2_bool_t process_fault);
    00495
    00504     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00505     axis2_msg_ctx_set_relates_to(
    00506         axis2_msg_ctx_t * msg_ctx,
    00507         const axutil_env_t * env,
    00508         axis2_relates_to_t * reference);
    00509
    00519     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00520     axis2_msg_ctx_set_reply_to(
    00521         axis2_msg_ctx_t * msg_ctx,
    00522         const axutil_env_t * env,
    00523         axis2_endpoint_ref_t * reference);
    00524
    00534     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00535     axis2_msg_ctx_set_server_side(
    00536         axis2_msg_ctx_t * msg_ctx,
    00537         const axutil_env_t * env,
    00538         const axis2_bool_t server_side);
    00539
    00549     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00550     axis2_msg_ctx_set_to(
    00551         axis2_msg_ctx_t * msg_ctx,
    00552         const axutil_env_t * env,
    00553         axis2_endpoint_ref_t * reference);
    00554
    00562     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00563     axis2_msg_ctx_get_new_thread_required(
    00564         const axis2_msg_ctx_t * msg_ctx,
    00565         const axutil_env_t * env);
    00566
    00576     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00577     axis2_msg_ctx_set_new_thread_required(
    00578         axis2_msg_ctx_t * msg_ctx,
    00579         const axutil_env_t * env,
    00580         const axis2_bool_t new_thread_required);
    00581
    00589     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00590     axis2_msg_ctx_set_wsa_action(
    00591         axis2_msg_ctx_t * msg_ctx,
    00592         const axutil_env_t * env,
    00593         const axis2_char_t * action_uri);
    00594
    00601     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
    00602     axis2_msg_ctx_get_wsa_action(
    00603         const axis2_msg_ctx_t * msg_ctx,
    00604         const axutil_env_t * env);
    00605
    00613     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00614     axis2_msg_ctx_set_wsa_message_id(
    00615         axis2_msg_ctx_t * msg_ctx,
    00616         const axutil_env_t * env,
    00617         const axis2_char_t * message_id);
    00618
    00625     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
    00626     axis2_msg_ctx_get_wsa_message_id(
    00627         const axis2_msg_ctx_t * msg_ctx,
    00628         const axutil_env_t * env);
    00629
    00637     AXIS2_EXTERN axis2_msg_info_headers_t *AXIS2_CALL
    00638     axis2_msg_ctx_get_msg_info_headers(
    00639         const axis2_msg_ctx_t * msg_ctx,
    00640         const axutil_env_t * env);
    00641
    00650     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00651     axis2_msg_ctx_get_paused(
    00652         const axis2_msg_ctx_t * msg_ctx,
    00653         const axutil_env_t * env);
    00654
    00662     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00663     axis2_msg_ctx_set_paused(
    00664         axis2_msg_ctx_t * msg_ctx,
    00665         const axutil_env_t * env,
    00666         const axis2_bool_t paused);
    00667
    00676     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00677     axis2_msg_ctx_is_keep_alive(
    00678         const axis2_msg_ctx_t * msg_ctx,
    00679         const axutil_env_t * env);
    00680
    00690     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00691     axis2_msg_ctx_set_keep_alive(
    00692         axis2_msg_ctx_t * msg_ctx,
    00693         const axutil_env_t * env,
    00694         const axis2_bool_t keep_alive);
    00695
    00703     AXIS2_EXTERN struct axis2_transport_in_desc *AXIS2_CALL
    00704     axis2_msg_ctx_get_transport_in_desc(
    00705         const axis2_msg_ctx_t * msg_ctx,
    00706         const axutil_env_t * env);
    00707
    00715     AXIS2_EXTERN struct axis2_transport_out_desc *AXIS2_CALL
    00716     axis2_msg_ctx_get_transport_out_desc(
    00717         const axis2_msg_ctx_t * msg_ctx,
    00718         const axutil_env_t * env);
    00719
    00728     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00729     axis2_msg_ctx_set_transport_in_desc(
    00730         axis2_msg_ctx_t * msg_ctx,
    00731         const axutil_env_t * env,
    00732         struct axis2_transport_in_desc *transport_in_desc);
    00733
    00742     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00743     axis2_msg_ctx_set_transport_out_desc(
    00744         axis2_msg_ctx_t * msg_ctx,
    00745         const axutil_env_t * env,
    00746         struct axis2_transport_out_desc *transport_out_desc);
    00747
    00755     AXIS2_EXTERN struct axis2_op_ctx *AXIS2_CALL
    00756     axis2_msg_ctx_get_op_ctx(
    00757         const axis2_msg_ctx_t * msg_ctx,
    00758         const axutil_env_t * env);
    00759
    00769     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00770     axis2_msg_ctx_set_op_ctx(
    00771         axis2_msg_ctx_t * msg_ctx,
    00772         const axutil_env_t * env,
    00773         struct axis2_op_ctx *op_ctx);
    00774
    00781     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00782     axis2_msg_ctx_get_output_written(
    00783         const axis2_msg_ctx_t * msg_ctx,
    00784         const axutil_env_t * env);
    00785
    00793     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00794     axis2_msg_ctx_set_output_written(
    00795         axis2_msg_ctx_t * msg_ctx,
    00796         const axutil_env_t * env,
    00797         const axis2_bool_t output_written);
    00798
    00807     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
    00808     axis2_msg_ctx_get_rest_http_method(
    00809         const axis2_msg_ctx_t * msg_ctx,
    00810         const axutil_env_t * env);
    00811
    00821     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00822     axis2_msg_ctx_set_rest_http_method(
    00823         struct axis2_msg_ctx * msg_ctx,
    00824         const axutil_env_t * env,
    00825         const axis2_char_t * rest_http_method);
    00826
    00834     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
    00835     axis2_msg_ctx_get_svc_ctx_id(
    00836         const axis2_msg_ctx_t * msg_ctx,
    00837         const axutil_env_t * env);
    00838
    00847     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00848     axis2_msg_ctx_set_svc_ctx_id(
    00849         axis2_msg_ctx_t * msg_ctx,
    00850         const axutil_env_t * env,
    00851         const axis2_char_t * svc_ctx_id);
    00852
    00859     AXIS2_EXTERN struct axis2_conf_ctx *AXIS2_CALL
    00860     axis2_msg_ctx_get_conf_ctx(
    00861         const axis2_msg_ctx_t * msg_ctx,
    00862         const axutil_env_t * env);
    00863
    00871     AXIS2_EXTERN struct axis2_svc_ctx *AXIS2_CALL
    00872     axis2_msg_ctx_get_svc_ctx(
    00873         const axis2_msg_ctx_t * msg_ctx,
    00874         const axutil_env_t * env);
    00875
    00884     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00885     axis2_msg_ctx_set_conf_ctx(
    00886         axis2_msg_ctx_t * msg_ctx,
    00887         const axutil_env_t * env,
    00888         struct axis2_conf_ctx *conf_ctx);
    00889
    00898     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00899     axis2_msg_ctx_set_svc_ctx(
    00900         axis2_msg_ctx_t * msg_ctx,
    00901         const axutil_env_t * env,
    00902         struct axis2_svc_ctx *svc_ctx);
    00903
    00912     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00913     axis2_msg_ctx_set_msg_info_headers(
    00914         axis2_msg_ctx_t * msg_ctx,
    00915         const axutil_env_t * env,
    00916         axis2_msg_info_headers_t * msg_info_headers);
    00917
    00936     AXIS2_EXTERN axutil_param_t *AXIS2_CALL
    00937     axis2_msg_ctx_get_parameter(
    00938         const axis2_msg_ctx_t * msg_ctx,
    00939         const axutil_env_t * env,
    00940         const axis2_char_t * key);
    00941
    00970     AXIS2_EXTERN axutil_param_t *AXIS2_CALL
    00971     axis2_msg_ctx_get_module_parameter(
    00972         const axis2_msg_ctx_t * msg_ctx,
    00973         const axutil_env_t * env,
    00974         const axis2_char_t * key,
    00975         const axis2_char_t * module_name,
    00976         axis2_handler_desc_t * handler_desc);
    00977
    00985     AXIS2_EXTERN axutil_property_t *AXIS2_CALL
    00986     axis2_msg_ctx_get_property(
    00987         const axis2_msg_ctx_t * msg_ctx,
    00988         const axutil_env_t * env,
    00989         const axis2_char_t * key);
    00990
    00998     AXIS2_EXTERN void *AXIS2_CALL
    00999     axis2_msg_ctx_get_property_value(
    01000         axis2_msg_ctx_t * msg_ctx,
    01001         const axutil_env_t * env,
    01002         const axis2_char_t * property_str);
    01003
    01012     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01013     axis2_msg_ctx_set_property(
    01014         axis2_msg_ctx_t * msg_ctx,
    01015         const axutil_env_t * env,
    01016         const axis2_char_t * key,
    01017         axutil_property_t * value);
    01018
    01025     AXIS2_EXTERN const axutil_string_t *AXIS2_CALL
    01026     axis2_msg_ctx_get_paused_handler_name(
    01027         const axis2_msg_ctx_t * msg_ctx,
    01028         const axutil_env_t * env);
    01029
    01036     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
    01037     axis2_msg_ctx_get_paused_phase_name(
    01038         const axis2_msg_ctx_t * msg_ctx,
    01039         const axutil_env_t * env);
    01040
    01048     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01049     axis2_msg_ctx_set_paused_phase_name(
    01050         axis2_msg_ctx_t * msg_ctx,
    01051         const axutil_env_t * env,
    01052         const axis2_char_t * paused_phase_name);
    01053
    01060     AXIS2_EXTERN axutil_string_t *AXIS2_CALL
    01061     axis2_msg_ctx_get_soap_action(
    01062         const axis2_msg_ctx_t * msg_ctx,
    01063         const axutil_env_t * env);
    01064
    01072     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01073     axis2_msg_ctx_set_soap_action(
    01074         axis2_msg_ctx_t * msg_ctx,
    01075         const axutil_env_t * env,
    01076         axutil_string_t * soap_action);
    01077
    01084     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    01085     axis2_msg_ctx_get_doing_mtom(
    01086         axis2_msg_ctx_t * msg_ctx,
    01087         const axutil_env_t * env);
    01088
    01096     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01097     axis2_msg_ctx_set_doing_mtom(
    01098         axis2_msg_ctx_t * msg_ctx,
    01099         const axutil_env_t * env,
    01100         const axis2_bool_t doing_mtom);
    01101
    01108     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    01109     axis2_msg_ctx_get_doing_rest(
    01110         const axis2_msg_ctx_t * msg_ctx,
    01111         const axutil_env_t * env);
    01112
    01120     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01121     axis2_msg_ctx_set_doing_rest(
    01122         axis2_msg_ctx_t * msg_ctx,
    01123         const axutil_env_t * env,
    01124         const axis2_bool_t doing_rest);
    01125
    01135     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01136     axis2_msg_ctx_set_do_rest_through_post(
    01137         axis2_msg_ctx_t * msg_ctx,
    01138         const axutil_env_t * env,
    01139         const axis2_bool_t do_rest_through_post);
    01140
    01149     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    01150     axis2_msg_ctx_get_do_rest_through_post(
    01151         const axis2_msg_ctx_t * msg_ctx,
    01152         const axutil_env_t * env);
    01153
    01160     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    01161     axis2_msg_ctx_get_manage_session(
    01162         const axis2_msg_ctx_t * msg_ctx,
    01163         const axutil_env_t * env);
    01164
    01172     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01173     axis2_msg_ctx_set_manage_session(
    01174         axis2_msg_ctx_t * msg_ctx,
    01175         const axutil_env_t * env,
    01176         const axis2_bool_t manage_session);
    01177
    01186     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    01187     axis2_msg_ctx_get_is_soap_11(
    01188         const axis2_msg_ctx_t * msg_ctx,
    01189         const axutil_env_t * env);
    01190
    01200     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01201     axis2_msg_ctx_set_is_soap_11(
    01202         axis2_msg_ctx_t * msg_ctx,
    01203         const axutil_env_t * env,
    01204         const axis2_bool_t is_soap11);
    01205
    01214     AXIS2_EXTERN struct axis2_svc_grp_ctx *AXIS2_CALL
    01215     axis2_msg_ctx_get_svc_grp_ctx(
    01216         const axis2_msg_ctx_t * msg_ctx,
    01217         const axutil_env_t * env);
    01218
    01228     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01229     axis2_msg_ctx_set_svc_grp_ctx(
    01230         axis2_msg_ctx_t * msg_ctx,
    01231         const axutil_env_t * env,
    01232         struct axis2_svc_grp_ctx *svc_grp_ctx);
    01233
    01240     AXIS2_EXTERN struct axis2_op *AXIS2_CALL
    01241     axis2_msg_ctx_get_op(
    01242         const axis2_msg_ctx_t * msg_ctx,
    01243         const axutil_env_t * env);
    01244
    01253     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01254     axis2_msg_ctx_set_op(
    01255         axis2_msg_ctx_t * msg_ctx,
    01256         const axutil_env_t * env,
    01257         struct axis2_op *op);
    01258
    01265     AXIS2_EXTERN struct axis2_svc *AXIS2_CALL
    01266     axis2_msg_ctx_get_svc(
    01267         const axis2_msg_ctx_t * msg_ctx,
    01268         const axutil_env_t * env);
    01269
    01278     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01279     axis2_msg_ctx_set_svc(
    01280         axis2_msg_ctx_t * msg_ctx,
    01281         const axutil_env_t * env,
    01282         struct axis2_svc *svc);
    01283
    01291     AXIS2_EXTERN struct axis2_svc_grp *AXIS2_CALL
    01292     axis2_msg_ctx_get_svc_grp(
    01293         const axis2_msg_ctx_t * msg_ctx,
    01294         const axutil_env_t * env);
    01295
    01304     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01305     axis2_msg_ctx_set_svc_grp(
    01306         axis2_msg_ctx_t * msg_ctx,
    01307         const axutil_env_t * env,
    01308         struct axis2_svc_grp *svc_grp);
    01309
    01316     AXIS2_EXTERN const axutil_string_t *AXIS2_CALL
    01317     axis2_msg_ctx_get_svc_grp_ctx_id(
    01318         const axis2_msg_ctx_t * msg_ctx,
    01319         const axutil_env_t * env);
    01320
    01328     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01329     axis2_msg_ctx_set_svc_grp_ctx_id(
    01330         axis2_msg_ctx_t * msg_ctx,
    01331         const axutil_env_t * env,
    01332         axutil_string_t * svc_grp_ctx_id);
    01333
    01342     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01343     axis2_msg_ctx_set_find_svc(
    01344         axis2_msg_ctx_t * msg_ctx,
    01345         const axutil_env_t * env,
    01346         AXIS2_MSG_CTX_FIND_SVC func);
    01347
    01356     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01357     axis2_msg_ctx_set_find_op(
    01358         axis2_msg_ctx_t * msg_ctx,
    01359         const axutil_env_t * env,
    01360         AXIS2_MSG_CTX_FIND_OP func);
    01361
    01369     AXIS2_EXTERN struct axis2_svc *AXIS2_CALL
    01370     axis2_msg_ctx_find_svc(
    01371         axis2_msg_ctx_t * msg_ctx,
    01372         const axutil_env_t * env);
    01373
    01382     AXIS2_EXTERN struct axis2_op *AXIS2_CALL
    01383     axis2_msg_ctx_find_op(
    01384         axis2_msg_ctx_t * msg_ctx,
    01385         const axutil_env_t * env,
    01386         struct axis2_svc *svc);
    01387
    01395     AXIS2_EXTERN struct axis2_options *AXIS2_CALL
    01396     axis2_msg_ctx_get_options(
    01397         axis2_msg_ctx_t * msg_ctx,
    01398         const axutil_env_t * env);
    01399
    01406     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    01407     axis2_msg_ctx_is_paused(
    01408         axis2_msg_ctx_t * msg_ctx,
    01409         const axutil_env_t * env);
    01410
    01419     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01420     axis2_msg_ctx_set_options(
    01421         axis2_msg_ctx_t * msg_ctx,
    01422         const axutil_env_t * env,
    01423         struct axis2_options *options);
    01424
    01432     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01433     axis2_msg_ctx_set_flow(
    01434         axis2_msg_ctx_t * msg_ctx,
    01435         const axutil_env_t * env,
    01436         int flow);
    01437
    01444     AXIS2_EXTERN int AXIS2_CALL
    01445     axis2_msg_ctx_get_flow(
    01446         const axis2_msg_ctx_t * msg_ctx,
    01447         const axutil_env_t * env);
    01448
    01459     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01460     axis2_msg_ctx_set_supported_rest_http_methods(
    01461         axis2_msg_ctx_t * msg_ctx,
    01462         const axutil_env_t * env,
    01463         axutil_array_list_t * supported_rest_http_methods);
    01464
    01473     AXIS2_EXTERN  axutil_array_list_t *AXIS2_CALL
    01474     axis2_msg_ctx_get_supported_rest_http_methods(
    01475         const axis2_msg_ctx_t * msg_ctx,
    01476         const axutil_env_t * env);
    01477
    01488     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01489     axis2_msg_ctx_set_execution_chain(
    01490         axis2_msg_ctx_t * msg_ctx,
    01491         const axutil_env_t * env,
    01492         axutil_array_list_t * execution_chain);
    01493
    01503     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    01504     axis2_msg_ctx_get_execution_chain(
    01505         const axis2_msg_ctx_t * msg_ctx,
    01506         const axutil_env_t * env);
    01507
    01516     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01517     axis2_msg_ctx_set_current_handler_index(
    01518         axis2_msg_ctx_t * msg_ctx,
    01519         const axutil_env_t * env,
    01520         const int index);
    01521
    01529     AXIS2_EXTERN int AXIS2_CALL
    01530     axis2_msg_ctx_get_current_handler_index(
    01531         const axis2_msg_ctx_t * msg_ctx,
    01532         const axutil_env_t * env);
    01533
    01541     AXIS2_EXTERN int AXIS2_CALL
    01542     axis2_msg_ctx_get_paused_handler_index(
    01543         const axis2_msg_ctx_t * msg_ctx,
    01544         const axutil_env_t * env);
    01545
    01553     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01554     axis2_msg_ctx_set_current_phase_index(
    01555         axis2_msg_ctx_t * msg_ctx,
    01556         const axutil_env_t * env,
    01557         const int index);
    01558
    01565     AXIS2_EXTERN int AXIS2_CALL
    01566     axis2_msg_ctx_get_current_phase_index(
    01567         const axis2_msg_ctx_t * msg_ctx,
    01568         const axutil_env_t * env);
    01569
    01576     AXIS2_EXTERN int AXIS2_CALL
    01577     axis2_msg_ctx_get_paused_phase_index(
    01578         const axis2_msg_ctx_t * msg_ctx,
    01579         const axutil_env_t * env);
    01580
    01587     AXIS2_EXTERN axutil_string_t *AXIS2_CALL
    01588     axis2_msg_ctx_get_charset_encoding(
    01589         axis2_msg_ctx_t * msg_ctx,
    01590         const axutil_env_t * env);
    01591
    01599     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01600     axis2_msg_ctx_set_charset_encoding(
    01601         axis2_msg_ctx_t * msg_ctx,
    01602         const axutil_env_t * env,
    01603         axutil_string_t * str);
    01604
    01611     AXIS2_EXTERN int AXIS2_CALL
    01612     axis2_msg_ctx_get_status_code(
    01613         axis2_msg_ctx_t * msg_ctx,
    01614         const axutil_env_t * env);
    01615
    01623     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01624     axis2_msg_ctx_set_status_code(
    01625         axis2_msg_ctx_t * msg_ctx,
    01626         const axutil_env_t * env,
    01627         const int status_code);
    01628
    01635     AXIS2_EXTERN axutil_stream_t *AXIS2_CALL
    01636     axis2_msg_ctx_get_transport_out_stream(
    01637         axis2_msg_ctx_t * msg_ctx,
    01638         const axutil_env_t * env);
    01639
    01647     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01648     axis2_msg_ctx_set_transport_out_stream(
    01649         axis2_msg_ctx_t * msg_ctx,
    01650         const axutil_env_t * env,
    01651         axutil_stream_t * stream);
    01652
    01659     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01660     axis2_msg_ctx_reset_transport_out_stream(
    01661         axis2_msg_ctx_t * msg_ctx,
    01662         const axutil_env_t * env);
    01663
    01670     AXIS2_EXTERN struct axis2_out_transport_info *AXIS2_CALL
    01671     axis2_msg_ctx_get_out_transport_info(
    01672         axis2_msg_ctx_t * msg_ctx,
    01673         const axutil_env_t * env);
    01674
    01683     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01684     axis2_msg_ctx_set_out_transport_info(
    01685         axis2_msg_ctx_t * msg_ctx,
    01686         const axutil_env_t * env,
    01687         struct axis2_out_transport_info *out_transport_info);
    01688
    01695     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01696     axis2_msg_ctx_reset_out_transport_info(
    01697         axis2_msg_ctx_t * msg_ctx,
    01698         const axutil_env_t * env);
    01699
    01706     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
    01707     axis2_msg_ctx_get_transport_headers(
    01708         axis2_msg_ctx_t * msg_ctx,
    01709         const axutil_env_t * env);
    01710
    01718     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
    01719     axis2_msg_ctx_extract_transport_headers(
    01720         axis2_msg_ctx_t * msg_ctx,
    01721         const axutil_env_t * env);
    01722
    01731     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01732     axis2_msg_ctx_set_transport_headers(
    01733         axis2_msg_ctx_t * msg_ctx,
    01734         const axutil_env_t * env,
    01735         axutil_hash_t * transport_headers);
    01736
    01743     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    01744     axis2_msg_ctx_get_http_accept_charset_record_list(
    01745         axis2_msg_ctx_t * msg_ctx,
    01746         const axutil_env_t * env);
    01747
    01755     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    01756     axis2_msg_ctx_extract_http_accept_charset_record_list(
    01757         axis2_msg_ctx_t * msg_ctx,
    01758         const axutil_env_t * env);
    01759
    01768     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01769     axis2_msg_ctx_set_http_accept_charset_record_list(
    01770         axis2_msg_ctx_t * msg_ctx,
    01771         const axutil_env_t * env,
    01772         axutil_array_list_t * accept_charset_record_list);
    01773
    01780     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    01781     axis2_msg_ctx_get_http_accept_language_record_list(
    01782         axis2_msg_ctx_t * msg_ctx,
    01783         const axutil_env_t * env);
    01784
    01792     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    01793     axis2_msg_ctx_extract_http_accept_language_record_list(
    01794         axis2_msg_ctx_t * msg_ctx,
    01795         const axutil_env_t * env);
    01796
    01805     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01806     axis2_msg_ctx_set_http_accept_language_record_list(
    01807         axis2_msg_ctx_t * msg_ctx,
    01808         const axutil_env_t * env,
    01809         axutil_array_list_t * accept_language_record_list);
    01810
    01817     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    01818     axis2_msg_ctx_get_content_language(
    01819         axis2_msg_ctx_t * msg_ctx,
    01820         const axutil_env_t * env);
    01821
    01829     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01830     axis2_msg_ctx_set_content_language(
    01831         axis2_msg_ctx_t * msg_ctx,
    01832         const axutil_env_t * env,
    01833         axis2_char_t * str);
    01834
    01841     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    01842     axis2_msg_ctx_get_http_accept_record_list(
    01843         axis2_msg_ctx_t * msg_ctx,
    01844         const axutil_env_t * env);
    01845
    01853     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    01854     axis2_msg_ctx_extract_http_accept_record_list(
    01855         axis2_msg_ctx_t * msg_ctx,
    01856         const axutil_env_t * env);
    01857
    01866     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01867     axis2_msg_ctx_set_http_accept_record_list(
    01868         axis2_msg_ctx_t * msg_ctx,
    01869         const axutil_env_t * env,
    01870         axutil_array_list_t * accept_record_list);
    01871
    01878     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    01879     axis2_msg_ctx_get_transfer_encoding(
    01880         axis2_msg_ctx_t * msg_ctx,
    01881         const axutil_env_t * env);
    01882
    01890     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01891     axis2_msg_ctx_set_transfer_encoding(
    01892         axis2_msg_ctx_t * msg_ctx,
    01893         const axutil_env_t * env,
    01894         axis2_char_t * str);
    01895
    01902     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    01903     axis2_msg_ctx_get_transport_url(
    01904         axis2_msg_ctx_t * msg_ctx,
    01905         const axutil_env_t * env);
    01906
    01914     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01915     axis2_msg_ctx_set_transport_url(
    01916         axis2_msg_ctx_t * msg_ctx,
    01917         const axutil_env_t * env,
    01918         axis2_char_t * str);
    01919
    01930     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    01931     axis2_msg_ctx_get_no_content(
    01932         axis2_msg_ctx_t * msg_ctx,
    01933         const axutil_env_t * env);
    01934
    01943     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01944     axis2_msg_ctx_set_no_content(
    01945         axis2_msg_ctx_t * msg_ctx,
    01946         const axutil_env_t * env,
    01947         const axis2_bool_t no_content);
    01948
    01956     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    01957     axis2_msg_ctx_get_auth_failed(
    01958         axis2_msg_ctx_t * msg_ctx,
    01959         const axutil_env_t * env);
    01960
    01969     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01970     axis2_msg_ctx_set_auth_failed(
    01971         axis2_msg_ctx_t * msg_ctx,
    01972         const axutil_env_t * env,
    01973         const axis2_bool_t status);
    01974
    01983     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    01984     axis2_msg_ctx_get_required_auth_is_http(
    01985         axis2_msg_ctx_t * msg_ctx,
    01986         const axutil_env_t * env);
    01987
    01997     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    01998     axis2_msg_ctx_set_required_auth_is_http(
    01999         axis2_msg_ctx_t * msg_ctx,
    02000         const axutil_env_t * env,
    02001         const axis2_bool_t is_http);
    02002
    02010     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    02011     axis2_msg_ctx_set_auth_type(
    02012         axis2_msg_ctx_t * msg_ctx,
    02013         const axutil_env_t * env,
    02014         const axis2_char_t * auth_type);
    02015
    02022     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    02023     axis2_msg_ctx_get_auth_type(
    02024         axis2_msg_ctx_t * msg_ctx,
    02025         const axutil_env_t * env);
    02026
    02033     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    02034     axis2_msg_ctx_get_http_output_headers(
    02035         axis2_msg_ctx_t * msg_ctx,
    02036         const axutil_env_t * env);
    02037
    02045     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    02046     axis2_msg_ctx_extract_http_output_headers(
    02047         axis2_msg_ctx_t * msg_ctx,
    02048         const axutil_env_t * env);
    02049
    02057     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    02058     axis2_msg_ctx_set_http_output_headers(
    02059         axis2_msg_ctx_t * msg_ctx,
    02060         const axutil_env_t * env,
    02061         axutil_array_list_t * output_headers);
    02062
    02063
    02064
    02065     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    02066     axis2_msg_ctx_get_mime_parts(
    02067         axis2_msg_ctx_t * msg_ctx,
    02068         const axutil_env_t * env);
    02069
    02070
    02071     AXIS2_EXTERN void AXIS2_CALL
    02072     axis2_msg_ctx_set_mime_parts(
    02073         axis2_msg_ctx_t * msg_ctx,
    02074         const axutil_env_t * env,
    02075         axutil_array_list_t *mime_parts);
    02076
    02085     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    02086     axis2_msg_ctx_increment_ref(
    02087         axis2_msg_ctx_t * msg_ctx,
    02088         const axutil_env_t * env);
    02089
    02090
    02091
    02094 #ifdef __cplusplus
    02095 }
    02096 #endif
    02097
    02098 #endif                          /* AXIS2_MSG_CTX_H */