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