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