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 
00104     axis2_stub_set_use_separate_listener(
00105         axis2_stub_t * stub,
00106         const axutil_env_t * env,
00107         const axis2_bool_t use_separate_listener);
00108 
00116     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00117     axis2_stub_set_soap_version(
00118         axis2_stub_t * stub,
00119         const axutil_env_t * env,
00120         const int soap_version);
00121 
00128     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
00129     axis2_stub_get_svc_ctx_id(
00130         const axis2_stub_t * stub,
00131         const axutil_env_t * env);
00132 
00140     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00141     axis2_stub_engage_module(
00142         axis2_stub_t * stub,
00143         const axutil_env_t * env,
00144         const axis2_char_t * module_name);
00145 
00152     AXIS2_EXTERN axis2_svc_client_t *AXIS2_CALL
00153     axis2_stub_get_svc_client(
00154         const axis2_stub_t * stub,
00155         const axutil_env_t * env);
00156 
00163     AXIS2_EXTERN axis2_options_t *AXIS2_CALL
00164     axis2_stub_get_options(
00165         const axis2_stub_t * stub,
00166         const axutil_env_t * env);
00167 
00176     AXIS2_EXTERN axis2_stub_t *AXIS2_CALL
00177 
00178     axis2_stub_create_with_endpoint_ref_and_client_home(
00179         const axutil_env_t * env,
00180         axis2_endpoint_ref_t * endpoint_ref,
00181         const axis2_char_t * client_home);
00182 
00190     AXIS2_EXTERN axis2_stub_t *AXIS2_CALL
00191 
00192     axis2_stub_create_with_endpoint_uri_and_client_home(
00193         const axutil_env_t * env,
00194         const axis2_char_t * endpoint_uri,
00195         const axis2_char_t * client_home);
00196 
00199 #ifdef __cplusplus
00200 }
00201 #endif
00202 
00203 #endif                          /* AXIS2_STUB_H */

Generated on Wed Feb 27 19:43:04 2008 for Axis2/C by  doxygen 1.5.5