axis2_wsdl_ext_soap_binding.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_EXT_SOAP_BINDING_H
00018 #define AXIS2_WSDL_EXT_SOAP_BINDING_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_wsdl_component.h>
00031 
00032 #ifdef __cplusplus
00033 extern "C"
00034 {
00035 #endif
00036 
00037 struct axis2_wsdl_component;    
00038 typedef struct axis2_wsdl_ext_soap_binding axis2_wsdl_ext_soap_binding_t;
00039 typedef struct axis2_wsdl_ext_soap_binding_ops axis2_wsdl_ext_soap_binding_ops_t;
00040 
00050  struct axis2_wsdl_ext_soap_binding_ops
00051 {
00055    axis2_status_t (AXIS2_CALL *
00056     free)(axis2_wsdl_ext_soap_binding_t *ext_soap_binding,
00057            const axis2_env_t *env);
00058 
00059     axis2_char_t *(AXIS2_CALL *
00060     get_style) (axis2_wsdl_ext_soap_binding_t *ext_soap_binding,
00061                                     const axis2_env_t *env);
00062 
00063     axis2_status_t (AXIS2_CALL *
00064     set_style) (axis2_wsdl_ext_soap_binding_t *ext_soap_binding,
00065                                     const axis2_env_t *env,
00066                                     axis2_char_t *style);
00067 
00068     axis2_char_t *(AXIS2_CALL *
00069     get_transport_uri) (axis2_wsdl_ext_soap_binding_t *ext_soap_binding,
00070                                     const axis2_env_t *env);
00071 
00072     axis2_status_t (AXIS2_CALL *
00073     set_transport_uri) (axis2_wsdl_ext_soap_binding_t *ext_soap_binding,
00074                                     const axis2_env_t *env,
00075                                     axis2_char_t *transport_uri);
00076      
00077 };
00078 
00083  struct axis2_wsdl_ext_soap_binding
00084 {
00085    axis2_wsdl_ext_soap_binding_ops_t *ops;
00086     struct axis2_wsdl_extensible_element *ext_element;
00087 };
00088 
00093 AXIS2_EXTERN axis2_wsdl_ext_soap_binding_t * AXIS2_CALL 
00094 axis2_wsdl_ext_soap_binding_create (const axis2_env_t *env,
00095                                     axis2_qname_t *qtype);
00096 
00097 /*************************** Function macros **********************************/
00098 
00099 #define AXIS2_WSDL_EXT_SOAP_BINDING_FREE(ext_soap_binding, env) \
00100       ((ext_soap_binding)->ops->free (ext_soap_binding, env))
00101 
00102 #define AXIS2_WSDL_EXT_SOAP_BINDING_GET_STYLE(ext_soap_binding, env) \
00103       ((ext_soap_binding)->ops->get_style (ext_soap_binding, env))
00104 
00105 #define AXIS2_WSDL_EXT_SOAP_BINDING_SET_STYLE(ext_soap_binding, env, style) \
00106       ((ext_soap_binding)->ops->set_style (ext_soap_binding, env, style))
00107         
00108 #define AXIS2_WSDL_EXT_SOAP_BINDING_GET_TRANSPORT_URI(ext_soap_binding, env) \
00109       ((ext_soap_binding)->ops->get_transport_uri (ext_soap_binding, env))
00110 
00111 #define AXIS2_WSDL_EXT_SOAP_BINDING_SET_TRANSPORT_URI(ext_soap_binding, env, transport_uri) \
00112       ((ext_soap_binding)->ops->set_transport_uri (wsdl_feature, env, transport_uri))        
00113 
00114 /*************************** End of function macros ***************************/
00115 
00118 #ifdef __cplusplus
00119 }
00120 #endif
00121 #endif  /* AXIS2_WSDL_EXT_SOAP_BINDING_H */

Generated on Tue Oct 3 20:47:59 2006 for Axis2/C by  doxygen 1.4.7