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

- Search for |

# axiom_soap_builder.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 AXIOM_SOAP_BUILDER_H
    00020 #define AXIOM_SOAP_BUILDER_H
    00021
    00022 #include <axiom_stax_builder.h>
    00023 #include <axiom_soap_envelope.h>
    00024 #include <axiom_mime_parser.h>
    00025
    00031 #ifdef __cplusplus
    00032 extern "C"
    00033 {
    00034 #endif
    00035
    00036     typedef struct axiom_soap_builder axiom_soap_builder_t;
    00037
    00050     AXIS2_EXTERN axiom_soap_builder_t *AXIS2_CALL
    00051     axiom_soap_builder_create(
    00052         const axutil_env_t * env,
    00053         axiom_stax_builder_t * builder,
    00054         const axis2_char_t * soap_version);
    00062     AXIS2_EXTERN void AXIS2_CALL
    00063     axiom_soap_builder_free(
    00064         axiom_soap_builder_t * builder,
    00065         const axutil_env_t * env);
    00066
    00074     AXIS2_EXTERN axiom_soap_envelope_t *AXIS2_CALL
    00075     axiom_soap_builder_get_soap_envelope(
    00076         axiom_soap_builder_t * builder,
    00077         const axutil_env_t * env);
    00078
    00086     AXIS2_EXTERN axiom_document_t *AXIS2_CALL
    00087     axiom_soap_builder_get_document(
    00088         axiom_soap_builder_t * builder,
    00089         const axutil_env_t * env);
    00090
    00098     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00099     axiom_soap_builder_next(
    00100         axiom_soap_builder_t * builder,
    00101         const axutil_env_t * env);
    00102
    00110     AXIS2_EXTERN axiom_node_t *AXIS2_CALL
    00111     axiom_soap_builder_get_document_element(
    00112         axiom_soap_builder_t * builder,
    00113         const axutil_env_t * env);
    00114
    00122     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00123     axiom_soap_builder_set_bool_processing_mandatory_fault_elements(
    00124         axiom_soap_builder_t * builder,
    00125         const axutil_env_t * env,
    00126         axis2_bool_t value);
    00127
    00135     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00136     axiom_soap_builder_set_processing_detail_elements(
    00137         axiom_soap_builder_t * builder,
    00138         const axutil_env_t * env,
    00139         axis2_bool_t value);
    00140
    00148     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00149     axiom_soap_builder_is_processing_detail_elements(
    00150         axiom_soap_builder_t * builder,
    00151         const axutil_env_t * env);
    00152
    00160     AXIS2_EXTERN int AXIS2_CALL
    00161     axiom_soap_builder_get_soap_version(
    00162         axiom_soap_builder_t * builder,
    00163         const axutil_env_t * env);
    00164
    00172     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00173     axiom_soap_builder_process_namespace_data(
    00174         axiom_soap_builder_t * builder,
    00175         const axutil_env_t * env,
    00176         axiom_node_t * om_node,
    00177         axis2_bool_t is_soap_element);
    00178
    00186     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00187     axiom_soap_builder_set_mime_body_parts(
    00188         axiom_soap_builder_t * builder,
    00189         const axutil_env_t * env,
    00190         axutil_hash_t * map);
    00191
    00199     AXIS2_EXTERN axutil_hash_t *AXIS2_CALL
    00200     axiom_soap_builder_get_mime_body_parts(
    00201         axiom_soap_builder_t * builder,
    00202         const axutil_env_t * env);
    00203
    00211     AXIS2_EXTERN void AXIS2_CALL
    00212     axiom_soap_builder_set_mime_parser(
    00213         axiom_soap_builder_t * builder,
    00214         const axutil_env_t * env,
    00215         axiom_mime_parser_t *mime_parser);
    00216
    00224     AXIS2_EXTERN void AXIS2_CALL
    00225     axiom_soap_builder_set_callback_function(
    00226         axiom_soap_builder_t * builder,
    00227         const axutil_env_t * env,
    00228         AXIS2_READ_INPUT_CALLBACK callback);
    00229
    00237     AXIS2_EXTERN void AXIS2_CALL
    00238     axiom_soap_builder_set_callback_ctx(
    00239         axiom_soap_builder_t * builder,
    00240         const axutil_env_t * env,
    00241         void *callback_ctx);
    00242
    00243     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00244     axiom_soap_builder_create_attachments(
    00245         axiom_soap_builder_t * builder,
    00246         const axutil_env_t * env,
    00247         void *user_param,
    00248         axis2_char_t *callback_name);
    00249
    00250     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00251     axiom_soap_builder_replace_xop(
    00252         axiom_soap_builder_t * builder,
    00253         const axutil_env_t * env,
    00254         axiom_node_t *om_element_node,
    00255         axiom_element_t *om_element);
    00256
    00257
    00258
    00259
    00261 #ifdef __cplusplus
    00262 }
    00263 #endif
    00264 #endif                          /* AXIOM_SOAP_BUILDER_H */