axis2_wsdl4c_operation.h

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

Generated on Wed Dec 20 20:14:10 2006 for Axis2/C by  doxygen 1.5.1