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 
00040 #define AXIOM_SOAP_11 0
00041 
00042 #define AXIOM_SOAP_12 1
00043 
00044 #ifdef __cplusplus
00045 extern "C"
00046 {
00047 #endif
00048 
00050     typedef struct axis2_stub axis2_stub_t;
00051 
00058     AXIS2_EXTERN void AXIS2_CALL
00059     axis2_stub_free(axis2_stub_t *stub,
00060         const axutil_env_t *env);
00061 
00070     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00071     axis2_stub_set_endpoint_ref(axis2_stub_t *stub,
00072         const axutil_env_t *env,
00073         axis2_endpoint_ref_t *endpoint_ref);
00074 
00082     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00083     axis2_stub_set_endpoint_uri(axis2_stub_t *stub,
00084         const axutil_env_t *env,
00085         const axis2_char_t *endpoint_uri);
00086 
00087 
00096     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00097     axis2_stub_set_use_separate_listener(axis2_stub_t *stub,
00098         const axutil_env_t *env,
00099         const axis2_bool_t use_separate_listener);
00100 
00108     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00109     axis2_stub_set_soap_version(axis2_stub_t *stub,
00110         const axutil_env_t *env,
00111         const int soap_version);
00112 
00113 
00120     AXIS2_EXTERN const axis2_char_t *AXIS2_CALL
00121     axis2_stub_get_svc_ctx_id(const axis2_stub_t *stub,
00122         const axutil_env_t *env);
00123 
00131     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00132     axis2_stub_engage_module(axis2_stub_t *stub,
00133         const axutil_env_t *env,
00134         const axis2_char_t *module_name);
00135 
00142     AXIS2_EXTERN axis2_svc_client_t *AXIS2_CALL
00143     axis2_stub_get_svc_client(const axis2_stub_t *stub,
00144         const axutil_env_t *env);
00145 
00152     AXIS2_EXTERN axis2_options_t *AXIS2_CALL
00153     axis2_stub_get_options(const axis2_stub_t *stub,
00154         const axutil_env_t *env);
00155 
00164     AXIS2_EXTERN axis2_stub_t * AXIS2_CALL
00165     axis2_stub_create_with_endpoint_ref_and_client_home(const axutil_env_t *env,
00166         axis2_endpoint_ref_t *endpoint_ref,
00167         const axis2_char_t *client_home);
00168 
00176     AXIS2_EXTERN axis2_stub_t * AXIS2_CALL
00177     axis2_stub_create_with_endpoint_uri_and_client_home(const axutil_env_t *env,
00178         const axis2_char_t *endpoint_uri,
00179         const axis2_char_t *client_home);
00180 
00181 
00184 #ifdef __cplusplus
00185 }
00186 #endif
00187 
00188 #endif /* AXIS2_STUB_H */

Generated on Thu May 3 12:31:01 2007 for Axis2/C by  doxygen 1.4.6