00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef AXIS2_WSDL_EXT_SOAP_OP_H
00018 #define AXIS2_WSDL_EXT_SOAP_OP_H
00019
00025 #include <axis2_const.h>
00026 #include <axis2_error.h>
00027 #include <axis2_defines.h>
00028 #include <axis2_env.h>
00029 #include <axis2_allocator.h>
00030 #include <axis2_wsdl_component.h>
00031 #include <axis2_wsdl_ext.h>
00032
00033 #ifdef __cplusplus
00034 extern "C"
00035 {
00036 #endif
00037
00038 struct axis2_wsdl_component;
00039 typedef struct axis2_wsdl_ext_soap_op axis2_wsdl_ext_soap_op_t;
00040 typedef struct axis2_wsdl_ext_soap_op_ops axis2_wsdl_ext_soap_op_ops_t;
00041
00051 struct axis2_wsdl_ext_soap_op_ops
00052 {
00056 axis2_status_t (AXIS2_CALL *
00057 free)(axis2_wsdl_ext_soap_op_t *ext_soap_op,
00058 const axis2_env_t *env);
00059
00060 axis2_char_t *(AXIS2_CALL *
00061 get_soap_action) (axis2_wsdl_ext_soap_op_t *ext_soap_op,
00062 const axis2_env_t *env);
00063
00064 axis2_status_t (AXIS2_CALL *
00065 set_soap_action) (axis2_wsdl_ext_soap_op_t *ext_soap_op,
00066 const axis2_env_t *env,
00067 axis2_char_t *soap_action);
00068
00069 axis2_char_t *(AXIS2_CALL *
00070 get_style) (axis2_wsdl_ext_soap_op_t *ext_soap_op,
00071 const axis2_env_t *env);
00072
00073 axis2_status_t (AXIS2_CALL *
00074 set_style) (axis2_wsdl_ext_soap_op_t *ext_soap_op,
00075 const axis2_env_t *env,
00076 axis2_char_t *style);
00077
00078 };
00079
00084 struct axis2_wsdl_ext_soap_op
00085 {
00086 axis2_wsdl_ext_t base;
00087 axis2_wsdl_ext_soap_op_ops_t *ops;
00088 struct axis2_wsdl_extensible_element *ext_element;
00089 };
00090
00095 AXIS2_EXTERN axis2_wsdl_ext_soap_op_t * AXIS2_CALL
00096 axis2_wsdl_ext_soap_op_create (const axis2_env_t *env,
00097 axis2_qname_t *qtype);
00098
00099
00100
00101 #define AXIS2_WSDL_EXT_SOAP_OP_FREE(ext_soap_op, env) \
00102 ((ext_soap_op)->ops->free (ext_soap_op, env))
00103
00104 #define AXIS2_WSDL_EXT_SOAP_OP_GET_SOAP_ACTION(ext_soap_op, env) \
00105 ((ext_soap_op)->ops->get_soap_action (ext_soap_op, env))
00106
00107 #define AXIS2_WSDL_EXT_SOAP_OP_SET_SOAP_ACTION(ext_soap_op, env, soap_action) \
00108 ((ext_soap_op)->ops->set_soap_action (ext_soap_op, env, soap_action))
00109
00110 #define AXIS2_WSDL_EXT_SOAP_OP_GET_STYLE(ext_soap_op, env) \
00111 ((ext_soap_op)->ops->get_style (ext_soap_op, env))
00112
00113 #define AXIS2_WSDL_EXT_SOAP_OP_SET_STYLE(ext_soap_op, env, style) \
00114 ((ext_soap_op)->ops->set_style (ext_soap_op, env, style))
00115
00116
00117
00120 #ifdef __cplusplus
00121 }
00122 #endif
00123 #endif