# axis2_engine.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_ENGINE_H
    00020 #define AXIS2_ENGINE_H
    00021
    00038 #include <axis2_defines.h>
    00039 #include <axutil_array_list.h>
    00040 #include <axutil_env.h>
    00041 #include <axis2_conf_ctx.h>
    00042
    00043 #ifdef __cplusplus
    00044 extern "C"
    00045 {
    00046 #endif
    00047
    00049     typedef struct axis2_engine axis2_engine_t;
    00050
    00051     struct axiom_soap_fault;
    00052
    00065     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00066     axis2_engine_send(
    00067         axis2_engine_t * engine,
    00068         const axutil_env_t * env,
    00069         axis2_msg_ctx_t * msg_ctx);
    00070
    00083     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00084     axis2_engine_receive(
    00085         axis2_engine_t * engine,
    00086         const axutil_env_t * env,
    00087         axis2_msg_ctx_t * msg_ctx);
    00088
    00097     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00098     axis2_engine_send_fault(
    00099         axis2_engine_t * engine,
    00100         const axutil_env_t * env,
    00101         axis2_msg_ctx_t * msg_ctx);
    00102
    00111     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00112     axis2_engine_receive_fault(
    00113         axis2_engine_t * engine,
    00114         const axutil_env_t * env,
    00115         axis2_msg_ctx_t * msg_ctx);
    00116
    00128     AXIS2_EXTERN axis2_msg_ctx_t *AXIS2_CALL
    00129
    00130     axis2_engine_create_fault_msg_ctx(
    00131         axis2_engine_t * engine,
    00132         const axutil_env_t * env,
    00133         axis2_msg_ctx_t * processing_context,
    00134         const axis2_char_t * code_value,
    00135         const axis2_char_t * reason_text);
    00136
    00150     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00151     axis2_engine_invoke_phases(
    00152         axis2_engine_t * engine,
    00153         const axutil_env_t * env,
    00154         axutil_array_list_t * phases,
    00155         axis2_msg_ctx_t * msg_ctx);
    00156
    00173     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00174
    00175     axis2_engine_resume_invocation_phases(
    00176         axis2_engine_t * engine,
    00177         const axutil_env_t * env,
    00178         axutil_array_list_t * phases,
    00179         axis2_msg_ctx_t * msg_ctx);
    00180
    00188     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
    00189
    00190     axis2_engine_get_sender_fault_code(
    00191         const axis2_engine_t * engine,
    00192         const axutil_env_t * env,
    00193         const axis2_char_t * soap_namespace);
    00194
    00201     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
    00202
    00203     axis2_engine_get_receiver_fault_code(
    00204         const axis2_engine_t * engine,
    00205         const axutil_env_t * env,
    00206         const axis2_char_t * soap_namespace);
    00207
    00214     AXIS2_EXTERN void AXIS2_CALL
    00215     axis2_engine_free(
    00216         axis2_engine_t * engine,
    00217         const axutil_env_t * env);
    00218
    00228     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00229     axis2_engine_resume_receive(
    00230         axis2_engine_t * engine,
    00231         const axutil_env_t * env,
    00232         axis2_msg_ctx_t * msg_ctx);
    00233
    00243     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00244     axis2_engine_resume_send(
    00245         axis2_engine_t * engine,
    00246         const axutil_env_t * env,
    00247         axis2_msg_ctx_t * msg_ctx);
    00248
    00255     AXIS2_EXTERN axis2_engine_t *AXIS2_CALL
    00256     axis2_engine_create(
    00257         const axutil_env_t * env,
    00258         axis2_conf_ctx_t * conf_ctx);
    00259
    00260 #ifdef __cplusplus
    00261 }
    00262 #endif
    00263
    00264 #endif                          /* AXIS2_ENGINE_H */