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

- Search for |

# axis2_stub.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_STUB_H
    00020 #define AXIS2_STUB_H
    00021
    00034 #include <axis2_endpoint_ref.h>
    00035 #include <axis2_svc_client.h>
    00036 #include <axis2_options.h>
    00037 #include <axiom_xml_reader.h>
    00038 #include <axutil_property.h>
    00039
    00042 #define AXIOM_SOAP_11 1
    00043
    00046 #define AXIOM_SOAP_12 2
    00047
    00048 #ifdef __cplusplus
    00049 extern "C"
    00050 {
    00051 #endif
    00052
    00054     typedef struct axis2_stub axis2_stub_t;
    00055
    00062     AXIS2_EXTERN void AXIS2_CALL
    00063     axis2_stub_free(
    00064         axis2_stub_t * stub,
    00065         const axutil_env_t * env);
    00066
    00075     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00076     axis2_stub_set_endpoint_ref(
    00077         axis2_stub_t * stub,
    00078         const axutil_env_t * env,
    00079         axis2_endpoint_ref_t * endpoint_ref);
    00080
    00088     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00089     axis2_stub_set_endpoint_uri(
    00090         axis2_stub_t * stub,
    00091         const axutil_env_t * env,
    00092         const axis2_char_t * endpoint_uri);
    00093
    00102     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00103     axis2_stub_set_use_separate_listener(
    00104         axis2_stub_t * stub,
    00105         const axutil_env_t * env,
    00106         const axis2_bool_t use_separate_listener);
    00107
    00115     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00116     axis2_stub_set_soap_version(
    00117         axis2_stub_t * stub,
    00118         const axutil_env_t * env,
    00119         const int soap_version);
    00120
    00127     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
    00128     axis2_stub_get_svc_ctx_id(
    00129         const axis2_stub_t * stub,
    00130         const axutil_env_t * env);
    00131
    00139     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00140     axis2_stub_engage_module(
    00141         axis2_stub_t * stub,
    00142         const axutil_env_t * env,
    00143         const axis2_char_t * module_name);
    00144
    00151     AXIS2_EXTERN axis2_svc_client_t *AXIS2_CALL
    00152     axis2_stub_get_svc_client(
    00153         const axis2_stub_t * stub,
    00154         const axutil_env_t * env);
    00155
    00162     AXIS2_EXTERN axis2_options_t *AXIS2_CALL
    00163     axis2_stub_get_options(
    00164         const axis2_stub_t * stub,
    00165         const axutil_env_t * env);
    00166
    00175     AXIS2_EXTERN axis2_stub_t *AXIS2_CALL
    00176     axis2_stub_create_with_endpoint_ref_and_client_home(
    00177         const axutil_env_t * env,
    00178         axis2_endpoint_ref_t * endpoint_ref,
    00179         const axis2_char_t * client_home);
    00180
    00188     AXIS2_EXTERN axis2_stub_t *AXIS2_CALL
    00189     axis2_stub_create_with_endpoint_uri_and_client_home(
    00190         const axutil_env_t * env,
    00191         const axis2_char_t * endpoint_uri,
    00192         const axis2_char_t * client_home);
    00193
    00196 #ifdef __cplusplus
    00197 }
    00198 #endif
    00199
    00200 #endif                          /* AXIS2_STUB_H */