00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef WODEN_WSDL10_ENDPOINT_H
00019 #define WODEN_WSDL10_ENDPOINT_H
00020
00028 #include <woden.h>
00029 #include <woden_wsdl10_endpoint_element.h>
00030 #include <woden_nested_configurable.h>
00031 #include <woden_nested_component.h>
00032 #include <woden_configurable_component.h>
00033 #include <woden_nc_name.h>
00034
00040 typedef union woden_wsdl10_endpoint_base woden_wsdl10_endpoint_base_t;
00041 typedef struct woden_wsdl10_endpoint woden_wsdl10_endpoint_t;
00042 typedef struct woden_wsdl10_endpoint_ops woden_wsdl10_endpoint_ops_t;
00043 struct woden_documentation_element;
00044 struct woden_wsdl_component;
00045 struct woden_documentable;
00046
00047 #ifdef __cplusplus
00048 extern "C"
00049 {
00050 #endif
00051
00052 struct woden_wsdl10_endpoint_ops
00053 {
00058 axis2_status_t (AXIS2_CALL *
00059 free) (void *endpoint,
00060 const axis2_env_t *env);
00061
00062 axis2_hash_t *(AXIS2_CALL *
00063 super_objs) (void *endpoint,
00064 const axis2_env_t *env);
00065
00066 woden_obj_types_t (AXIS2_CALL *
00067 type) (void *endpoint,
00068 const axis2_env_t *env);
00072 struct woden_nested_configurable *(AXIS2_CALL *
00073 get_base_impl) (
00074 void *endpoint,
00075 const axis2_env_t *env);
00076
00077
00078
00079
00080
00081 woden_nc_name_t *(AXIS2_CALL *
00082 get_name) (
00083 void *endpoint,
00084 const axis2_env_t *env);
00085
00086 void *(AXIS2_CALL *
00087 get_binding) (
00088 void *endpoint,
00089 const axis2_env_t *env);
00090
00091 axis2_uri_t *(AXIS2_CALL *
00092 get_address) (
00093 void *endpoint,
00094 const axis2_env_t *env);
00095
00096 axis2_status_t (AXIS2_CALL *
00097 set_binding_element) (
00098 void *endpoint,
00099 const axis2_env_t *env,
00100 void *binding);
00101
00102 };
00103
00104 union woden_wsdl10_endpoint_base
00105 {
00106 woden_nested_configurable_t nested_configurable;
00107 woden_wsdl10_endpoint_element_t endpoint_element;
00108 woden_configurable_component_t configurable_component;
00109 woden_nested_component_t nested_component;
00110 };
00111
00112 struct woden_wsdl10_endpoint
00113 {
00114 woden_wsdl10_endpoint_base_t base;
00115 woden_wsdl10_endpoint_ops_t *ops;
00116 };
00117
00118 AXIS2_EXTERN woden_wsdl10_endpoint_t * AXIS2_CALL
00119 woden_wsdl10_endpoint_create(
00120 const axis2_env_t *env);
00121
00122
00123
00124 AXIS2_EXTERN woden_wsdl10_endpoint_t * AXIS2_CALL
00125 woden_wsdl10_endpoint_to_endpoint_element(
00126 void *endpoint,
00127 const axis2_env_t *env);
00128
00129 AXIS2_EXTERN woden_wsdl10_endpoint_t * AXIS2_CALL
00130 woden_wsdl10_endpoint_to_nested_element(
00131 void *endpoint,
00132 const axis2_env_t *env);
00133
00134 AXIS2_EXTERN woden_wsdl10_endpoint_t * AXIS2_CALL
00135 woden_wsdl10_endpoint_to_documentable_element(
00136 void *endpoint,
00137 const axis2_env_t *env);
00138
00139 AXIS2_EXTERN woden_wsdl10_endpoint_t * AXIS2_CALL
00140 woden_wsdl10_endpoint_to_nested_configurable(
00141 void *endpoint,
00142 const axis2_env_t *env);
00143
00144 AXIS2_EXTERN woden_wsdl10_endpoint_t * AXIS2_CALL
00145 woden_wsdl10_endpoint_to_configurable(
00146 void *endpoint,
00147 const axis2_env_t *env);
00148
00149 AXIS2_EXTERN woden_wsdl10_endpoint_t * AXIS2_CALL
00150 woden_wsdl10_endpoint_to_nested_component(
00151 void *endpoint,
00152 const axis2_env_t *env);
00153
00154 AXIS2_EXTERN woden_wsdl10_endpoint_t * AXIS2_CALL
00155 woden_wsdl10_endpoint_to_configurable_component(
00156 void *endpoint,
00157 const axis2_env_t *env);
00158
00159 AXIS2_EXTERN woden_wsdl10_endpoint_t * AXIS2_CALL
00160 woden_wsdl10_endpoint_to_wsdl_component(
00161 void *endpoint,
00162 const axis2_env_t *env);
00163
00164 AXIS2_EXTERN woden_wsdl10_endpoint_t * AXIS2_CALL
00165 woden_wsdl10_endpoint_to_configurable_element(
00166 void *endpoint,
00167 const axis2_env_t *env);
00168
00169 AXIS2_EXTERN woden_wsdl10_endpoint_t * AXIS2_CALL
00170 woden_wsdl10_endpoint_to_documentable(
00171 void *endpoint,
00172 const axis2_env_t *env);
00173
00174 AXIS2_EXTERN woden_wsdl10_endpoint_t * AXIS2_CALL
00175 woden_wsdl10_endpoint_to_attr_extensible(
00176 void *endpoint,
00177 const axis2_env_t *env);
00178
00179 AXIS2_EXTERN woden_wsdl10_endpoint_t * AXIS2_CALL
00180 woden_wsdl10_endpoint_to_element_extensible(
00181 void *endpoint,
00182 const axis2_env_t *env);
00183
00184
00185 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00186 woden_wsdl10_endpoint_resolve_methods(
00187 woden_wsdl10_endpoint_t *endpoint,
00188 const axis2_env_t *env,
00189 woden_wsdl10_endpoint_t *endpoint_impl,
00190 axis2_hash_t *methods);
00191
00192
00193 #define WODEN_WSDL10_ENDPOINT_FREE(endpoint, env) \
00194 (((woden_wsdl10_endpoint_t *) endpoint)->ops->free(endpoint, env))
00195
00196 #define WODEN_WSDL10_ENDPOINT_SUPER_OBJS(endpoint, env) \
00197 (((woden_wsdl10_endpoint_t *) endpoint)->ops->super_objs(endpoint, env))
00198
00199 #define WODEN_WSDL10_ENDPOINT_TYPE(endpoint, env) \
00200 (((woden_wsdl10_endpoint_t *) endpoint)->ops->type(endpoint, env))
00201
00202 #define WODEN_WSDL10_ENDPOINT_GET_BASE_IMPL(endpoint, env) \
00203 (((woden_wsdl10_endpoint_t *) endpoint)->ops->get_base_impl(endpoint, env))
00204
00205 #define WODEN_WSDL10_ENDPOINT_GET_NAME(endpoint, env) \
00206 (((woden_wsdl10_endpoint_t *) endpoint)->ops->\
00207 get_name(endpoint, env))
00208
00209 #define WODEN_WSDL10_ENDPOINT_GET_BINDING(endpoint, env) \
00210 (((woden_wsdl10_endpoint_t *) endpoint)->ops->\
00211 get_binding(endpoint, env))
00212
00213 #define WODEN_WSDL10_ENDPOINT_GET_ADDRESS(endpoint, env) \
00214 (((woden_wsdl10_endpoint_t *) endpoint)->ops->\
00215 get_address(endpoint, env))
00216
00217 #define WODEN_WSDL10_ENDPOINT_SET_BINDING_ELEMENT(endpoint, env, binding) \
00218 (((woden_wsdl10_endpoint_t *) endpoint)->ops->\
00219 set_binding_element(endpoint, env, binding))
00220
00222 #ifdef __cplusplus
00223 }
00224 #endif
00225 #endif