axis2_wsdl4c_operation.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2004,2005 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *      http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
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  /* AXIS2_WSDL4C_OPERATION_H */

Generated on Thu Oct 26 21:11:24 2006 for Axis2/C by  doxygen 1.4.7