Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Examples

axis2_wsdl_soap_op.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_WSDL_SOAP_OP_H
00018 #define AXIS2_WSDL_SOAP_OP_H
00019 
00025 #include <axis2_const.h>
00026 #include <axis2_error.h>
00027 #include <axis2_defines.h>
00028 #include <axis2_env.h>
00029 #include <axis2_allocator.h>
00030 #include <axis2_qname.h>
00031 #include <axis2_wsdl_extensible_element.h>
00032 #include <axis2_wsdl.h>
00033 
00034 #ifdef __cplusplus
00035 extern "C"
00036 {
00037 #endif
00038 
00039 typedef struct axis2_wsdl_soap_op axis2_wsdl_soap_op_t;
00040 typedef struct axis2_wsdl_soap_op_ops axis2_wsdl_soap_op_ops_t;
00041 
00051 AXIS2_DECLARE_DATA struct axis2_wsdl_soap_op_ops
00052 {
00056    axis2_status_t (AXIS2_CALL *free)(
00057                     axis2_wsdl_soap_op_t *wsdl_soap_op,
00058                  const axis2_env_t *env);
00059 
00060     axis2_char_t *(AXIS2_CALL *
00061     get_style) (axis2_wsdl_soap_op_t *soap_op,
00062                                         const axis2_env_t *env);
00063         
00064     axis2_status_t (AXIS2_CALL *
00065     set_style) (axis2_wsdl_soap_op_t *soap_op,
00066                                         const axis2_env_t *env,
00067                                         axis2_char_t *style);
00068     
00069     axis2_char_t * (AXIS2_CALL *
00070     get_soap_action) (axis2_wsdl_soap_op_t *soap_op,
00071                                         const axis2_env_t *env);
00072     
00073     axis2_status_t (AXIS2_CALL *
00074     set_soap_action) (axis2_wsdl_soap_op_t *soap_op,
00075                                         const axis2_env_t *env,
00076                                         axis2_char_t *soap_action);
00077 };
00078 
00083 AXIS2_DECLARE_DATA struct axis2_wsdl_soap_op
00084 {
00085    axis2_wsdl_soap_op_ops_t *ops;
00086     axis2_wsdl_extensible_element_t *extensible_element;
00087 };
00088 
00093 AXIS2_EXTERN axis2_wsdl_soap_op_t * AXIS2_CALL 
00094 axis2_wsdl_soap_op_create (const axis2_env_t *env);
00095 
00101 AXIS2_EXTERN axis2_wsdl_soap_op_t * AXIS2_CALL 
00102 axis2_wsdl_soap_op_create_with_type (const axis2_env_t *env, axis2_qname_t *type);
00103 
00104 /*************************** Function macros **********************************/
00105 
00106 #define AXIS2_WSDL_SOAP_OP_FREE(soap_op, env) \
00107       ((soap_op)->ops->free (soap_op, env))
00108 
00109 #define AXIS2_WSDL_SOAP_OP_GET_STYLE(soap_op, env) \
00110       ((soap_op)->ops->get_style (soap_op, env))
00111 
00112 #define AXIS2_WSDL_SOAP_OP_SET_STYLE(soap_op, env, style) \
00113       ((soap_op)->ops->set_style (soap_op, env, style))
00114 
00115 #define AXIS2_WSDL_SOAP_OP_GET_SOAP_ACTION(soap_op, env) \
00116       ((soap_op)->ops->get_soap_action (soap_op, env))
00117 
00118 #define AXIS2_WSDL_SOAP_OP_SET_SOAP_ACTION(soap_op, env, soap_action) \
00119       ((soap_op)->ops->set_soap_action (soap_op, env, soap_action))       
00120 
00121 /*************************** End of function macros ***************************/
00122 
00125 #ifdef __cplusplus
00126 }
00127 #endif
00128 #endif  /* AXIS2_WSDL_SOAP_OP_H */

Generated on Fri Jun 16 18:02:31 2006 for Axis2/C by  doxygen 1.4.2