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

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