Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 68729 invoked from network); 5 Jul 2006 12:42:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jul 2006 12:42:54 -0000 Received: (qmail 1059 invoked by uid 500); 5 Jul 2006 12:41:26 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 96543 invoked by uid 500); 5 Jul 2006 12:41:00 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 89183 invoked by uid 500); 5 Jul 2006 12:40:21 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 87045 invoked by uid 99); 5 Jul 2006 12:40:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 05:40:10 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 05:39:44 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 0CFF01A98EC; Tue, 4 Jul 2006 22:41:12 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r419167 [4/8] - in /webservices/axis2/trunk/c/woden: include/ samples/wsdl10/ src/builder/wsdl10/ src/wsdl10/ src/wsdl10/extensions/soap/ src/wsdl10/xml/ src/wsdl20/ Date: Wed, 05 Jul 2006 05:41:05 -0000 To: axis2-cvs@ws.apache.org From: damitha@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060705054112.0CFF01A98EC@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Modified: webservices/axis2/trunk/c/woden/src/wsdl10/binding_msg_ref.c URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/binding_msg_ref.c?rev=419167&r1=419166&r2=419167&view=diff ============================================================================== --- webservices/axis2/trunk/c/woden/src/wsdl10/binding_msg_ref.c (original) +++ webservices/axis2/trunk/c/woden/src/wsdl10/binding_msg_ref.c Tue Jul 4 22:41:04 2006 @@ -15,26 +15,26 @@ */ #include -#include -#include +#include +#include #include #include #include #include #include #include -#include +#include #include -typedef struct woden_wsdl10_binding_msg_ref_impl woden_wsdl10_binding_msg_ref_impl_t; +typedef struct woden_binding_msg_ref_impl woden_binding_msg_ref_impl_t; /** * @brief Binding Message Reference Struct Impl * Axis2 Binding Message Reference */ -struct woden_wsdl10_binding_msg_ref_impl +struct woden_binding_msg_ref_impl { - woden_wsdl10_binding_msg_ref_t binding_msg_ref; + woden_binding_msg_ref_t binding_msg_ref; woden_nested_configurable_t *nested_configurable; woden_obj_types_t obj_type; axis2_hash_t *super; @@ -42,27 +42,28 @@ void *f_direction; axis2_qname_t *f_qname; void *f_interface_msg_ref; + void *f_msg_label; }; -#define INTF_TO_IMPL(binding_msg_ref) ((woden_wsdl10_binding_msg_ref_impl_t *) binding_msg_ref) +#define INTF_TO_IMPL(binding_msg_ref) ((woden_binding_msg_ref_impl_t *) binding_msg_ref) axis2_status_t AXIS2_CALL -woden_wsdl10_binding_msg_ref_free( +woden_binding_msg_ref_free( void *binding_msg_ref, const axis2_env_t *env); axis2_hash_t *AXIS2_CALL -woden_wsdl10_binding_msg_ref_super_objs( +woden_binding_msg_ref_super_objs( void *binding_msg_ref, const axis2_env_t *env); woden_obj_types_t AXIS2_CALL -woden_wsdl10_binding_msg_ref_type( +woden_binding_msg_ref_type( void *binding_msg_ref, const axis2_env_t *env); woden_nested_configurable_t *AXIS2_CALL -woden_wsdl10_binding_msg_ref_get_base_impl( +woden_binding_msg_ref_get_base_impl( void *binding_msg_ref, const axis2_env_t *env); @@ -70,12 +71,12 @@ * Binding Message Reference methods (the WSDL Component model) * ************************************************************/ void *AXIS2_CALL -woden_wsdl10_binding_msg_ref_get_interface_msg_ref( +woden_binding_msg_ref_get_interface_msg_ref( void *binding_msg_ref, const axis2_env_t *env); void *AXIS2_CALL -woden_wsdl10_binding_msg_ref_to_element( +woden_binding_msg_ref_to_element( void *binding_msg_ref, const axis2_env_t *env); @@ -85,86 +86,98 @@ axis2_status_t AXIS2_CALL -woden_wsdl10_binding_msg_ref_set_direction( +woden_binding_msg_ref_set_direction( void *binding_msg_ref, const axis2_env_t *env, void *dir); void *AXIS2_CALL -woden_wsdl10_binding_msg_ref_get_direction( +woden_binding_msg_ref_get_direction( void *binding_msg_ref, const axis2_env_t *env); axis2_status_t AXIS2_CALL -woden_wsdl10_binding_msg_ref_set_qname( +woden_binding_msg_ref_set_qname( void *binding_msg_ref, const axis2_env_t *env, axis2_qname_t *qname); axis2_qname_t *AXIS2_CALL -woden_wsdl10_binding_msg_ref_get_qname( +woden_binding_msg_ref_get_qname( void *binding_msg_ref, const axis2_env_t *env); +axis2_status_t AXIS2_CALL +woden_binding_msg_ref_set_msg_label( + void *binding_msg_ref, + const axis2_env_t *env, + void *msg_label); + +void *AXIS2_CALL +woden_binding_msg_ref_get_msg_label( + void *binding_msg_ref, + const axis2_env_t *env); + + /* ************************************************************ * Non-API implementation methods * ************************************************************/ axis2_status_t AXIS2_CALL -woden_wsdl10_binding_msg_ref_set_interface_msg_ref_element( +woden_binding_msg_ref_set_interface_msg_ref_element( void *binding_msg_ref, const axis2_env_t *env, void *int_msg_ref); -static woden_wsdl10_binding_msg_ref_t * +static woden_binding_msg_ref_t * create(const axis2_env_t *env); static axis2_status_t -woden_wsdl10_binding_msg_ref_free_ops( +woden_binding_msg_ref_free_ops( void *binding_msg_ref, const axis2_env_t *env); /************************Woden C Internal Methods******************************/ -AXIS2_EXTERN woden_wsdl10_binding_msg_ref_t * AXIS2_CALL -woden_wsdl10_binding_msg_ref_to_binding_msg_ref_element( +AXIS2_EXTERN woden_binding_msg_ref_t * AXIS2_CALL +woden_binding_msg_ref_to_binding_msg_ref_element( void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_msg_ref) { - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) create(env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) create(env); } else - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) binding_msg_ref; - woden_wsdl10_binding_msg_ref_free_ops(binding_msg_ref, env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) binding_msg_ref; + woden_binding_msg_ref_free_ops(binding_msg_ref, env); binding_msg_ref_impl->binding_msg_ref.base.binding_msg_ref_element.ops = AXIS2_MALLOC(env->allocator, - sizeof(woden_wsdl10_binding_msg_ref_element_ops_t)); - woden_wsdl10_binding_msg_ref_element_resolve_methods(&(binding_msg_ref_impl->binding_msg_ref.base. + sizeof(woden_binding_msg_ref_element_ops_t)); + woden_binding_msg_ref_element_resolve_methods(&(binding_msg_ref_impl->binding_msg_ref.base. binding_msg_ref_element), env, binding_msg_ref_impl->methods); return binding_msg_ref; } -AXIS2_EXTERN woden_wsdl10_binding_msg_ref_t * AXIS2_CALL -woden_wsdl10_binding_msg_ref_to_nested_configurable( +AXIS2_EXTERN woden_binding_msg_ref_t * AXIS2_CALL +woden_binding_msg_ref_to_nested_configurable( void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_msg_ref) { - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) create(env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) create(env); } else - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) binding_msg_ref; - woden_wsdl10_binding_msg_ref_free_ops(binding_msg_ref, env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) binding_msg_ref; + woden_binding_msg_ref_free_ops(binding_msg_ref, env); binding_msg_ref_impl->binding_msg_ref.base.nested_configurable.ops = AXIS2_MALLOC(env->allocator, @@ -175,22 +188,22 @@ return binding_msg_ref; } -AXIS2_EXTERN woden_wsdl10_binding_msg_ref_t * AXIS2_CALL -woden_wsdl10_binding_msg_ref_to_configurable( +AXIS2_EXTERN woden_binding_msg_ref_t * AXIS2_CALL +woden_binding_msg_ref_to_configurable( void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; void *configurable = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_msg_ref) { - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) create(env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) create(env); } else - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) binding_msg_ref; - woden_wsdl10_binding_msg_ref_free_ops(binding_msg_ref, env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) binding_msg_ref; + woden_binding_msg_ref_free_ops(binding_msg_ref, env); binding_msg_ref_impl->binding_msg_ref.base.nested_configurable.base.configurable.ops = AXIS2_MALLOC(env->allocator, @@ -202,12 +215,12 @@ return binding_msg_ref; } -AXIS2_EXTERN woden_wsdl10_binding_msg_ref_t * AXIS2_CALL -woden_wsdl10_binding_msg_ref_to_wsdl_obj( +AXIS2_EXTERN woden_binding_msg_ref_t * AXIS2_CALL +woden_binding_msg_ref_to_wsdl_obj( void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; void *configurable = NULL; void *documentable = NULL; void *wsdl_obj = NULL; @@ -215,11 +228,11 @@ AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_msg_ref) { - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) create(env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) create(env); } else - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) binding_msg_ref; - woden_wsdl10_binding_msg_ref_free_ops(binding_msg_ref, env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) binding_msg_ref; + woden_binding_msg_ref_free_ops(binding_msg_ref, env); binding_msg_ref_impl->binding_msg_ref.base.nested_configurable.base.configurable. base.documentable.base.wsdl_obj.ops = AXIS2_MALLOC(env->allocator, @@ -236,21 +249,21 @@ return binding_msg_ref; } -AXIS2_EXTERN woden_wsdl10_binding_msg_ref_t * AXIS2_CALL -woden_wsdl10_binding_msg_ref_to_nested_element( +AXIS2_EXTERN woden_binding_msg_ref_t * AXIS2_CALL +woden_binding_msg_ref_to_nested_element( void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_msg_ref) { - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) create(env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) create(env); } else - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) binding_msg_ref; - woden_wsdl10_binding_msg_ref_free_ops(binding_msg_ref, env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) binding_msg_ref; + woden_binding_msg_ref_free_ops(binding_msg_ref, env); binding_msg_ref_impl->binding_msg_ref.base.nested_configurable.base. nested_element.ops = AXIS2_MALLOC(env->allocator, @@ -261,21 +274,21 @@ return binding_msg_ref; } -AXIS2_EXTERN woden_wsdl10_binding_msg_ref_t * AXIS2_CALL -woden_wsdl10_binding_msg_ref_to_wsdl_component( +AXIS2_EXTERN woden_binding_msg_ref_t * AXIS2_CALL +woden_binding_msg_ref_to_wsdl_component( void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_msg_ref) { - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) create(env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) create(env); } else - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) binding_msg_ref; - woden_wsdl10_binding_msg_ref_free_ops(binding_msg_ref, env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) binding_msg_ref; + woden_binding_msg_ref_free_ops(binding_msg_ref, env); binding_msg_ref_impl->binding_msg_ref.base.nested_configurable.base. nested_component.wsdl_component.ops = AXIS2_MALLOC(env->allocator, @@ -286,22 +299,22 @@ return binding_msg_ref; } -AXIS2_EXTERN woden_wsdl10_binding_msg_ref_t * AXIS2_CALL -woden_wsdl10_binding_msg_ref_to_configurable_element( +AXIS2_EXTERN woden_binding_msg_ref_t * AXIS2_CALL +woden_binding_msg_ref_to_configurable_element( void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_msg_ref) { - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) create(env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) create(env); } else - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) binding_msg_ref; + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) binding_msg_ref; - woden_wsdl10_binding_msg_ref_free_ops(binding_msg_ref, env); + woden_binding_msg_ref_free_ops(binding_msg_ref, env); binding_msg_ref_impl->binding_msg_ref.base.binding_msg_ref_element.base.configurable_element.ops = AXIS2_MALLOC(env->allocator, @@ -312,22 +325,22 @@ } -AXIS2_EXTERN woden_wsdl10_binding_msg_ref_t * AXIS2_CALL -woden_wsdl10_binding_msg_ref_to_documentable_element( +AXIS2_EXTERN woden_binding_msg_ref_t * AXIS2_CALL +woden_binding_msg_ref_to_documentable_element( void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_msg_ref) { - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) create(env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) create(env); } else - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) binding_msg_ref; + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) binding_msg_ref; - woden_wsdl10_binding_msg_ref_free_ops(binding_msg_ref, env); + woden_binding_msg_ref_free_ops(binding_msg_ref, env); binding_msg_ref_impl->binding_msg_ref.base.binding_msg_ref_element.base.documentable_element.ops = AXIS2_MALLOC(env->allocator, @@ -338,22 +351,22 @@ return binding_msg_ref; } -AXIS2_EXTERN woden_wsdl10_binding_msg_ref_t * AXIS2_CALL -woden_wsdl10_binding_msg_ref_to_documentable( +AXIS2_EXTERN woden_binding_msg_ref_t * AXIS2_CALL +woden_binding_msg_ref_to_documentable( void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_msg_ref) { - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) create(env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) create(env); } else - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) binding_msg_ref; + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) binding_msg_ref; - woden_wsdl10_binding_msg_ref_free_ops(binding_msg_ref, env); + woden_binding_msg_ref_free_ops(binding_msg_ref, env); binding_msg_ref_impl->binding_msg_ref.base.nested_configurable.base. configurable.base.documentable.ops = AXIS2_MALLOC(env->allocator, @@ -364,21 +377,21 @@ return binding_msg_ref; } -AXIS2_EXTERN woden_wsdl10_binding_msg_ref_t * AXIS2_CALL -woden_wsdl10_binding_msg_ref_to_attr_extensible( +AXIS2_EXTERN woden_binding_msg_ref_t * AXIS2_CALL +woden_binding_msg_ref_to_attr_extensible( void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_msg_ref) { - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) create(env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) create(env); } else - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) binding_msg_ref; - woden_wsdl10_binding_msg_ref_free_ops(binding_msg_ref, env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) binding_msg_ref; + woden_binding_msg_ref_free_ops(binding_msg_ref, env); binding_msg_ref_impl->binding_msg_ref.base.binding_msg_ref_element. base.documentable_element.wsdl_element.base.attr_extensible.ops = @@ -392,21 +405,21 @@ -AXIS2_EXTERN woden_wsdl10_binding_msg_ref_t * AXIS2_CALL -woden_wsdl10_binding_msg_ref_to_element_extensible( +AXIS2_EXTERN woden_binding_msg_ref_t * AXIS2_CALL +woden_binding_msg_ref_to_element_extensible( void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_msg_ref) { - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) create(env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) create(env); } else - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) binding_msg_ref; - woden_wsdl10_binding_msg_ref_free_ops(binding_msg_ref, env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) binding_msg_ref; + woden_binding_msg_ref_free_ops(binding_msg_ref, env); binding_msg_ref_impl->binding_msg_ref.base.binding_msg_ref_element. base.documentable_element.wsdl_element.base.element_extensible.ops = @@ -420,20 +433,21 @@ /************************End of Woden C Internal Methods***********************/ -static woden_wsdl10_binding_msg_ref_t * +static woden_binding_msg_ref_t * create(const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); binding_msg_ref_impl = AXIS2_MALLOC(env->allocator, - sizeof(woden_wsdl10_binding_msg_ref_impl_t)); + sizeof(woden_binding_msg_ref_impl_t)); - binding_msg_ref_impl->obj_type= WODEN_WSDL10_BINDING_MSG_REF; + binding_msg_ref_impl->obj_type= WODEN_BINDING_MSG_REF; binding_msg_ref_impl->super = NULL; binding_msg_ref_impl->methods = NULL; binding_msg_ref_impl->f_direction = NULL; binding_msg_ref_impl->f_qname = NULL; + binding_msg_ref_impl->f_msg_label = NULL; binding_msg_ref_impl->f_interface_msg_ref = NULL; binding_msg_ref_impl->binding_msg_ref.base.binding_msg_ref_element.ops = NULL; @@ -455,19 +469,19 @@ binding_msg_ref_impl->binding_msg_ref.ops = AXIS2_MALLOC(env->allocator, - sizeof(woden_wsdl10_binding_msg_ref_ops_t)); + sizeof(woden_binding_msg_ref_ops_t)); - binding_msg_ref_impl->binding_msg_ref.ops->free = woden_wsdl10_binding_msg_ref_free; - binding_msg_ref_impl->binding_msg_ref.ops->super_objs = woden_wsdl10_binding_msg_ref_super_objs; - binding_msg_ref_impl->binding_msg_ref.ops->type = woden_wsdl10_binding_msg_ref_type; - binding_msg_ref_impl->binding_msg_ref.ops->get_base_impl = woden_wsdl10_binding_msg_ref_get_base_impl; + binding_msg_ref_impl->binding_msg_ref.ops->free = woden_binding_msg_ref_free; + binding_msg_ref_impl->binding_msg_ref.ops->super_objs = woden_binding_msg_ref_super_objs; + binding_msg_ref_impl->binding_msg_ref.ops->type = woden_binding_msg_ref_type; + binding_msg_ref_impl->binding_msg_ref.ops->get_base_impl = woden_binding_msg_ref_get_base_impl; binding_msg_ref_impl->binding_msg_ref.ops->get_interface_msg_ref = - woden_wsdl10_binding_msg_ref_get_interface_msg_ref; + woden_binding_msg_ref_get_interface_msg_ref; binding_msg_ref_impl->binding_msg_ref.ops->to_element = - woden_wsdl10_binding_msg_ref_to_element; + woden_binding_msg_ref_to_element; binding_msg_ref_impl->binding_msg_ref.ops->set_interface_msg_ref_element = - woden_wsdl10_binding_msg_ref_set_interface_msg_ref_element; + woden_binding_msg_ref_set_interface_msg_ref_element; binding_msg_ref_impl->methods = axis2_hash_make(env); if(!binding_msg_ref_impl->methods) @@ -476,45 +490,51 @@ return NULL; } axis2_hash_set(binding_msg_ref_impl->methods, "free", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_msg_ref_free); + woden_binding_msg_ref_free); axis2_hash_set(binding_msg_ref_impl->methods, "super_objs", - AXIS2_HASH_KEY_STRING, woden_wsdl10_binding_msg_ref_super_objs); + AXIS2_HASH_KEY_STRING, woden_binding_msg_ref_super_objs); axis2_hash_set(binding_msg_ref_impl->methods, "type", - AXIS2_HASH_KEY_STRING, woden_wsdl10_binding_msg_ref_type); + AXIS2_HASH_KEY_STRING, woden_binding_msg_ref_type); axis2_hash_set(binding_msg_ref_impl->methods, "get_interface_msg_ref", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_msg_ref_get_interface_msg_ref); + woden_binding_msg_ref_get_interface_msg_ref); axis2_hash_set(binding_msg_ref_impl->methods, "to_element", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_msg_ref_to_element); + woden_binding_msg_ref_to_element); axis2_hash_set(binding_msg_ref_impl->methods, "set_direction", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_msg_ref_set_direction); + woden_binding_msg_ref_set_direction); axis2_hash_set(binding_msg_ref_impl->methods, "get_direction", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_msg_ref_get_direction); + woden_binding_msg_ref_get_direction); axis2_hash_set(binding_msg_ref_impl->methods, "set_qname", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_msg_ref_set_qname); + woden_binding_msg_ref_set_qname); axis2_hash_set(binding_msg_ref_impl->methods, "get_qname", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_msg_ref_get_qname); + woden_binding_msg_ref_get_qname); axis2_hash_set(binding_msg_ref_impl->methods, "set_interface_msg_ref_element", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_msg_ref_set_interface_msg_ref_element); + woden_binding_msg_ref_set_interface_msg_ref_element); + axis2_hash_set(binding_msg_ref_impl->methods, "set_msg_label", + AXIS2_HASH_KEY_STRING, + woden_binding_msg_ref_set_msg_label); + axis2_hash_set(binding_msg_ref_impl->methods, "get_msg_label", + AXIS2_HASH_KEY_STRING, + woden_binding_msg_ref_get_msg_label); return &(binding_msg_ref_impl->binding_msg_ref); } -AXIS2_EXTERN woden_wsdl10_binding_msg_ref_t * AXIS2_CALL -woden_wsdl10_binding_msg_ref_create(const axis2_env_t *env) +AXIS2_EXTERN woden_binding_msg_ref_t * AXIS2_CALL +woden_binding_msg_ref_create(const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; void *configurable = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); - binding_msg_ref_impl = (woden_wsdl10_binding_msg_ref_impl_t *) create(env); + binding_msg_ref_impl = (woden_binding_msg_ref_impl_t *) create(env); binding_msg_ref_impl->nested_configurable = woden_nested_configurable_create(env); @@ -524,7 +544,7 @@ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); return NULL; } - axis2_hash_set(binding_msg_ref_impl->super, "WODEN_WSDL10_BINDING_MSG_REF", + axis2_hash_set(binding_msg_ref_impl->super, "WODEN_BINDING_MSG_REF", AXIS2_HASH_KEY_STRING, &(binding_msg_ref_impl->binding_msg_ref)); axis2_hash_set(binding_msg_ref_impl->super, "WODEN_NESTED_CONFIGURABLE", @@ -539,11 +559,11 @@ } static axis2_status_t -woden_wsdl10_binding_msg_ref_free_ops( +woden_binding_msg_ref_free_ops( void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); binding_msg_ref_impl = INTF_TO_IMPL(binding_msg_ref); @@ -652,10 +672,10 @@ axis2_status_t AXIS2_CALL -woden_wsdl10_binding_msg_ref_free(void *binding_msg_ref, +woden_binding_msg_ref_free(void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); binding_msg_ref_impl = INTF_TO_IMPL(binding_msg_ref); @@ -675,7 +695,7 @@ if(binding_msg_ref_impl->f_interface_msg_ref) { - WODEN_WSDL10_INTERFACE_MSG_REF_FREE(binding_msg_ref_impl->f_interface_msg_ref, env); + WODEN_INTERFACE_MSG_REF_FREE(binding_msg_ref_impl->f_interface_msg_ref, env); binding_msg_ref_impl->f_interface_msg_ref = NULL; } @@ -697,7 +717,7 @@ nested_configurable, env); binding_msg_ref_impl->nested_configurable = NULL; } - woden_wsdl10_binding_msg_ref_free_ops(binding_msg_ref, env); + woden_binding_msg_ref_free_ops(binding_msg_ref, env); if((&(binding_msg_ref_impl->binding_msg_ref))->ops) { @@ -714,11 +734,11 @@ } axis2_hash_t *AXIS2_CALL -woden_wsdl10_binding_msg_ref_super_objs( +woden_binding_msg_ref_super_objs( void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); binding_msg_ref_impl = INTF_TO_IMPL(binding_msg_ref); @@ -727,11 +747,11 @@ } woden_obj_types_t AXIS2_CALL -woden_wsdl10_binding_msg_ref_type( +woden_binding_msg_ref_type( void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); binding_msg_ref_impl = INTF_TO_IMPL(binding_msg_ref); @@ -740,11 +760,11 @@ } woden_nested_configurable_t *AXIS2_CALL -woden_wsdl10_binding_msg_ref_get_base_impl( +woden_binding_msg_ref_get_base_impl( void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; AXIS2_ENV_CHECK(env, NULL); binding_msg_ref_impl = INTF_TO_IMPL(binding_msg_ref); @@ -753,13 +773,13 @@ } axis2_status_t AXIS2_CALL -woden_wsdl10_binding_msg_ref_resolve_methods( - woden_wsdl10_binding_msg_ref_t *binding_msg_ref, +woden_binding_msg_ref_resolve_methods( + woden_binding_msg_ref_t *binding_msg_ref, const axis2_env_t *env, - woden_wsdl10_binding_msg_ref_t *binding_msg_ref_impl, + woden_binding_msg_ref_t *binding_msg_ref_impl, axis2_hash_t *methods) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl_l = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl_l = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE); @@ -798,33 +818,33 @@ * Binding Message Reference methods (the WSDL Component model) * ************************************************************/ void *AXIS2_CALL -woden_wsdl10_binding_msg_ref_get_interface_msg_ref( +woden_binding_msg_ref_get_interface_msg_ref( void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; axis2_hash_t *super = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); - super = WODEN_WSDL10_BINDING_MSG_REF_SUPER_OBJS(binding_msg_ref, env); + super = WODEN_BINDING_MSG_REF_SUPER_OBJS(binding_msg_ref, env); binding_msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_MSG_REF", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_MSG_REF", AXIS2_HASH_KEY_STRING)); return binding_msg_ref_impl->f_interface_msg_ref; } void *AXIS2_CALL -woden_wsdl10_binding_msg_ref_to_element( +woden_binding_msg_ref_to_element( void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; axis2_hash_t *super = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); - super = WODEN_WSDL10_BINDING_MSG_REF_SUPER_OBJS(binding_msg_ref, env); + super = WODEN_BINDING_MSG_REF_SUPER_OBJS(binding_msg_ref, env); binding_msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_MSG_REF", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_MSG_REF", AXIS2_HASH_KEY_STRING)); return &(binding_msg_ref_impl->binding_msg_ref); } @@ -835,19 +855,19 @@ axis2_status_t AXIS2_CALL -woden_wsdl10_binding_msg_ref_set_direction( +woden_binding_msg_ref_set_direction( void *binding_msg_ref, const axis2_env_t *env, void *dir) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; axis2_hash_t *super = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); AXIS2_PARAM_CHECK(env->error, dir, AXIS2_FAILURE); - super = WODEN_WSDL10_BINDING_MSG_REF_SUPER_OBJS(binding_msg_ref, env); + super = WODEN_BINDING_MSG_REF_SUPER_OBJS(binding_msg_ref, env); binding_msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_MSG_REF", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_MSG_REF", AXIS2_HASH_KEY_STRING)); if(!binding_msg_ref_impl->f_direction) { @@ -860,35 +880,35 @@ } void *AXIS2_CALL -woden_wsdl10_binding_msg_ref_get_direction( +woden_binding_msg_ref_get_direction( void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; axis2_hash_t *super = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); - super = WODEN_WSDL10_BINDING_MSG_REF_SUPER_OBJS(binding_msg_ref, env); + super = WODEN_BINDING_MSG_REF_SUPER_OBJS(binding_msg_ref, env); binding_msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_MSG_REF", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_MSG_REF", AXIS2_HASH_KEY_STRING)); return binding_msg_ref_impl->f_direction; } axis2_status_t AXIS2_CALL -woden_wsdl10_binding_msg_ref_set_qname( +woden_binding_msg_ref_set_qname( void *binding_msg_ref, const axis2_env_t *env, axis2_qname_t *qname) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; axis2_hash_t *super = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE); - super = WODEN_WSDL10_BINDING_MSG_REF_SUPER_OBJS(binding_msg_ref, env); + super = WODEN_BINDING_MSG_REF_SUPER_OBJS(binding_msg_ref, env); binding_msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_MSG_REF", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_MSG_REF", AXIS2_HASH_KEY_STRING)); if(binding_msg_ref_impl->f_qname) { @@ -902,39 +922,81 @@ } axis2_qname_t *AXIS2_CALL -woden_wsdl10_binding_msg_ref_get_qname( +woden_binding_msg_ref_get_qname( void *binding_msg_ref, const axis2_env_t *env) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; axis2_hash_t *super = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); - super = WODEN_WSDL10_BINDING_MSG_REF_SUPER_OBJS(binding_msg_ref, env); + super = WODEN_BINDING_MSG_REF_SUPER_OBJS(binding_msg_ref, env); binding_msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_MSG_REF", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_MSG_REF", AXIS2_HASH_KEY_STRING)); return binding_msg_ref_impl->f_qname; } +axis2_status_t AXIS2_CALL +woden_binding_msg_ref_set_msg_label( + void *binding_msg_ref, + const axis2_env_t *env, + void *msg_label) +{ + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + axis2_hash_t *super = NULL; + + AXIS2_ENV_CHECK(env, AXIS2_FAILURE); + AXIS2_PARAM_CHECK(env->error, msg_label, AXIS2_FAILURE); + super = WODEN_BINDING_MSG_REF_SUPER_OBJS(binding_msg_ref, env); + binding_msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super, + "WODEN_BINDING_MSG_REF", AXIS2_HASH_KEY_STRING)); + + if(!binding_msg_ref_impl->f_msg_label) + { + /* TODO */ + } + binding_msg_ref_impl->f_msg_label = msg_label; + + + return AXIS2_SUCCESS; +} + +void *AXIS2_CALL +woden_binding_msg_ref_get_msg_label( + void *binding_msg_ref, + const axis2_env_t *env) +{ + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + axis2_hash_t *super = NULL; + + AXIS2_ENV_CHECK(env, NULL); + super = WODEN_BINDING_MSG_REF_SUPER_OBJS(binding_msg_ref, env); + binding_msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super, + "WODEN_BINDING_MSG_REF", AXIS2_HASH_KEY_STRING)); + + return binding_msg_ref_impl->f_msg_label; +} + + /* ************************************************************ * Non-API implementation methods * ************************************************************/ axis2_status_t AXIS2_CALL -woden_wsdl10_binding_msg_ref_set_interface_msg_ref_element( +woden_binding_msg_ref_set_interface_msg_ref_element( void *binding_msg_ref, const axis2_env_t *env, void *int_msg_ref) { - woden_wsdl10_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; + woden_binding_msg_ref_impl_t *binding_msg_ref_impl = NULL; axis2_hash_t *super = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); AXIS2_PARAM_CHECK(env->error, int_msg_ref, AXIS2_FAILURE); - super = WODEN_WSDL10_BINDING_MSG_REF_SUPER_OBJS(binding_msg_ref, env); + super = WODEN_BINDING_MSG_REF_SUPER_OBJS(binding_msg_ref, env); binding_msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_MSG_REF", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_MSG_REF", AXIS2_HASH_KEY_STRING)); if(!binding_msg_ref_impl->f_interface_msg_ref) { Modified: webservices/axis2/trunk/c/woden/src/wsdl10/binding_op.c URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/binding_op.c?rev=419167&r1=419166&r2=419167&view=diff ============================================================================== --- webservices/axis2/trunk/c/woden/src/wsdl10/binding_op.c (original) +++ webservices/axis2/trunk/c/woden/src/wsdl10/binding_op.c Tue Jul 4 22:41:04 2006 @@ -15,7 +15,7 @@ */ #include -#include +#include #include #include #include @@ -24,15 +24,15 @@ #include #include -typedef struct woden_wsdl10_binding_op_impl woden_wsdl10_binding_op_impl_t; +typedef struct woden_binding_op_impl woden_binding_op_impl_t; /** * @brief Binding Operation Struct Impl * Axis2 Binding Operation */ -struct woden_wsdl10_binding_op_impl +struct woden_binding_op_impl { - woden_wsdl10_binding_op_t binding_op; + woden_binding_op_t binding_op; woden_nested_configurable_t *nested_configurable; woden_obj_types_t obj_type; axis2_hash_t *super; @@ -43,25 +43,25 @@ void *f_interface_op; }; -#define INTF_TO_IMPL(binding_op) ((woden_wsdl10_binding_op_impl_t *) binding_op) +#define INTF_TO_IMPL(binding_op) ((woden_binding_op_impl_t *) binding_op) axis2_status_t AXIS2_CALL -woden_wsdl10_binding_op_free( +woden_binding_op_free( void *binding_op, const axis2_env_t *env); axis2_hash_t *AXIS2_CALL -woden_wsdl10_binding_op_super_objs( +woden_binding_op_super_objs( void *binding_op, const axis2_env_t *env); woden_obj_types_t AXIS2_CALL -woden_wsdl10_binding_op_type( +woden_binding_op_type( void *binding_op, const axis2_env_t *env); woden_nested_configurable_t *AXIS2_CALL -woden_wsdl10_binding_op_get_base_impl( +woden_binding_op_get_base_impl( void *binding_op, const axis2_env_t *env); /* ************************************************************ @@ -69,22 +69,22 @@ * ************************************************************/ axis2_array_list_t *AXIS2_CALL -woden_wsdl10_binding_op_get_binding_msg_refs( +woden_binding_op_get_binding_msg_refs( void *binding_op, const axis2_env_t *env); axis2_array_list_t *AXIS2_CALL -woden_wsdl10_binding_op_get_binding_fault_refs( +woden_binding_op_get_binding_fault_refs( void *binding_op, const axis2_env_t *env); void *AXIS2_CALL -woden_wsdl10_binding_op_to_element( +woden_binding_op_to_element( void *binding_op, const axis2_env_t *env); void *AXIS2_CALL -woden_wsdl10_binding_op_get_interface_op( +woden_binding_op_get_interface_op( void *binding_op, const axis2_env_t *env); /* ************************************************************ @@ -92,53 +92,53 @@ * ************************************************************/ axis2_status_t AXIS2_CALL -woden_wsdl10_binding_op_set_qname( +woden_binding_op_set_ref( void *binding_op, const axis2_env_t *env, axis2_qname_t *qname); axis2_qname_t *AXIS2_CALL -woden_wsdl10_binding_op_get_qname( +woden_binding_op_get_ref( void *binding_op, const axis2_env_t *env); void *AXIS2_CALL -woden_wsdl10_binding_op_get_interface_op_element( +woden_binding_op_get_interface_op_element( void *binding_op, const axis2_env_t *env); axis2_status_t AXIS2_CALL -woden_wsdl10_binding_op_add_binding_msg_ref_element( +woden_binding_op_add_binding_msg_ref_element( void *binding_op, const axis2_env_t *env, void *msg_ref); axis2_status_t AXIS2_CALL -woden_wsdl10_binding_op_remove_binding_msg_ref_element( +woden_binding_op_remove_binding_msg_ref_element( void *binding_op, const axis2_env_t *env, void *msg_ref); axis2_array_list_t *AXIS2_CALL -woden_wsdl10_binding_op_get_binding_msg_ref_elements( +woden_binding_op_get_binding_msg_ref_elements( void *binding_op, const axis2_env_t *env); axis2_status_t AXIS2_CALL -woden_wsdl10_binding_op_add_binding_fault_ref_element( +woden_binding_op_add_binding_fault_ref_element( void *binding_op, const axis2_env_t *env, void *fault_ref); axis2_status_t AXIS2_CALL -woden_wsdl10_binding_op_remove_binding_fault_ref_element( +woden_binding_op_remove_binding_fault_ref_element( void *binding_op, const axis2_env_t *env, void *fault_ref); axis2_array_list_t *AXIS2_CALL -woden_wsdl10_binding_op_get_binding_fault_ref_elements( +woden_binding_op_get_binding_fault_ref_elements( void *binding_op, const axis2_env_t *env); @@ -147,59 +147,59 @@ * ************************************************************/ axis2_status_t AXIS2_CALL -woden_wsdl10_binding_op_set_interface_op_element( +woden_binding_op_set_interface_op_element( void *binding_op, const axis2_env_t *env, void *int_op); -static woden_wsdl10_binding_op_t * +static woden_binding_op_t * create(const axis2_env_t *env); static axis2_status_t -woden_wsdl10_binding_op_free_ops( +woden_binding_op_free_ops( void *binding_op, const axis2_env_t *env); /************************Woden C Internal Methods******************************/ -AXIS2_EXTERN woden_wsdl10_binding_op_t * AXIS2_CALL -woden_wsdl10_binding_op_to_binding_op_element( +AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL +woden_binding_op_to_binding_op_element( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_op) { - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) create(env); + binding_op_impl = (woden_binding_op_impl_t *) create(env); } else - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) binding_op; - woden_wsdl10_binding_op_free_ops(binding_op, env); + binding_op_impl = (woden_binding_op_impl_t *) binding_op; + woden_binding_op_free_ops(binding_op, env); binding_op_impl->binding_op.base.binding_op_element.ops = AXIS2_MALLOC(env->allocator, - sizeof(woden_wsdl10_binding_op_element_ops_t)); - woden_wsdl10_binding_op_element_resolve_methods(&(binding_op_impl->binding_op.base. + sizeof(woden_binding_op_element_ops_t)); + woden_binding_op_element_resolve_methods(&(binding_op_impl->binding_op.base. binding_op_element), env, binding_op_impl->methods); return binding_op; } -AXIS2_EXTERN woden_wsdl10_binding_op_t * AXIS2_CALL -woden_wsdl10_binding_op_to_nested_configurable( +AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL +woden_binding_op_to_nested_configurable( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_op) { - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) create(env); + binding_op_impl = (woden_binding_op_impl_t *) create(env); } else - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) binding_op; - woden_wsdl10_binding_op_free_ops(binding_op, env); + binding_op_impl = (woden_binding_op_impl_t *) binding_op; + woden_binding_op_free_ops(binding_op, env); binding_op_impl->binding_op.base.nested_configurable.ops = AXIS2_MALLOC(env->allocator, @@ -210,22 +210,22 @@ return binding_op; } -AXIS2_EXTERN woden_wsdl10_binding_op_t * AXIS2_CALL -woden_wsdl10_binding_op_to_configurable( +AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL +woden_binding_op_to_configurable( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; void *configurable = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_op) { - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) create(env); + binding_op_impl = (woden_binding_op_impl_t *) create(env); } else - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) binding_op; - woden_wsdl10_binding_op_free_ops(binding_op, env); + binding_op_impl = (woden_binding_op_impl_t *) binding_op; + woden_binding_op_free_ops(binding_op, env); binding_op_impl->binding_op.base.nested_configurable.base.configurable.ops = AXIS2_MALLOC(env->allocator, @@ -237,12 +237,12 @@ return binding_op; } -AXIS2_EXTERN woden_wsdl10_binding_op_t * AXIS2_CALL -woden_wsdl10_binding_op_to_wsdl_obj( +AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL +woden_binding_op_to_wsdl_obj( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; void *configurable = NULL; void *documentable = NULL; void *wsdl_obj = NULL; @@ -250,11 +250,11 @@ AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_op) { - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) create(env); + binding_op_impl = (woden_binding_op_impl_t *) create(env); } else - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) binding_op; - woden_wsdl10_binding_op_free_ops(binding_op, env); + binding_op_impl = (woden_binding_op_impl_t *) binding_op; + woden_binding_op_free_ops(binding_op, env); binding_op_impl->binding_op.base.nested_configurable.base.configurable. base.documentable.base.wsdl_obj.ops = AXIS2_MALLOC(env->allocator, @@ -271,21 +271,21 @@ return binding_op; } -AXIS2_EXTERN woden_wsdl10_binding_op_t * AXIS2_CALL -woden_wsdl10_binding_op_to_nested_element( +AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL +woden_binding_op_to_nested_element( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_op) { - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) create(env); + binding_op_impl = (woden_binding_op_impl_t *) create(env); } else - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) binding_op; - woden_wsdl10_binding_op_free_ops(binding_op, env); + binding_op_impl = (woden_binding_op_impl_t *) binding_op; + woden_binding_op_free_ops(binding_op, env); binding_op_impl->binding_op.base.nested_configurable.base. nested_element.ops = AXIS2_MALLOC(env->allocator, @@ -296,21 +296,21 @@ return binding_op; } -AXIS2_EXTERN woden_wsdl10_binding_op_t * AXIS2_CALL -woden_wsdl10_binding_op_to_wsdl_component( +AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL +woden_binding_op_to_wsdl_component( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_op) { - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) create(env); + binding_op_impl = (woden_binding_op_impl_t *) create(env); } else - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) binding_op; - woden_wsdl10_binding_op_free_ops(binding_op, env); + binding_op_impl = (woden_binding_op_impl_t *) binding_op; + woden_binding_op_free_ops(binding_op, env); binding_op_impl->binding_op.base.nested_configurable.base. nested_component.wsdl_component.ops = AXIS2_MALLOC(env->allocator, @@ -321,22 +321,22 @@ return binding_op; } -AXIS2_EXTERN woden_wsdl10_binding_op_t * AXIS2_CALL -woden_wsdl10_binding_op_to_configurable_element( +AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL +woden_binding_op_to_configurable_element( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_op) { - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) create(env); + binding_op_impl = (woden_binding_op_impl_t *) create(env); } else - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) binding_op; + binding_op_impl = (woden_binding_op_impl_t *) binding_op; - woden_wsdl10_binding_op_free_ops(binding_op, env); + woden_binding_op_free_ops(binding_op, env); binding_op_impl->binding_op.base.binding_op_element.base.configurable_element.ops = AXIS2_MALLOC(env->allocator, @@ -347,22 +347,22 @@ } -AXIS2_EXTERN woden_wsdl10_binding_op_t * AXIS2_CALL -woden_wsdl10_binding_op_to_documentable_element( +AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL +woden_binding_op_to_documentable_element( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_op) { - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) create(env); + binding_op_impl = (woden_binding_op_impl_t *) create(env); } else - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) binding_op; + binding_op_impl = (woden_binding_op_impl_t *) binding_op; - woden_wsdl10_binding_op_free_ops(binding_op, env); + woden_binding_op_free_ops(binding_op, env); binding_op_impl->binding_op.base.binding_op_element.base.documentable_element.ops = AXIS2_MALLOC(env->allocator, @@ -373,22 +373,22 @@ return binding_op; } -AXIS2_EXTERN woden_wsdl10_binding_op_t * AXIS2_CALL -woden_wsdl10_binding_op_to_documentable( +AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL +woden_binding_op_to_documentable( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_op) { - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) create(env); + binding_op_impl = (woden_binding_op_impl_t *) create(env); } else - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) binding_op; + binding_op_impl = (woden_binding_op_impl_t *) binding_op; - woden_wsdl10_binding_op_free_ops(binding_op, env); + woden_binding_op_free_ops(binding_op, env); binding_op_impl->binding_op.base.nested_configurable.base. configurable.base.documentable.ops = AXIS2_MALLOC(env->allocator, @@ -401,12 +401,12 @@ -AXIS2_EXTERN woden_wsdl10_binding_op_t * AXIS2_CALL -woden_wsdl10_binding_op_to_attr_extensible( +AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL +woden_binding_op_to_attr_extensible( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; void *configurable = NULL; void *documentable = NULL; void *wsdl_obj = NULL; @@ -416,11 +416,11 @@ AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_op) { - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) create(env); + binding_op_impl = (woden_binding_op_impl_t *) create(env); } else - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) binding_op; - woden_wsdl10_binding_op_free_ops(binding_op, env); + binding_op_impl = (woden_binding_op_impl_t *) binding_op; + woden_binding_op_free_ops(binding_op, env); binding_op_impl->binding_op.base.binding_op_element. base.documentable_element.wsdl_element.base.attr_extensible.ops = @@ -440,12 +440,12 @@ return binding_op; } -AXIS2_EXTERN woden_wsdl10_binding_op_t * AXIS2_CALL -woden_wsdl10_binding_op_to_element_extensible( +AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL +woden_binding_op_to_element_extensible( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; void *configurable = NULL; void *documentable = NULL; void *wsdl_obj = NULL; @@ -455,11 +455,11 @@ AXIS2_ENV_CHECK(env, AXIS2_FAILURE); if(!binding_op) { - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) create(env); + binding_op_impl = (woden_binding_op_impl_t *) create(env); } else - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) binding_op; - woden_wsdl10_binding_op_free_ops(binding_op, env); + binding_op_impl = (woden_binding_op_impl_t *) binding_op; + woden_binding_op_free_ops(binding_op, env); binding_op_impl->binding_op.base.binding_op_element. base.documentable_element.wsdl_element.base.element_extensible.ops = @@ -480,16 +480,16 @@ /************************End of Woden C Internal Methods***********************/ -static woden_wsdl10_binding_op_t * +static woden_binding_op_t * create(const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); binding_op_impl = AXIS2_MALLOC(env->allocator, - sizeof(woden_wsdl10_binding_op_impl_t)); + sizeof(woden_binding_op_impl_t)); - binding_op_impl->obj_type= WODEN_WSDL10_BINDING_OP; + binding_op_impl->obj_type= WODEN_BINDING_OP; binding_op_impl->super = NULL; binding_op_impl->methods = NULL; binding_op_impl->f_qname = NULL; @@ -515,21 +515,21 @@ documentable_element.wsdl_element.base.element_extensible.ops = NULL; binding_op_impl->binding_op.ops = AXIS2_MALLOC(env->allocator, - sizeof(woden_wsdl10_binding_op_ops_t)); + sizeof(woden_binding_op_ops_t)); - binding_op_impl->binding_op.ops->free = woden_wsdl10_binding_op_free; - binding_op_impl->binding_op.ops->super_objs = woden_wsdl10_binding_op_super_objs; - binding_op_impl->binding_op.ops->type = woden_wsdl10_binding_op_type; - binding_op_impl->binding_op.ops->get_base_impl = woden_wsdl10_binding_op_get_base_impl; + binding_op_impl->binding_op.ops->free = woden_binding_op_free; + binding_op_impl->binding_op.ops->super_objs = woden_binding_op_super_objs; + binding_op_impl->binding_op.ops->type = woden_binding_op_type; + binding_op_impl->binding_op.ops->get_base_impl = woden_binding_op_get_base_impl; binding_op_impl->binding_op.ops->get_binding_msg_refs = - woden_wsdl10_binding_op_get_binding_msg_refs; + woden_binding_op_get_binding_msg_refs; binding_op_impl->binding_op.ops->get_binding_fault_refs = - woden_wsdl10_binding_op_get_binding_fault_refs; + woden_binding_op_get_binding_fault_refs; binding_op_impl->binding_op.ops->to_element = - woden_wsdl10_binding_op_to_element; + woden_binding_op_to_element; binding_op_impl->binding_op.ops->set_interface_op_element = - woden_wsdl10_binding_op_set_interface_op_element; + woden_binding_op_set_interface_op_element; binding_op_impl->methods = axis2_hash_make(env); if(!binding_op_impl->methods) @@ -538,62 +538,62 @@ return NULL; } axis2_hash_set(binding_op_impl->methods, "free", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_op_free); + woden_binding_op_free); axis2_hash_set(binding_op_impl->methods, "super_objs", - AXIS2_HASH_KEY_STRING, woden_wsdl10_binding_op_super_objs); + AXIS2_HASH_KEY_STRING, woden_binding_op_super_objs); axis2_hash_set(binding_op_impl->methods, "type", - AXIS2_HASH_KEY_STRING, woden_wsdl10_binding_op_type); + AXIS2_HASH_KEY_STRING, woden_binding_op_type); axis2_hash_set(binding_op_impl->methods, "get_interface_op", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_op_get_interface_op); + woden_binding_op_get_interface_op); axis2_hash_set(binding_op_impl->methods, "get_binding_msg_refs", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_op_get_binding_msg_refs); + woden_binding_op_get_binding_msg_refs); axis2_hash_set(binding_op_impl->methods, "get_binding_fault_refs", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_op_get_binding_fault_refs); + woden_binding_op_get_binding_fault_refs); axis2_hash_set(binding_op_impl->methods, "to_element", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_op_to_element); - axis2_hash_set(binding_op_impl->methods, "set_qname", + woden_binding_op_to_element); + axis2_hash_set(binding_op_impl->methods, "set_ref", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_op_set_qname); - axis2_hash_set(binding_op_impl->methods, "get_qname", + woden_binding_op_set_ref); + axis2_hash_set(binding_op_impl->methods, "get_ref", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_op_get_qname); + woden_binding_op_get_ref); axis2_hash_set(binding_op_impl->methods, "get_interface_op_element", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_op_get_interface_op_element); + woden_binding_op_get_interface_op_element); axis2_hash_set(binding_op_impl->methods, "add_binding_msg_ref_element", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_op_add_binding_msg_ref_element); + woden_binding_op_add_binding_msg_ref_element); axis2_hash_set(binding_op_impl->methods, "remove_binding_msg_ref_element", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_op_remove_binding_msg_ref_element); + woden_binding_op_remove_binding_msg_ref_element); axis2_hash_set(binding_op_impl->methods, "get_binding_msg_ref_elements", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_op_get_binding_msg_ref_elements); + woden_binding_op_get_binding_msg_ref_elements); axis2_hash_set(binding_op_impl->methods, "add_binding_fault_ref_element", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_op_add_binding_fault_ref_element); + woden_binding_op_add_binding_fault_ref_element); axis2_hash_set(binding_op_impl->methods, "remove_binding_fault_ref_element", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_op_remove_binding_fault_ref_element); + woden_binding_op_remove_binding_fault_ref_element); axis2_hash_set(binding_op_impl->methods, "get_binding_fault_ref_elements", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_op_get_binding_fault_ref_elements); + woden_binding_op_get_binding_fault_ref_elements); axis2_hash_set(binding_op_impl->methods, "set_interface_op_element", AXIS2_HASH_KEY_STRING, - woden_wsdl10_binding_op_set_interface_op_element); + woden_binding_op_set_interface_op_element); return &(binding_op_impl->binding_op); } -AXIS2_EXTERN woden_wsdl10_binding_op_t * AXIS2_CALL -woden_wsdl10_binding_op_create(const axis2_env_t *env) +AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL +woden_binding_op_create(const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; void *configurable = NULL; void *documentable = NULL; void *wsdl_obj = NULL; @@ -602,7 +602,7 @@ void *attr_extensible = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); - binding_op_impl = (woden_wsdl10_binding_op_impl_t *) create(env); + binding_op_impl = (woden_binding_op_impl_t *) create(env); binding_op_impl->nested_configurable = woden_nested_configurable_create(env); @@ -612,7 +612,7 @@ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE); return NULL; } - axis2_hash_set(binding_op_impl->super, "WODEN_WSDL10_BINDING_OP", + axis2_hash_set(binding_op_impl->super, "WODEN_BINDING_OP", AXIS2_HASH_KEY_STRING, &(binding_op_impl->binding_op)); axis2_hash_set(binding_op_impl->super, "WODEN_NESTED_CONFIGURABLE", @@ -643,11 +643,11 @@ } static axis2_status_t -woden_wsdl10_binding_op_free_ops( +woden_binding_op_free_ops( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); binding_op_impl = INTF_TO_IMPL(binding_op); @@ -757,10 +757,10 @@ axis2_status_t AXIS2_CALL -woden_wsdl10_binding_op_free(void *binding_op, +woden_binding_op_free(void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); binding_op_impl = INTF_TO_IMPL(binding_op); @@ -807,7 +807,7 @@ nested_configurable, env); binding_op_impl->nested_configurable = NULL; } - woden_wsdl10_binding_op_free_ops(binding_op, env); + woden_binding_op_free_ops(binding_op, env); if((&(binding_op_impl->binding_op))->ops) { @@ -824,11 +824,11 @@ } axis2_hash_t *AXIS2_CALL -woden_wsdl10_binding_op_super_objs( +woden_binding_op_super_objs( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); binding_op_impl = INTF_TO_IMPL(binding_op); @@ -837,11 +837,11 @@ } woden_obj_types_t AXIS2_CALL -woden_wsdl10_binding_op_type( +woden_binding_op_type( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); binding_op_impl = INTF_TO_IMPL(binding_op); @@ -850,11 +850,11 @@ } woden_nested_configurable_t *AXIS2_CALL -woden_wsdl10_binding_op_get_base_impl( +woden_binding_op_get_base_impl( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; AXIS2_ENV_CHECK(env, NULL); binding_op_impl = INTF_TO_IMPL(binding_op); @@ -863,13 +863,13 @@ } axis2_status_t AXIS2_CALL -woden_wsdl10_binding_op_resolve_methods( - woden_wsdl10_binding_op_t *binding_op, +woden_binding_op_resolve_methods( + woden_binding_op_t *binding_op, const axis2_env_t *env, - woden_wsdl10_binding_op_t *binding_op_impl, + woden_binding_op_t *binding_op_impl, axis2_hash_t *methods) { - woden_wsdl10_binding_op_impl_t *binding_op_impl_l = NULL; + woden_binding_op_impl_t *binding_op_impl_l = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE); @@ -925,65 +925,65 @@ * ************************************************************/ axis2_array_list_t *AXIS2_CALL -woden_wsdl10_binding_op_get_binding_msg_refs( +woden_binding_op_get_binding_msg_refs( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; axis2_hash_t *super = NULL; AXIS2_ENV_CHECK(env, NULL); - super = WODEN_WSDL10_BINDING_OP_SUPER_OBJS(binding_op, env); + super = WODEN_BINDING_OP_SUPER_OBJS(binding_op, env); binding_op_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_OP", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_OP", AXIS2_HASH_KEY_STRING)); return binding_op_impl->f_msg_refs; } axis2_array_list_t *AXIS2_CALL -woden_wsdl10_binding_op_get_binding_fault_refs( +woden_binding_op_get_binding_fault_refs( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; axis2_hash_t *super = NULL; AXIS2_ENV_CHECK(env, NULL); - super = WODEN_WSDL10_BINDING_OP_SUPER_OBJS(binding_op, env); + super = WODEN_BINDING_OP_SUPER_OBJS(binding_op, env); binding_op_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_OP", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_OP", AXIS2_HASH_KEY_STRING)); return binding_op_impl->f_fault_refs; } void *AXIS2_CALL -woden_wsdl10_binding_op_to_element( +woden_binding_op_to_element( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; axis2_hash_t *super = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); - super = WODEN_WSDL10_BINDING_OP_SUPER_OBJS(binding_op, env); + super = WODEN_BINDING_OP_SUPER_OBJS(binding_op, env); binding_op_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_OP", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_OP", AXIS2_HASH_KEY_STRING)); return &(binding_op_impl->binding_op); } void *AXIS2_CALL -woden_wsdl10_binding_op_get_interface_op( +woden_binding_op_get_interface_op( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; axis2_hash_t *super = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); - super = WODEN_WSDL10_BINDING_OP_SUPER_OBJS(binding_op, env); + super = WODEN_BINDING_OP_SUPER_OBJS(binding_op, env); binding_op_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_OP", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_OP", AXIS2_HASH_KEY_STRING)); return binding_op_impl->f_interface_op; } @@ -992,19 +992,19 @@ * ************************************************************/ axis2_status_t AXIS2_CALL -woden_wsdl10_binding_op_set_qname( +woden_binding_op_set_ref( void *binding_op, const axis2_env_t *env, axis2_qname_t *qname) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; axis2_hash_t *super = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE); - super = WODEN_WSDL10_BINDING_OP_SUPER_OBJS(binding_op, env); + super = WODEN_BINDING_OP_SUPER_OBJS(binding_op, env); binding_op_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_OP", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_OP", AXIS2_HASH_KEY_STRING)); if(binding_op_impl->f_qname) { @@ -1017,52 +1017,52 @@ } axis2_qname_t *AXIS2_CALL -woden_wsdl10_binding_op_get_qname( +woden_binding_op_get_ref( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; axis2_hash_t *super = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); - super = WODEN_WSDL10_BINDING_OP_SUPER_OBJS(binding_op, env); + super = WODEN_BINDING_OP_SUPER_OBJS(binding_op, env); binding_op_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_OP", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_OP", AXIS2_HASH_KEY_STRING)); return binding_op_impl->f_qname; } void *AXIS2_CALL -woden_wsdl10_binding_op_get_interface_op_element( +woden_binding_op_get_interface_op_element( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; axis2_hash_t *super = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); - super = WODEN_WSDL10_BINDING_OP_SUPER_OBJS(binding_op, env); + super = WODEN_BINDING_OP_SUPER_OBJS(binding_op, env); binding_op_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_OP", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_OP", AXIS2_HASH_KEY_STRING)); return binding_op_impl->f_interface_op; } axis2_status_t AXIS2_CALL -woden_wsdl10_binding_op_add_binding_msg_ref_element( +woden_binding_op_add_binding_msg_ref_element( void *binding_op, const axis2_env_t *env, void *msg_ref) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; axis2_hash_t *super = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); AXIS2_PARAM_CHECK(env->error, msg_ref, AXIS2_FAILURE); - super = WODEN_WSDL10_BINDING_OP_SUPER_OBJS(binding_op, env); + super = WODEN_BINDING_OP_SUPER_OBJS(binding_op, env); binding_op_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_OP", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_OP", AXIS2_HASH_KEY_STRING)); if(!binding_op_impl->f_msg_refs) { @@ -1079,20 +1079,20 @@ } axis2_status_t AXIS2_CALL -woden_wsdl10_binding_op_remove_binding_msg_ref_element( +woden_binding_op_remove_binding_msg_ref_element( void *binding_op, const axis2_env_t *env, void *msg_ref) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; axis2_hash_t *super = NULL; int index = 0; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); AXIS2_PARAM_CHECK(env->error, msg_ref, AXIS2_FAILURE); - super = WODEN_WSDL10_BINDING_OP_SUPER_OBJS(binding_op, env); + super = WODEN_BINDING_OP_SUPER_OBJS(binding_op, env); binding_op_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_OP", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_OP", AXIS2_HASH_KEY_STRING)); index = AXIS2_ARRAY_LIST_INDEX_OF(binding_op_impl->f_msg_refs, env, msg_ref); AXIS2_ARRAY_LIST_REMOVE(binding_op_impl->f_msg_refs, env, index); @@ -1101,35 +1101,35 @@ axis2_array_list_t *AXIS2_CALL -woden_wsdl10_binding_op_get_binding_msg_ref_elements( +woden_binding_op_get_binding_msg_ref_elements( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; axis2_hash_t *super = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); - super = WODEN_WSDL10_BINDING_OP_SUPER_OBJS(binding_op, env); + super = WODEN_BINDING_OP_SUPER_OBJS(binding_op, env); binding_op_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_OP", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_OP", AXIS2_HASH_KEY_STRING)); return binding_op_impl->f_msg_refs; } axis2_status_t AXIS2_CALL -woden_wsdl10_binding_op_add_binding_fault_ref_element( +woden_binding_op_add_binding_fault_ref_element( void *binding_op, const axis2_env_t *env, void *fault_ref) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; axis2_hash_t *super = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); AXIS2_PARAM_CHECK(env->error, fault_ref, AXIS2_FAILURE); - super = WODEN_WSDL10_BINDING_OP_SUPER_OBJS(binding_op, env); + super = WODEN_BINDING_OP_SUPER_OBJS(binding_op, env); binding_op_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_OP", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_OP", AXIS2_HASH_KEY_STRING)); if(!binding_op_impl->f_fault_refs) { @@ -1146,20 +1146,20 @@ } axis2_status_t AXIS2_CALL -woden_wsdl10_binding_op_remove_binding_fault_ref_element( +woden_binding_op_remove_binding_fault_ref_element( void *binding_op, const axis2_env_t *env, void *fault_ref) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; axis2_hash_t *super = NULL; int index = 0; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); AXIS2_PARAM_CHECK(env->error, fault_ref, AXIS2_FAILURE); - super = WODEN_WSDL10_BINDING_OP_SUPER_OBJS(binding_op, env); + super = WODEN_BINDING_OP_SUPER_OBJS(binding_op, env); binding_op_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_OP", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_OP", AXIS2_HASH_KEY_STRING)); index = AXIS2_ARRAY_LIST_INDEX_OF(binding_op_impl->f_fault_refs, env, fault_ref); AXIS2_ARRAY_LIST_REMOVE(binding_op_impl->f_fault_refs, env, index); @@ -1168,17 +1168,17 @@ axis2_array_list_t *AXIS2_CALL -woden_wsdl10_binding_op_get_binding_fault_ref_elements( +woden_binding_op_get_binding_fault_ref_elements( void *binding_op, const axis2_env_t *env) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; axis2_hash_t *super = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); - super = WODEN_WSDL10_BINDING_OP_SUPER_OBJS(binding_op, env); + super = WODEN_BINDING_OP_SUPER_OBJS(binding_op, env); binding_op_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_OP", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_OP", AXIS2_HASH_KEY_STRING)); return binding_op_impl->f_fault_refs; } @@ -1190,19 +1190,19 @@ * ************************************************************/ axis2_status_t AXIS2_CALL -woden_wsdl10_binding_op_set_interface_op_element( +woden_binding_op_set_interface_op_element( void *binding_op, const axis2_env_t *env, void *int_op) { - woden_wsdl10_binding_op_impl_t *binding_op_impl = NULL; + woden_binding_op_impl_t *binding_op_impl = NULL; axis2_hash_t *super = NULL; AXIS2_ENV_CHECK(env, AXIS2_FAILURE); AXIS2_PARAM_CHECK(env->error, int_op, AXIS2_FAILURE); - super = WODEN_WSDL10_BINDING_OP_SUPER_OBJS(binding_op, env); + super = WODEN_BINDING_OP_SUPER_OBJS(binding_op, env); binding_op_impl = INTF_TO_IMPL(axis2_hash_get(super, - "WODEN_WSDL10_BINDING_OP", AXIS2_HASH_KEY_STRING)); + "WODEN_BINDING_OP", AXIS2_HASH_KEY_STRING)); if(binding_op_impl->f_interface_op) { --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org