00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef AXIS2_WSDL4C_OPERATION_H
00018 #define AXIS2_WSDL4C_OPERATION_H
00019
00024 #include <axis2_array_list.h>
00025 #include <axis2_allocator.h>
00026 #include <axis2_env.h>
00027 #include <axis2_error.h>
00028
00029 #ifdef __cplusplus
00030 extern "C"
00031 {
00032 #endif
00033
00040 enum axis2_wsdl4c_optype
00041 {
00042 AXIS2_WSDL4C_OP_NONE ,
00043 AXIS2_WSDL4C_OP_IN ,
00044 AXIS2_WSDL4C_OP_OUT ,
00045 AXIS2_WSDL4C_OP_IN_OUT ,
00046 AXIS2_WSDL4C_OP_OUT_IN
00047 };
00048
00049 enum axis2_wsdl4c_msg_type
00050 {
00051 AXIS2_WSDL4C_INPUT,
00052 AXIS2_WSDL4C_OUTPUT,
00053 AXIS2_WSDL4C_FAULT
00054 };
00055
00056 typedef enum axis2_wsdl4c_optype axis2_wsdl4c_optype_t;
00057 typedef enum axis2_wsdl4c_msg_type axis2_wsdl4c_msg_type_t;
00058
00059 void *
00060 axis2_wsdl4c_operation_create(void* parser,
00061 void *port_type);
00062
00063 void
00064 axis2_wsdl4c_operation_destroy(void *operation);
00065
00071 void *
00072 axis2_wsdl4c_operation_get_message(void *operation,
00073 axis2_wsdl4c_msg_type_t type );
00074
00075 axis2_array_list_t *
00076 axis2_wsdl4c_operation_get_faults(void *operation);
00077
00082 axis2_wsdl4c_optype_t
00083 axis2_wsdl4c_operation_get_type(void *operation);
00084
00089 void *
00090 axis2_wsdl4c_operation_port_type(void *operation);
00091
00092 void
00093 axis2_wsdl4c_operation_set_message(void *operation,
00094 void *message,
00095 axis2_wsdl4c_msg_type_t type);
00096
00101 char *
00102 axis2_wsdl4c_operation_get_name(void *operation);
00103
00108 char *
00109 axis2_wsdl4c_operation_get_documentation(void *operation);
00110
00119 int *
00120 axis2_wsdl4c_operation_get_extensibility_elements(void *operation,
00121 char *namespc);
00122
00123 int *
00124 axis2_wsdl4c_operation_get_extensibility_attributes(void *operation,
00125 char *namespc);
00126
00127 void
00128 axis2_wsdl4c_operation_set_name(void *operation,
00129 char *name);
00130
00131 void
00132 axis2_wsdl4c_operation_add_ext_element(void *operation,
00133 int ident);
00134
00135 void
00136 axis2_wsdl4c_operation_add_ext_attribute(void *operation,
00137 int ident);
00138
00139 void
00140 axis2_wsdl4c_operation_set_documentation(void *operation,
00141 char *doc);
00142
00145 #ifdef __cplusplus
00146 }
00147 #endif
00148 #endif