# axis2_msg_info_headers.h

Go to the documentation of this file.

    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_MSG_INFO_HEADERS_H
    00020 #define AXIS2_MSG_INFO_HEADERS_H
    00021
    00043 #include <axis2_defines.h>
    00044 #include <axutil_env.h>
    00045 #include <axis2_const.h>
    00046 #include <axutil_array_list.h>
    00047 #include <axis2_endpoint_ref.h>
    00048 #include <axis2_any_content_type.h>
    00049 #include <axis2_svc_name.h>
    00050 #include <axis2_relates_to.h>
    00051 #include <axiom_node.h>
    00052
    00053 #ifdef __cplusplus
    00054 extern "C"
    00055 {
    00056 #endif
    00057
    00059     typedef struct axis2_msg_info_headers axis2_msg_info_headers_t;
    00060
    00068     AXIS2_EXTERN axis2_msg_info_headers_t *AXIS2_CALL
    00069     axis2_msg_info_headers_create(
    00070         const axutil_env_t * env,
    00071         axis2_endpoint_ref_t * to,
    00072         const axis2_char_t * action);
    00073
    00082     AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
    00083     axis2_msg_info_headers_get_to(
    00084         const axis2_msg_info_headers_t * msg_info_headers,
    00085         const axutil_env_t * env);
    00086
    00096     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00097     axis2_msg_info_headers_set_to(
    00098         struct axis2_msg_info_headers *msg_info_headers,
    00099         const axutil_env_t * env,
    00100         axis2_endpoint_ref_t * to);
    00101
    00110     AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
    00111     axis2_msg_info_headers_get_from(
    00112         const axis2_msg_info_headers_t * msg_info_headers,
    00113         const axutil_env_t * env);
    00114
    00124     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00125     axis2_msg_info_headers_set_from(
    00126         struct axis2_msg_info_headers *msg_info_headers,
    00127         const axutil_env_t * env,
    00128         axis2_endpoint_ref_t * from);
    00129
    00138     AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
    00139     axis2_msg_info_headers_get_reply_to(
    00140         const axis2_msg_info_headers_t * msg_info_headers,
    00141         const axutil_env_t * env);
    00142
    00152     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00153     axis2_msg_info_headers_set_reply_to(
    00154         struct axis2_msg_info_headers *msg_info_headers,
    00155         const axutil_env_t * env,
    00156         axis2_endpoint_ref_t * reply_to);
    00157
    00169     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00170     axis2_msg_info_headers_set_reply_to_none(
    00171         struct axis2_msg_info_headers *msg_info_headers,
    00172         const axutil_env_t * env,
    00173         const axis2_bool_t none);
    00174
    00186     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00187     axis2_msg_info_headers_get_reply_to_none(
    00188         const axis2_msg_info_headers_t * msg_info_headers,
    00189         const axutil_env_t * env);
    00190
    00205     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00206     axis2_msg_info_headers_set_reply_to_anonymous(
    00207         struct axis2_msg_info_headers *msg_info_headers,
    00208         const axutil_env_t * env,
    00209         const axis2_bool_t anonymous);
    00210
    00223     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00224     axis2_msg_info_headers_get_reply_to_anonymous(
    00225         const axis2_msg_info_headers_t * msg_info_headers,
    00226         const axutil_env_t * env);
    00227
    00236     AXIS2_EXTERN axis2_endpoint_ref_t *AXIS2_CALL
    00237     axis2_msg_info_headers_get_fault_to(
    00238         const axis2_msg_info_headers_t * msg_info_headers,
    00239         const axutil_env_t * env);
    00240
    00250     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00251     axis2_msg_info_headers_set_fault_to(
    00252         struct axis2_msg_info_headers *msg_info_headers,
    00253         const axutil_env_t * env,
    00254         axis2_endpoint_ref_t * fault_to);
    00255
    00268     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00269     axis2_msg_info_headers_set_fault_to_none(
    00270         struct axis2_msg_info_headers *msg_info_headers,
    00271         const axutil_env_t * env,
    00272         const axis2_bool_t none);
    00273
    00285     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00286     axis2_msg_info_headers_get_fault_to_none(
    00287         const axis2_msg_info_headers_t * msg_info_headers,
    00288         const axutil_env_t * env);
    00289
    00304     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00305     axis2_msg_info_headers_set_fault_to_anonymous(
    00306         struct axis2_msg_info_headers *msg_info_headers,
    00307         const axutil_env_t * env,
    00308         const axis2_bool_t anonymous);
    00309
    00322     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00323     axis2_msg_info_headers_get_fault_to_anonymous(
    00324         const axis2_msg_info_headers_t * msg_info_headers,
    00325         const axutil_env_t * env);
    00326
    00335     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
    00336     axis2_msg_info_headers_get_action(
    00337         const axis2_msg_info_headers_t * msg_info_headers,
    00338         const axutil_env_t * env);
    00339
    00349     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00350     axis2_msg_info_headers_set_action(
    00351         struct axis2_msg_info_headers *msg_info_headers,
    00352         const axutil_env_t * env,
    00353         const axis2_char_t * action);
    00354
    00362     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
    00363     axis2_msg_info_headers_get_message_id(
    00364         const axis2_msg_info_headers_t * msg_info_headers,
    00365         const axutil_env_t * env);
    00366
    00375     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00376     axis2_msg_info_headers_set_message_id(
    00377         struct axis2_msg_info_headers *msg_info_headers,
    00378         const axutil_env_t * env,
    00379         const axis2_char_t * message_id);
    00380
    00389     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00390     axis2_msg_info_headers_set_in_message_id(
    00391         struct axis2_msg_info_headers *msg_info_headers,
    00392         const axutil_env_t * env,
    00393         const axis2_char_t * message_id);
    00394
    00403     AXIS2_EXTERN axis2_relates_to_t *AXIS2_CALL
    00404     axis2_msg_info_headers_get_relates_to(
    00405         const axis2_msg_info_headers_t * msg_info_headers,
    00406         const axutil_env_t * env);
    00407
    00416     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00417     axis2_msg_info_headers_set_relates_to(
    00418         struct axis2_msg_info_headers *msg_info_headers,
    00419         const axutil_env_t * env,
    00420         axis2_relates_to_t * relates_to);
    00421
    00429     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    00430     axis2_msg_info_headers_get_all_ref_params(
    00431         const axis2_msg_info_headers_t * msg_info_headers,
    00432         const axutil_env_t * env);
    00433
    00443     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00444     axis2_msg_info_headers_add_ref_param(
    00445         struct axis2_msg_info_headers *msg_info_headers,
    00446         const axutil_env_t * env,
    00447         axiom_node_t * ref_param);
    00448
    00455     AXIS2_EXTERN void AXIS2_CALL
    00456     axis2_msg_info_headers_free(
    00457         struct axis2_msg_info_headers *msg_info_headers,
    00458         const axutil_env_t * env);
    00459
    00462 #ifdef __cplusplus
    00463 }
    00464 #endif
    00465
    00466 #endif                          /* AXIS2_MSG_INFO_HEADERS_H */