axis2_stub.h

Go to the documentation of this file.
00001 /*
00002 * Licensed to the Apache Software Foundation (ASF) under one or more
00003 * contributor license agreements.  See the NOTICE file distributed with
00004 * this work for additional information regarding copyright ownership.
00005 * The ASF licenses this file to You under the Apache License, Version 2.0
00006 * (the "License"); you may not use this file except in compliance with
00007 * the License.  You may obtain a copy of the License at
00008 *
00009 *      http://www.apache.org/licenses/LICENSE-2.0
00010 *
00011 * Unless required by applicable law or agreed to in writing, software
00012 * distributed under the License is distributed on an "AS IS" BASIS,
00013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014 * See the License for the specific language governing permissions and
00015 * limitations under the License.
00016 */
00017 
00018 #ifndef AXIS2_STUB_H
00019 #define AXIS2_STUB_H
00020 
00033 #include <axis2_endpoint_ref.h>
00034 #include <axis2_svc_client.h>
00035 #include <axis2_options.h>
00036 #include <axiom_xml_reader.h>
00037 #include <axutil_property.h>
00038 
00041 #define AXIOM_SOAP_11 1
00042 
00044 #define AXIOM_SOAP_12 2
00045 
00046 #ifdef __cplusplus
00047 extern "C"
00048 {
00049 #endif
00050 
00052     typedef struct axis2_stub axis2_stub_t;
00053 
00060     AXIS2_EXTERN void AXIS2_CALL
00061     axis2_stub_free(axis2_stub_t *stub,
00062         const axutil_env_t *env);
00063 
00072     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00073     axis2_stub_set_endpoint_ref(axis2_stub_t *stub,
00074         const axutil_env_t *env,
00075         axis2_endpoint_ref_t *endpoint_ref);
00076 
00084     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00085     axis2_stub_set_endpoint_uri(axis2_stub_t *stub,
00086         const axutil_env_t *env,
00087         const axis2_char_t *endpoint_uri);
00088 
00089 
00098     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00099     axis2_stub_set_use_separate_listener(axis2_stub_t *stub,
00100         const axutil_env_t *env,
00101         const axis2_bool_t use_separate_listener);
00102 
00110     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00111     axis2_stub_set_soap_version(axis2_stub_t *stub,
00112         const axutil_env_t *env,
00113         const int soap_version);
00114 
00115 
00122     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
00123     axis2_stub_get_svc_ctx_id(const axis2_stub_t *stub,
00124         const axutil_env_t *env);
00125 
00133     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00134     axis2_stub_engage_module(axis2_stub_t *stub,
00135         const axutil_env_t *env,
00136         const axis2_char_t *module_name);
00137 
00144     AXIS2_EXTERN axis2_svc_client_t *AXIS2_CALL
00145     axis2_stub_get_svc_client(const axis2_stub_t *stub,
00146         const axutil_env_t *env);
00147 
00154     AXIS2_EXTERN axis2_options_t *AXIS2_CALL
00155     axis2_stub_get_options(const axis2_stub_t *stub,
00156         const axutil_env_t *env);
00157 
00166     AXIS2_EXTERN axis2_stub_t * AXIS2_CALL
00167     axis2_stub_create_with_endpoint_ref_and_client_home(const axutil_env_t *env,
00168         axis2_endpoint_ref_t *endpoint_ref,
00169         const axis2_char_t *client_home);
00170 
00178     AXIS2_EXTERN axis2_stub_t * AXIS2_CALL
00179     axis2_stub_create_with_endpoint_uri_and_client_home(const axutil_env_t *env,
00180         const axis2_char_t *endpoint_uri,
00181         const axis2_char_t *client_home);
00182 
00183 
00186 #ifdef __cplusplus
00187 }
00188 #endif
00189 
00190 #endif /* AXIS2_STUB_H */

Generated on Wed Sep 26 09:49:21 2007 for Axis2/C by  doxygen 1.4.6