You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2006/07/06 08:02:31 UTC
svn commit: r419452 [20/46] - in /webservices/axis2/trunk/c/woden: ./
include/ samples/ samples/wsdl10/ src/ src/builder/ src/builder/wsdl10/
src/schema/ src/types/ src/util/ src/wsdl/ src/wsdl/enumeration/
src/wsdl10/ src/wsdl10/enumeration/ src/wsdl1...
Added: webservices/axis2/trunk/c/woden/src/wsdl/interface.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl/interface.c?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl/interface.c (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl/interface.c Wed Jul 5 23:02:19 2006
@@ -0,0 +1,1039 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <woden_wsdl_obj.h>
+#include <woden_interface.h>
+#include <woden_ext_element.h>
+#include <woden_component_exts.h>
+#include <woden_xml_attr.h>
+#include <woden_documentation_element.h>
+#include <woden_interface_fault.h>
+
+typedef struct woden_interface_impl woden_interface_impl_t;
+
+/**
+ * @brief Interface Struct Impl
+ * Axis2 Interface
+ */
+struct woden_interface_impl
+{
+ woden_interface_t interface;
+ woden_configurable_t *configurable;
+ woden_obj_types_t obj_type;
+ axis2_hash_t *super;
+ axis2_hash_t *methods;
+ axis2_array_list_t *f_extended_interfaces;
+ axis2_qname_t *f_qname;
+ axis2_array_list_t *f_extends_qnames;
+ axis2_array_list_t *f_style_default;
+ axis2_array_list_t *f_interface_fault_elements;
+ axis2_array_list_t *f_interface_op_elements;
+};
+
+#define INTF_TO_IMPL(interface) ((woden_interface_impl_t *) interface)
+
+axis2_status_t AXIS2_CALL
+woden_interface_free(
+ void *interface,
+ const axis2_env_t *env);
+
+axis2_hash_t *AXIS2_CALL
+woden_interface_super_objs(
+ void *interface,
+ const axis2_env_t *env);
+
+woden_obj_types_t AXIS2_CALL
+woden_interface_type(
+ void *interface,
+ const axis2_env_t *env);
+
+woden_configurable_t *AXIS2_CALL
+woden_interface_get_base_impl(
+ void *interface,
+ const axis2_env_t *env);
+
+/* ************************************************************
+ * Interface interface methods (the WSDL Component model)
+ * ************************************************************/
+axis2_qname_t *AXIS2_CALL
+woden_interface_get_qname(
+ void *interface,
+ const axis2_env_t *env);
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_get_extended_interfaces(
+ void *interface,
+ const axis2_env_t *env);
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_get_interface_faults(
+ void *interface,
+ const axis2_env_t *env);
+
+void *AXIS2_CALL
+woden_interface_get_interface_fault(
+ void *interface,
+ const axis2_env_t *env,
+ axis2_qname_t *qname);
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_get_interface_ops(
+ void *interface,
+ const axis2_env_t *env);
+
+void *AXIS2_CALL
+woden_interface_to_element(
+ void *interface,
+ const axis2_env_t *env);
+
+/* ************************************************************
+ * InterfaceElement interface methods (the XML Element model)
+ * ************************************************************/
+axis2_status_t AXIS2_CALL
+woden_interface_set_qname(
+ void *interface,
+ const axis2_env_t *env,
+ axis2_qname_t *qname);
+
+axis2_status_t AXIS2_CALL
+woden_interface_add_style_default_uri(
+ void *interface,
+ const axis2_env_t *env,
+ axis2_uri_t *uri);
+
+void *AXIS2_CALL
+woden_interface_get_style_default(
+ void *interface,
+ const axis2_env_t *env);
+
+axis2_status_t AXIS2_CALL
+woden_interface_add_extended_qname(
+ void *interface,
+ const axis2_env_t *env,
+ woden_wsdl_element_t *qname);
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_get_extends_qnames(
+ void *interface,
+ const axis2_env_t *env);
+
+axis2_status_t AXIS2_CALL
+woden_interface_add_interface_fault_element(
+ void *interface,
+ const axis2_env_t *env,
+ void *fault);
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_get_interface_fault_elements(
+ void *interface,
+ const axis2_env_t *env);
+
+axis2_status_t AXIS2_CALL
+woden_interface_add_interface_op_element(
+ void *interface,
+ const axis2_env_t *env,
+ void *op);
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_get_interface_op_elements(
+ void *interface,
+ const axis2_env_t *env);
+
+axis2_status_t AXIS2_CALL
+woden_interface_add_extended_interface(
+ void *interface,
+ const axis2_env_t *env,
+ void *extended_interface);
+
+
+static woden_interface_t *
+create(const axis2_env_t *env);
+
+static axis2_status_t
+woden_interface_free_ops(
+ void *interface,
+ const axis2_env_t *env);
+
+/************************Woden C Internal Methods******************************/
+AXIS2_EXTERN woden_interface_t * AXIS2_CALL
+woden_interface_to_interface_element(
+ void *interface,
+ const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ if(!interface)
+ {
+ interface_impl = (woden_interface_impl_t *) create(env);
+ }
+ else
+ interface_impl = (woden_interface_impl_t *) interface;
+
+ woden_interface_free_ops(interface, env);
+
+ interface_impl->interface.base.interface_element.ops =
+ AXIS2_MALLOC(env->allocator,
+ sizeof(woden_interface_element_ops_t));
+ woden_interface_element_resolve_methods(&(interface_impl->interface.base.
+ interface_element), env, interface_impl->methods);
+ return interface;
+}
+
+AXIS2_EXTERN woden_interface_t * AXIS2_CALL
+woden_interface_to_documentable(
+ void *interface,
+ const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ if(!interface)
+ {
+ interface_impl = (woden_interface_impl_t *) create(env);
+ }
+ else
+ interface_impl = (woden_interface_impl_t *) interface;
+
+ woden_interface_free_ops(interface, env);
+
+ interface_impl->interface.base.configurable.base.documentable.ops =
+ AXIS2_MALLOC(env->allocator,
+ sizeof(woden_documentable_ops_t));
+ woden_documentable_resolve_methods(&(interface_impl->interface.base.
+ configurable.base.documentable), env, NULL,
+ interface_impl->methods);
+ return interface;
+}
+
+AXIS2_EXTERN woden_interface_t * AXIS2_CALL
+woden_interface_to_configurable(
+ void *interface,
+ const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ if(!interface)
+ {
+ interface_impl = (woden_interface_impl_t *) create(env);
+ }
+ else
+ interface_impl = (woden_interface_impl_t *) interface;
+
+ woden_interface_free_ops(interface, env);
+
+ interface_impl->interface.base.configurable.ops =
+ AXIS2_MALLOC(env->allocator,
+ sizeof(woden_configurable_ops_t));
+ woden_configurable_resolve_methods(&(interface_impl->interface.base.
+ configurable), env, interface_impl->configurable,
+ interface_impl->methods);
+ return interface;
+}
+
+AXIS2_EXTERN woden_interface_t * AXIS2_CALL
+woden_interface_to_attr_extensible(
+ void *interface,
+ const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ if(!interface)
+ {
+ interface_impl = (woden_interface_impl_t *) create(env);
+ }
+ else
+ interface_impl = (woden_interface_impl_t *) interface;
+
+ woden_interface_free_ops(interface, env);
+
+ interface_impl->interface.base.interface_element.base.documentable_element.
+ wsdl_element.base.attr_extensible.ops =
+ AXIS2_MALLOC(env->allocator,
+ sizeof(woden_attr_extensible_ops_t));
+ woden_attr_extensible_resolve_methods(&(interface_impl->interface.base.
+ interface_element.base.documentable_element.wsdl_element.base.
+ attr_extensible), env, NULL, interface_impl->methods);
+ return interface;
+}
+
+
+AXIS2_EXTERN woden_interface_t * AXIS2_CALL
+woden_interface_to_element_extensible(
+ void *interface,
+ const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ if(!interface)
+ {
+ interface_impl = (woden_interface_impl_t *) create(env);
+ }
+ else
+ interface_impl = (woden_interface_impl_t *) interface;
+
+ woden_interface_free_ops(interface, env);
+
+ interface_impl->interface.base.interface_element.base.documentable_element.
+ wsdl_element.base.element_extensible.ops =
+ AXIS2_MALLOC(env->allocator,
+ sizeof(woden_element_extensible_ops_t));
+ woden_element_extensible_resolve_methods(&(interface_impl->interface.base.
+ interface_element.base.documentable_element.wsdl_element.base.
+ element_extensible), env, NULL, interface_impl->methods);
+ return interface;
+}
+
+/************************End of Woden C Internal Methods***********************/
+static woden_interface_t *
+create(const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ interface_impl = AXIS2_MALLOC(env->allocator,
+ sizeof(woden_interface_impl_t));
+
+ interface_impl->obj_type= WODEN_INTERFACE;
+ interface_impl->super = NULL;
+ interface_impl->methods = NULL;
+ interface_impl->f_qname = NULL;
+ interface_impl->f_extended_interfaces = NULL;
+ interface_impl->f_extends_qnames = NULL;
+ interface_impl->f_style_default = NULL;
+ interface_impl->f_interface_fault_elements = NULL;
+ interface_impl->f_interface_op_elements = NULL;
+
+ interface_impl->interface.base.interface_element.ops = NULL;
+ interface_impl->interface.base.configurable.base.documentable.ops = NULL;
+ interface_impl->interface.base.configurable.ops = NULL;
+ interface_impl->interface.base.interface_element.base.documentable_element.
+ wsdl_element.base.attr_extensible.ops = NULL;
+ interface_impl->interface.base.interface_element.base.documentable_element.
+ wsdl_element.base.element_extensible.ops = NULL;
+
+ interface_impl->interface.ops = AXIS2_MALLOC(env->allocator,
+ sizeof(woden_interface_ops_t));
+
+ interface_impl->interface.ops->free = woden_interface_free;
+ interface_impl->interface.ops->super_objs = woden_interface_super_objs;
+ interface_impl->interface.ops->type = woden_interface_type;
+ interface_impl->interface.ops->get_base_impl = woden_interface_get_base_impl;
+
+ interface_impl->interface.ops->get_qname = woden_interface_get_qname;
+ interface_impl->interface.ops->get_extended_interfaces =
+ woden_interface_get_extended_interfaces;
+ interface_impl->interface.ops->get_interface_faults =
+ woden_interface_get_interface_faults;
+ interface_impl->interface.ops->get_interface_fault =
+ woden_interface_get_interface_fault;
+ interface_impl->interface.ops->get_interface_ops =
+ woden_interface_get_interface_ops;
+ interface_impl->interface.ops->to_element =
+ woden_interface_to_element;
+
+ interface_impl->methods = axis2_hash_make(env);
+ if(!interface_impl->methods)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ return NULL;
+ }
+ axis2_hash_set(interface_impl->methods, "free", AXIS2_HASH_KEY_STRING,
+ woden_interface_free);
+ axis2_hash_set(interface_impl->methods, "super_objs",
+ AXIS2_HASH_KEY_STRING, woden_interface_super_objs);
+ axis2_hash_set(interface_impl->methods, "type",
+ AXIS2_HASH_KEY_STRING, woden_interface_type);
+
+ axis2_hash_set(interface_impl->methods, "get_qname",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_get_qname);
+ axis2_hash_set(interface_impl->methods, "get_extended_interfaces",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_get_extended_interfaces);
+ axis2_hash_set(interface_impl->methods, "get_interface_faults",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_get_interface_faults);
+ axis2_hash_set(interface_impl->methods, "get_interface_fault",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_get_interface_fault);
+ axis2_hash_set(interface_impl->methods, "get_interface_ops",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_get_interface_ops);
+ axis2_hash_set(interface_impl->methods, "to_element",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_to_element);
+ axis2_hash_set(interface_impl->methods, "set_qname",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_set_qname);
+ axis2_hash_set(interface_impl->methods, "add_style_default_uri",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_add_style_default_uri);
+ axis2_hash_set(interface_impl->methods, "get_style_default",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_get_style_default);
+ axis2_hash_set(interface_impl->methods, "add_extends_qnames",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_get_extends_qnames);
+ axis2_hash_set(interface_impl->methods, "get_extends_qnames",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_get_extends_qnames);
+ axis2_hash_set(interface_impl->methods, "add_interface_fault_element",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_add_interface_fault_element);
+ axis2_hash_set(interface_impl->methods, "get_interface_fault_elements",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_get_interface_fault_elements);
+ axis2_hash_set(interface_impl->methods, "add_interface_op_element",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_add_interface_op_element);
+ axis2_hash_set(interface_impl->methods, "get_interface_op_elements",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_get_interface_op_elements);
+ axis2_hash_set(interface_impl->methods, "add_extended_interface",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_add_extended_interface);
+
+ return &(interface_impl->interface);
+}
+
+AXIS2_EXTERN woden_interface_t * AXIS2_CALL
+woden_interface_create(const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ interface_impl = (woden_interface_impl_t *) create(env);
+
+ interface_impl->configurable = woden_configurable_create(env);
+
+ interface_impl->super = axis2_hash_make(env);
+ if(!interface_impl->super)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ return NULL;
+ }
+ axis2_hash_set(interface_impl->super, "WODEN_INTERFACE", AXIS2_HASH_KEY_STRING,
+ &(interface_impl->interface));
+ axis2_hash_set(interface_impl->super, "WODEN_CONFIGURABLE", AXIS2_HASH_KEY_STRING,
+ interface_impl->configurable);
+
+ return &(interface_impl->interface);
+}
+
+static axis2_status_t
+woden_interface_free_ops(
+ void *interface,
+ const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ interface_impl = INTF_TO_IMPL(interface);
+
+ if(interface_impl->interface.base.interface_element.ops)
+ {
+ AXIS2_FREE(env->allocator, interface_impl->interface.base.
+ interface_element.ops);
+ interface_impl->interface.base.interface_element.ops = NULL;
+ }
+
+ if(interface_impl->interface.base.interface_element.base.documentable_element.ops)
+ {
+ AXIS2_FREE(env->allocator, interface_impl->interface.base.
+ interface_element.base.documentable_element.ops);
+ interface_impl->interface.base.interface_element.base.documentable_element.ops =
+ NULL;
+ }
+
+ if(interface_impl->interface.base.configurable.base.documentable.ops)
+ {
+ AXIS2_FREE(env->allocator, interface_impl->interface.base.
+ configurable.base.documentable.ops);
+ interface_impl->interface.base.configurable.base.documentable.ops =
+ NULL;
+ }
+
+ if(interface_impl->interface.base.configurable.ops)
+ {
+ AXIS2_FREE(env->allocator, interface_impl->interface.base.
+ configurable.ops);
+ interface_impl->interface.base.configurable.ops =
+ NULL;
+ }
+
+ if(interface_impl->interface.base.interface_element.base.
+ documentable_element.wsdl_element.base.attr_extensible.ops)
+ {
+ AXIS2_FREE(env->allocator, interface_impl->interface.base.
+ interface_element.base.documentable_element.wsdl_element.base.
+ attr_extensible.ops);
+ interface_impl->interface.base.interface_element.base.
+ documentable_element.wsdl_element.base.attr_extensible.ops = NULL;
+ }
+
+ if(interface_impl->interface.base.interface_element.base.
+ documentable_element.wsdl_element.base.element_extensible.ops)
+ {
+ AXIS2_FREE(env->allocator, interface_impl->interface.base.
+ interface_element.base.documentable_element.wsdl_element.base.
+ element_extensible.ops);
+ interface_impl->interface.base.interface_element.base.
+ documentable_element.wsdl_element.base.element_extensible.ops = NULL;
+ }
+
+ return AXIS2_SUCCESS;
+}
+
+
+axis2_status_t AXIS2_CALL
+woden_interface_free(void *interface,
+ const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ interface_impl = INTF_TO_IMPL(interface);
+
+ if(interface_impl->f_extended_interfaces)
+ {
+ AXIS2_ARRAY_LIST_FREE(interface_impl->f_extended_interfaces, env);
+ interface_impl->f_extended_interfaces = NULL;
+ }
+
+ if(interface_impl->f_qname)
+ {
+ AXIS2_QNAME_FREE(interface_impl->f_qname, env);
+ interface_impl->f_qname = NULL;
+ }
+
+ if(interface_impl->f_extends_qnames)
+ {
+ AXIS2_ARRAY_LIST_FREE(interface_impl->f_extends_qnames, env);
+ interface_impl->f_extends_qnames = NULL;
+ }
+
+ if(interface_impl->f_style_default)
+ {
+ AXIS2_ARRAY_LIST_FREE(interface_impl->f_style_default, env);
+ interface_impl->f_style_default = NULL;
+ }
+
+ if(interface_impl->f_interface_fault_elements)
+ {
+ AXIS2_ARRAY_LIST_FREE(interface_impl->f_interface_fault_elements, env);
+ interface_impl->f_interface_fault_elements = NULL;
+ }
+
+ if(interface_impl->f_interface_op_elements)
+ {
+ AXIS2_ARRAY_LIST_FREE(interface_impl->f_interface_op_elements, env);
+ interface_impl->f_interface_op_elements = NULL;
+ }
+
+ if(interface_impl->super)
+ {
+ axis2_hash_free(interface_impl->super, env);
+ interface_impl->super = NULL;
+ }
+
+ if(interface_impl->methods)
+ {
+ axis2_hash_free(interface_impl->methods, env);
+ interface_impl->methods = NULL;
+ }
+
+ if(interface_impl->configurable)
+ {
+ WODEN_CONFIGURABLE_FREE(interface_impl->configurable, env);
+ interface_impl->configurable = NULL;
+ }
+
+ woden_interface_free_ops(interface, env);
+
+ if((&(interface_impl->interface))->ops)
+ {
+ AXIS2_FREE(env->allocator, (&(interface_impl->interface))->ops);
+ (&(interface_impl->interface))->ops = NULL;
+ }
+
+ if(interface_impl)
+ {
+ AXIS2_FREE(env->allocator, interface_impl);
+ interface_impl = NULL;
+ }
+ return AXIS2_SUCCESS;
+}
+
+axis2_hash_t *AXIS2_CALL
+woden_interface_super_objs(
+ void *interface,
+ const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ interface_impl = INTF_TO_IMPL(interface);
+
+ return interface_impl->super;
+}
+
+woden_obj_types_t AXIS2_CALL
+woden_interface_type(
+ void *interface,
+ const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ interface_impl = INTF_TO_IMPL(interface);
+
+ return interface_impl->obj_type;
+}
+
+woden_configurable_t *AXIS2_CALL
+woden_interface_get_base_impl(
+ void *interface,
+ const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ interface_impl = INTF_TO_IMPL(interface);
+
+ return interface_impl->configurable;
+}
+
+axis2_status_t AXIS2_CALL
+woden_interface_resolve_methods(
+ woden_interface_t *interface,
+ const axis2_env_t *env,
+ woden_interface_t *interface_impl,
+ axis2_hash_t *methods)
+{
+ woden_interface_impl_t *interface_impl_l = NULL;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
+ interface_impl_l = INTF_TO_IMPL(interface_impl);
+
+ interface->ops->free = axis2_hash_get(methods, "free",
+ AXIS2_HASH_KEY_STRING);
+ interface->ops->super_objs = axis2_hash_get(methods, "super_objs",
+ AXIS2_HASH_KEY_STRING);
+ interface->ops->type = axis2_hash_get(methods, "type",
+ AXIS2_HASH_KEY_STRING);
+
+ interface->ops->get_qname = axis2_hash_get(methods,
+ "get_qname", AXIS2_HASH_KEY_STRING);
+ if(!interface->ops->get_qname && interface_impl_l)
+ interface->ops->get_qname =
+ interface_impl_l->interface.ops->get_qname;
+
+ interface->ops->get_extended_interfaces = axis2_hash_get(methods,
+ "get_extended_interfaces", AXIS2_HASH_KEY_STRING);
+ if(!interface->ops->get_extended_interfaces && interface_impl_l)
+ interface->ops->get_extended_interfaces =
+ interface_impl_l->interface.ops->get_extended_interfaces;
+
+ interface->ops->get_interface_faults = axis2_hash_get(methods,
+ "get_interface_faults", AXIS2_HASH_KEY_STRING);
+ if(!interface->ops->get_interface_faults && interface_impl_l)
+ interface->ops->get_interface_faults =
+ interface_impl_l->interface.ops->get_interface_faults;
+
+ interface->ops->get_interface_fault = axis2_hash_get(methods,
+ "get_interface_fault", AXIS2_HASH_KEY_STRING);
+ if(!interface->ops->get_interface_fault && interface_impl_l)
+ interface->ops->get_interface_fault =
+ interface_impl_l->interface.ops->get_interface_fault;
+
+ interface->ops->get_interface_ops = axis2_hash_get(methods,
+ "get_interface_ops", AXIS2_HASH_KEY_STRING);
+ if(!interface->ops->get_interface_ops && interface_impl_l)
+ interface->ops->get_interface_ops =
+ interface_impl_l->interface.ops->get_interface_ops;
+
+ interface->ops->to_element = axis2_hash_get(methods,
+ "to_element", AXIS2_HASH_KEY_STRING);
+ if(!interface->ops->to_element && interface_impl_l)
+ interface->ops->to_element =
+ interface_impl_l->interface.ops->to_element;
+
+ return AXIS2_SUCCESS;
+}
+
+/* ************************************************************
+ * Interface interface methods (the WSDL Component model)
+ * ************************************************************/
+axis2_qname_t *AXIS2_CALL
+woden_interface_get_qname(
+ void *interface,
+ const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ super = WODEN_INTERFACE_SUPER_OBJS(interface, env);
+ interface_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
+
+ return interface_impl->f_qname;
+}
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_get_extended_interfaces(
+ void *interface,
+ const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ super = WODEN_INTERFACE_SUPER_OBJS(interface, env);
+ interface_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
+
+ return interface_impl->f_extended_interfaces;
+}
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_get_interface_faults(
+ void *interface,
+ const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ super = WODEN_INTERFACE_SUPER_OBJS(interface, env);
+ interface_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
+
+ return interface_impl->f_interface_fault_elements;
+}
+
+void *AXIS2_CALL
+woden_interface_get_interface_fault(
+ void *interface,
+ const axis2_env_t *env,
+ axis2_qname_t *qname)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+ axis2_hash_t *super = NULL;
+ int i = 0, size = 0;
+ void *fault = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ AXIS2_PARAM_CHECK(env->error, qname, NULL);
+ super = WODEN_INTERFACE_SUPER_OBJS(interface, env);
+ interface_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
+
+ size = AXIS2_ARRAY_LIST_SIZE(interface_impl->f_interface_fault_elements, env);
+ for(i = 0; i < size; i++)
+ {
+ void *flt = NULL;
+ axis2_qname_t *qname_l = NULL;
+
+ flt = AXIS2_ARRAY_LIST_GET(interface_impl->f_interface_fault_elements,
+ env, i);
+ qname_l = (axis2_qname_t *) WODEN_INTERFACE_FAULT_GET_QNAME(flt, env);
+ if(AXIS2_TRUE == AXIS2_QNAME_EQUALS(qname, env, qname_l))
+ {
+ fault = flt;
+ break;
+ }
+ }
+
+ return fault;
+}
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_get_interface_ops(
+ void *interface,
+ const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ super = WODEN_INTERFACE_SUPER_OBJS(interface, env);
+ interface_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
+
+ return interface_impl->f_interface_op_elements;
+}
+
+void *AXIS2_CALL
+woden_interface_to_element(
+ void *interface,
+ const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ super = WODEN_INTERFACE_SUPER_OBJS(interface, env);
+ interface_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
+
+ return &(interface_impl->interface);
+}
+
+/* ************************************************************
+ * InterfaceElement interface methods (the XML Element model)
+ * ************************************************************/
+axis2_status_t AXIS2_CALL
+woden_interface_set_qname(
+ void *interface,
+ const axis2_env_t *env,
+ axis2_qname_t *qname)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE);
+ super = WODEN_INTERFACE_SUPER_OBJS(interface, env);
+ interface_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
+
+ if(interface_impl->f_qname)
+ {
+ AXIS2_QNAME_FREE(interface_impl->f_qname, env);
+ }
+ interface_impl->f_qname = AXIS2_QNAME_CLONE(qname, env);
+ return AXIS2_SUCCESS;
+}
+
+axis2_status_t AXIS2_CALL
+woden_interface_add_style_default_uri(
+ void *interface,
+ const axis2_env_t *env,
+ axis2_uri_t *uri)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK(env->error, uri, AXIS2_FAILURE);
+ super = WODEN_INTERFACE_SUPER_OBJS(interface, env);
+ interface_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
+
+ if(!interface_impl->f_style_default)
+ {
+ interface_impl->f_style_default = axis2_array_list_create(env, 0);
+ if(!interface_impl->f_style_default)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ return AXIS2_FAILURE;
+ }
+ }
+ AXIS2_ARRAY_LIST_ADD(interface_impl->f_style_default, env, AXIS2_URI_CLONE(
+ uri, env));
+
+ return AXIS2_SUCCESS;
+}
+
+void *AXIS2_CALL
+woden_interface_get_style_default(
+ void *interface,
+ const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ super = WODEN_INTERFACE_SUPER_OBJS(interface, env);
+ interface_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
+
+ return interface_impl->f_style_default;
+}
+
+axis2_status_t AXIS2_CALL
+woden_interface_add_extended_qname(
+ void *interface,
+ const axis2_env_t *env,
+ woden_wsdl_element_t *qname)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE);
+ super = WODEN_INTERFACE_SUPER_OBJS(interface, env);
+ interface_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
+
+ if(!interface_impl->f_extends_qnames)
+ {
+ interface_impl->f_extends_qnames = axis2_array_list_create(env, 0);
+ if(!interface_impl->f_extends_qnames)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ return AXIS2_FAILURE;
+ }
+ }
+ AXIS2_ARRAY_LIST_ADD(interface_impl->f_extends_qnames, env, qname);
+
+ return AXIS2_SUCCESS;
+}
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_get_extends_qnames(
+ void *interface,
+ const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ super = WODEN_INTERFACE_SUPER_OBJS(interface, env);
+ interface_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
+
+ return interface_impl->f_extends_qnames;
+}
+
+axis2_status_t AXIS2_CALL
+woden_interface_add_interface_fault_element(
+ void *interface,
+ const axis2_env_t *env,
+ void *fault)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK(env->error, fault, AXIS2_FAILURE);
+ super = WODEN_INTERFACE_SUPER_OBJS(interface, env);
+ interface_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
+
+ if(!interface_impl->f_interface_fault_elements)
+ {
+ interface_impl->f_interface_fault_elements = axis2_array_list_create(env, 0);
+ if(!interface_impl->f_interface_fault_elements)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ return AXIS2_FAILURE;
+ }
+ }
+ AXIS2_ARRAY_LIST_ADD(interface_impl->f_interface_fault_elements, env, fault);
+
+ return AXIS2_SUCCESS;
+}
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_get_interface_fault_elements(
+ void *interface,
+ const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ super = WODEN_INTERFACE_SUPER_OBJS(interface, env);
+ interface_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
+
+ return interface_impl->f_interface_fault_elements;
+}
+
+axis2_status_t AXIS2_CALL
+woden_interface_add_interface_op_element(
+ void *interface,
+ const axis2_env_t *env,
+ void *op)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK(env->error, op, AXIS2_FAILURE);
+ super = WODEN_INTERFACE_SUPER_OBJS(interface, env);
+ interface_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
+
+ if(!interface_impl->f_interface_op_elements)
+ {
+ interface_impl->f_interface_op_elements = axis2_array_list_create(env, 0);
+ if(!interface_impl->f_interface_op_elements)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ return AXIS2_FAILURE;
+ }
+ }
+ AXIS2_ARRAY_LIST_ADD(interface_impl->f_interface_op_elements, env, op);
+
+ return AXIS2_SUCCESS;
+}
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_get_interface_op_elements(
+ void *interface,
+ const axis2_env_t *env)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ super = WODEN_INTERFACE_SUPER_OBJS(interface, env);
+ interface_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
+
+ return interface_impl->f_interface_op_elements;
+}
+
+axis2_status_t AXIS2_CALL
+woden_interface_add_extended_interface(
+ void *interface,
+ const axis2_env_t *env,
+ void *extended_interface)
+{
+ woden_interface_impl_t *interface_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK(env->error, interface, AXIS2_FAILURE);
+ super = WODEN_INTERFACE_SUPER_OBJS(interface, env);
+ interface_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE", AXIS2_HASH_KEY_STRING));
+
+ if(!interface_impl->f_extended_interfaces)
+ {
+ interface_impl->f_extended_interfaces = axis2_array_list_create(env, 0);
+ if(!interface_impl->f_extended_interfaces)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ return AXIS2_FAILURE;
+ }
+ }
+ AXIS2_ARRAY_LIST_ADD(interface_impl->f_extended_interfaces, env, extended_interface);
+ return AXIS2_SUCCESS;
+}
+
+
+
+
+
Added: webservices/axis2/trunk/c/woden/src/wsdl/interface_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl/interface_element.c?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl/interface_element.c (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl/interface_element.c Wed Jul 5 23:02:19 2006
@@ -0,0 +1,76 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <woden_interface_element.h>
+
+axis2_status_t AXIS2_CALL
+woden_interface_element_resolve_methods(
+ woden_interface_element_t *interface_element,
+ const axis2_env_t *env,
+ axis2_hash_t *methods)
+{
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
+
+ interface_element->ops->free = axis2_hash_get(methods, "free",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_element->ops->type = axis2_hash_get(methods, "type",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_element->ops->set_qname =
+ axis2_hash_get(methods, "set_qname",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_element->ops->get_qname =
+ axis2_hash_get(methods, "get_qname",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_element->ops->add_extends_qname =
+ axis2_hash_get(methods, "add_extends_qname",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_element->ops->get_extends_qnames =
+ axis2_hash_get(methods, "get_extends_qnames",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_element->ops->add_style_default_uri =
+ axis2_hash_get(methods, "add_style_default_uri",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_element->ops->get_style_default =
+ axis2_hash_get(methods, "get_style_default",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_element->ops->add_interface_fault_element =
+ axis2_hash_get(methods, "add_interface_fault_element",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_element->ops->get_interface_fault_elements =
+ axis2_hash_get(methods, "get_interface_fault_elements",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_element->ops->add_interface_op_element =
+ axis2_hash_get(methods, "add_interface_op_element",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_element->ops->get_interface_op_elements =
+ axis2_hash_get(methods, "get_interface_op_elements",
+ AXIS2_HASH_KEY_STRING);
+
+ return AXIS2_SUCCESS;
+}
+
Added: webservices/axis2/trunk/c/woden/src/wsdl/interface_op.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl/interface_op.c?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl/interface_op.c (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl/interface_op.c Wed Jul 5 23:02:19 2006
@@ -0,0 +1,1231 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <woden_wsdl_obj.h>
+#include <woden_interface_op.h>
+#include <woden_nested_configurable.h>
+#include <woden_ext_element.h>
+#include <woden_component_exts.h>
+#include <woden_xml_attr.h>
+#include <woden_documentation_element.h>
+#include <xml_schema_element.h>
+
+typedef struct woden_interface_op_impl woden_interface_op_impl_t;
+
+/**
+ * @brief Interface Operation Struct Impl
+ * Axis2 Interface Operation
+ */
+struct woden_interface_op_impl
+{
+ woden_interface_op_t interface_op;
+ woden_nested_configurable_t *nested_configurable;
+ woden_obj_types_t obj_type;
+ axis2_hash_t *super;
+ axis2_hash_t *methods;
+ axis2_qname_t *f_qname;
+ axis2_uri_t *f_msg_exchange_pattern;
+ axis2_array_list_t *f_style;
+ axis2_array_list_t *f_msg_refs;
+ axis2_array_list_t *f_fault_refs;
+};
+
+#define INTF_TO_IMPL(interface_op) ((woden_interface_op_impl_t *) interface_op)
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_free(
+ void *interface_op,
+ const axis2_env_t *env);
+
+axis2_hash_t *AXIS2_CALL
+woden_interface_op_super_objs(
+ void *interface_op,
+ const axis2_env_t *env);
+
+woden_obj_types_t AXIS2_CALL
+woden_interface_op_type(
+ void *interface_op,
+ const axis2_env_t *env);
+
+woden_nested_configurable_t *AXIS2_CALL
+woden_interface_op_get_base_impl(
+ void *interface_op,
+ const axis2_env_t *env);
+
+/* ************************************************************
+ * Interface Operation methods (the WSDL Component model)
+ * ************************************************************/
+
+axis2_qname_t *AXIS2_CALL
+woden_interface_op_get_qname(
+ void *interface_op,
+ const axis2_env_t *env);
+
+axis2_uri_t *AXIS2_CALL
+woden_interface_op_get_msg_exchange_pattern(
+ void *interface_op,
+ const axis2_env_t *env);
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_op_get_interface_msg_refs(
+ void *interface_op,
+ const axis2_env_t *env);
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_op_get_interface_fault_refs(
+ void *interface_op,
+ const axis2_env_t *env);
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_op_get_style(
+ void *interface_op,
+ const axis2_env_t *env);
+
+void *AXIS2_CALL
+woden_interface_op_to_element(
+ void *interface_op,
+ const axis2_env_t *env);
+
+/* ************************************************************
+ * Interface Operation Element methods (the XML Element model)
+ * ************************************************************/
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_set_qname(
+ void *interface_op,
+ const axis2_env_t *env,
+ axis2_qname_t *qname);
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_set_pattern(
+ void *interface_op,
+ const axis2_env_t *env,
+ axis2_uri_t *uri);
+
+axis2_uri_t *AXIS2_CALL
+woden_interface_op_get_pattern(
+ void *interface_op,
+ const axis2_env_t *env);
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_add_style_uri(
+ void *interface_op,
+ const axis2_env_t *env,
+ axis2_uri_t *uri);
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_remove_style_uri(
+ void *interface_op,
+ const axis2_env_t *env,
+ axis2_uri_t *uri);
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_add_interface_msg_ref_element(
+ void *interface_op,
+ const axis2_env_t *env,
+ void *msg_ref);
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_remove_interface_msg_ref_element(
+ void *interface_op,
+ const axis2_env_t *env,
+ void *msg_ref);
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_op_get_interface_msg_ref_elements(
+ void *interface_op,
+ const axis2_env_t *env);
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_add_interface_fault_ref_element(
+ void *interface_op,
+ const axis2_env_t *env,
+ void *fault_ref);
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_remove_interface_fault_ref_element(
+ void *interface_op,
+ const axis2_env_t *env,
+ void *fault_ref);
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_op_get_interface_fault_ref_elements(
+ void *interface_op,
+ const axis2_env_t *env);
+
+static woden_interface_op_t *
+create(const axis2_env_t *env);
+
+static axis2_status_t
+woden_interface_op_free_ops(
+ void *interface_op,
+ const axis2_env_t *env);
+
+/************************Woden C Internal Methods******************************/
+AXIS2_EXTERN woden_interface_op_t * AXIS2_CALL
+woden_interface_op_to_interface_op_element(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ if(!interface_op)
+ {
+ interface_op_impl = (woden_interface_op_impl_t *) create(env);
+ }
+ else
+ interface_op_impl = (woden_interface_op_impl_t *) interface_op;
+
+ woden_interface_op_free_ops(interface_op, env);
+
+ interface_op_impl->interface_op.base.interface_op_element.ops =
+ AXIS2_MALLOC(env->allocator,
+ sizeof(woden_interface_op_element_ops_t));
+ woden_interface_op_element_resolve_methods(&(interface_op_impl->interface_op.base.
+ interface_op_element), env, interface_op_impl->methods);
+ return interface_op;
+}
+
+AXIS2_EXTERN woden_interface_op_t * AXIS2_CALL
+woden_interface_op_to_nested_configurable(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ if(!interface_op)
+ {
+ interface_op_impl = (woden_interface_op_impl_t *) create(env);
+ }
+ else
+ interface_op_impl = (woden_interface_op_impl_t *) interface_op;
+
+ woden_interface_op_free_ops(interface_op, env);
+
+ interface_op_impl->interface_op.base.nested_configurable.ops =
+ AXIS2_MALLOC(env->allocator,
+ sizeof(woden_nested_configurable_ops_t));
+ woden_nested_configurable_resolve_methods(&(interface_op_impl->interface_op.base.
+ nested_configurable), env, interface_op_impl->nested_configurable,
+ interface_op_impl->methods);
+ return interface_op;
+}
+
+AXIS2_EXTERN woden_interface_op_t * AXIS2_CALL
+woden_interface_op_to_nested_component(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ if(!interface_op)
+ {
+ interface_op_impl = (woden_interface_op_impl_t *) create(env);
+ }
+ else
+ interface_op_impl = (woden_interface_op_impl_t *) interface_op;
+
+ woden_interface_op_free_ops(interface_op, env);
+
+ interface_op_impl->interface_op.base.nested_configurable.base.nested_component.ops =
+ AXIS2_MALLOC(env->allocator,
+ sizeof(woden_nested_component_ops_t));
+ woden_nested_component_resolve_methods(&(interface_op_impl->interface_op.base.
+ nested_configurable.base.nested_component), env, interface_op_impl->methods);
+ return interface_op;
+}
+
+AXIS2_EXTERN woden_interface_op_t * AXIS2_CALL
+woden_interface_op_to_configurable(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+ void *configurable = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ if(!interface_op)
+ {
+ interface_op_impl = (woden_interface_op_impl_t *) create(env);
+ }
+ else
+ interface_op_impl = (woden_interface_op_impl_t *) interface_op;
+
+ woden_interface_op_free_ops(interface_op, env);
+
+ interface_op_impl->interface_op.base.nested_configurable.base.configurable.ops =
+ AXIS2_MALLOC(env->allocator,
+ sizeof(woden_configurable_ops_t));
+ configurable = WODEN_NESTED_CONFIGURABLE_GET_BASE_IMPL(
+ interface_op_impl->nested_configurable, env);
+ woden_configurable_resolve_methods(&(interface_op_impl->interface_op.base.
+ nested_configurable.base.configurable), env, configurable, interface_op_impl->methods);
+ return interface_op;
+}
+
+AXIS2_EXTERN woden_interface_op_t * AXIS2_CALL
+woden_interface_op_to_nested_element(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ if(!interface_op)
+ {
+ interface_op_impl = (woden_interface_op_impl_t *) create(env);
+ }
+ else
+ interface_op_impl = (woden_interface_op_impl_t *) interface_op;
+
+ woden_interface_op_free_ops(interface_op, env);
+
+ interface_op_impl->interface_op.base.interface_op_element.base.nested_element.ops =
+ AXIS2_MALLOC(env->allocator,
+ sizeof(woden_nested_element_ops_t));
+ woden_nested_element_resolve_methods(&(interface_op_impl->interface_op.base.
+ interface_op_element.base.nested_element), env, interface_op_impl->methods);
+ return interface_op;
+}
+
+
+AXIS2_EXTERN woden_interface_op_t * AXIS2_CALL
+woden_interface_op_to_configurable_element(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ if(!interface_op)
+ {
+ interface_op_impl = (woden_interface_op_impl_t *) create(env);
+ }
+ else
+ interface_op_impl = (woden_interface_op_impl_t *) interface_op;
+
+ woden_interface_op_free_ops(interface_op, env);
+
+ interface_op_impl->interface_op.base.interface_op_element.base.configurable_element.ops =
+ AXIS2_MALLOC(env->allocator,
+ sizeof(woden_configurable_element_ops_t));
+ woden_configurable_element_resolve_methods(&(interface_op_impl->interface_op.base.
+ interface_op_element.base.configurable_element), env, interface_op_impl->methods);
+ return interface_op;
+}
+
+AXIS2_EXTERN woden_interface_op_t * AXIS2_CALL
+woden_interface_op_to_documentable_element(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ if(!interface_op)
+ {
+ interface_op_impl = (woden_interface_op_impl_t *) create(env);
+ }
+ else
+ interface_op_impl = (woden_interface_op_impl_t *) interface_op;
+
+ woden_interface_op_free_ops(interface_op, env);
+
+ interface_op_impl->interface_op.base.interface_op_element.base.documentable_element.ops =
+ AXIS2_MALLOC(env->allocator,
+ sizeof(woden_documentable_element_ops_t));
+ woden_documentable_element_resolve_methods(&(interface_op_impl->interface_op.base.
+ interface_op_element.base.documentable_element), env,
+ interface_op_impl->methods);
+ return interface_op;
+}
+
+AXIS2_EXTERN woden_interface_op_t * AXIS2_CALL
+woden_interface_op_to_documentable(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ if(!interface_op)
+ {
+ interface_op_impl = (woden_interface_op_impl_t *) create(env);
+ }
+ else
+ interface_op_impl = (woden_interface_op_impl_t *) interface_op;
+
+ woden_interface_op_free_ops(interface_op, env);
+
+ interface_op_impl->interface_op.base.nested_configurable.base.
+ configurable.base.documentable.ops = AXIS2_MALLOC(env->allocator,
+ sizeof(woden_documentable_ops_t));
+ woden_documentable_resolve_methods(&(interface_op_impl->interface_op.base.
+ nested_configurable.base.configurable.base.documentable), env, NULL,
+ interface_op_impl->methods);
+ return interface_op;
+}
+
+AXIS2_EXTERN woden_interface_op_t * AXIS2_CALL
+woden_interface_op_to_attr_extensible(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ if(!interface_op)
+ {
+ interface_op_impl = (woden_interface_op_impl_t *) create(env);
+ }
+ else
+ interface_op_impl = (woden_interface_op_impl_t *) interface_op;
+
+ woden_interface_op_free_ops(interface_op, env);
+
+ interface_op_impl->interface_op.base.interface_op_element.base.documentable_element.
+ wsdl_element.base.attr_extensible.ops =
+ AXIS2_MALLOC(env->allocator,
+ sizeof(woden_attr_extensible_ops_t));
+ woden_attr_extensible_resolve_methods(&(interface_op_impl->interface_op.base.
+ interface_op_element.base.documentable_element.wsdl_element.base.
+ attr_extensible), env, NULL, interface_op_impl->methods);
+ return interface_op;
+}
+
+
+AXIS2_EXTERN woden_interface_op_t * AXIS2_CALL
+woden_interface_op_to_element_extensible(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ if(!interface_op)
+ {
+ interface_op_impl = (woden_interface_op_impl_t *) create(env);
+ }
+ else
+ interface_op_impl = (woden_interface_op_impl_t *) interface_op;
+
+ woden_interface_op_free_ops(interface_op, env);
+
+ interface_op_impl->interface_op.base.interface_op_element.base.documentable_element.
+ wsdl_element.base.element_extensible.ops =
+ AXIS2_MALLOC(env->allocator,
+ sizeof(woden_element_extensible_ops_t));
+ woden_element_extensible_resolve_methods(&(interface_op_impl->interface_op.base.
+ interface_op_element.base.documentable_element.wsdl_element.base.
+ element_extensible), env, NULL, interface_op_impl->methods);
+ return interface_op;
+}
+
+
+/************************End of Woden C Internal Methods***********************/
+static woden_interface_op_t *
+create(const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ interface_op_impl = AXIS2_MALLOC(env->allocator,
+ sizeof(woden_interface_op_impl_t));
+
+ interface_op_impl->obj_type= WODEN_INTERFACE_OP;
+ interface_op_impl->super = NULL;
+ interface_op_impl->methods = NULL;
+ interface_op_impl->f_qname = NULL;
+ interface_op_impl->f_msg_exchange_pattern = NULL;
+ interface_op_impl->f_style = NULL;
+ interface_op_impl->f_msg_refs = NULL;
+ interface_op_impl->f_fault_refs = NULL;
+
+ interface_op_impl->interface_op.base.interface_op_element.ops = NULL;
+ interface_op_impl->interface_op.base.nested_configurable.ops = NULL;
+ interface_op_impl->interface_op.base.nested_configurable.base.
+ nested_component.ops = NULL;
+ interface_op_impl->interface_op.base.nested_configurable.base.configurable.ops =
+ NULL;
+ interface_op_impl->interface_op.base.interface_op_element.base.
+ nested_element.ops = NULL;
+ interface_op_impl->interface_op.base.interface_op_element.base.
+ configurable_element.ops = NULL;
+ interface_op_impl->interface_op.base.interface_op_element.base.
+ documentable_element.ops = NULL;
+ interface_op_impl->interface_op.base.nested_configurable.base.configurable.base.
+ documentable.ops = NULL;
+ interface_op_impl->interface_op.base.interface_op_element.base.
+ documentable_element.wsdl_element.base.attr_extensible.ops = NULL;
+ interface_op_impl->interface_op.base.interface_op_element.base.
+ documentable_element.wsdl_element.base.element_extensible.ops = NULL;
+
+ interface_op_impl->interface_op.ops = AXIS2_MALLOC(env->allocator,
+ sizeof(woden_interface_op_ops_t));
+
+ interface_op_impl->interface_op.ops->free = woden_interface_op_free;
+ interface_op_impl->interface_op.ops->super_objs = woden_interface_op_super_objs;
+ interface_op_impl->interface_op.ops->type = woden_interface_op_type;
+ interface_op_impl->interface_op.ops->get_base_impl = woden_interface_op_get_base_impl;
+
+ interface_op_impl->interface_op.ops->get_qname =
+ woden_interface_op_get_qname;
+ interface_op_impl->interface_op.ops->get_msg_exchange_pattern =
+ woden_interface_op_get_msg_exchange_pattern;
+ interface_op_impl->interface_op.ops->get_interface_msg_refs =
+ woden_interface_op_get_interface_msg_refs;
+ interface_op_impl->interface_op.ops->get_interface_fault_refs =
+ woden_interface_op_get_interface_fault_refs;
+ interface_op_impl->interface_op.ops->get_style =
+ woden_interface_op_get_style;
+ interface_op_impl->interface_op.ops->to_element =
+ woden_interface_op_to_element;
+
+ interface_op_impl->methods = axis2_hash_make(env);
+ if(!interface_op_impl->methods)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ return NULL;
+ }
+ axis2_hash_set(interface_op_impl->methods, "free", AXIS2_HASH_KEY_STRING,
+ woden_interface_op_free);
+ axis2_hash_set(interface_op_impl->methods, "super_objs",
+ AXIS2_HASH_KEY_STRING, woden_interface_op_super_objs);
+ axis2_hash_set(interface_op_impl->methods, "type",
+ AXIS2_HASH_KEY_STRING, woden_interface_op_type);
+
+ axis2_hash_set(interface_op_impl->methods, "get_qname",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_op_get_qname);
+ axis2_hash_set(interface_op_impl->methods, "get_msg_exchange_pattern",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_op_get_msg_exchange_pattern);
+ axis2_hash_set(interface_op_impl->methods, "get_interface_msg_refs",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_op_get_interface_msg_refs);
+ axis2_hash_set(interface_op_impl->methods, "get_interface_fault_refs",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_op_get_interface_fault_refs);
+ axis2_hash_set(interface_op_impl->methods, "get_style",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_op_get_style);
+ axis2_hash_set(interface_op_impl->methods, "to_element",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_op_to_element);
+ axis2_hash_set(interface_op_impl->methods, "set_qname",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_op_set_qname);
+ axis2_hash_set(interface_op_impl->methods, "set_pattern",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_op_set_pattern);
+ axis2_hash_set(interface_op_impl->methods, "get_pattern",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_op_get_pattern);
+ axis2_hash_set(interface_op_impl->methods, "add_style_uri",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_op_add_style_uri);
+ axis2_hash_set(interface_op_impl->methods, "remove_style_uri",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_op_remove_style_uri);
+ axis2_hash_set(interface_op_impl->methods, "add_interface_msg_ref_element",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_op_add_interface_msg_ref_element);
+ axis2_hash_set(interface_op_impl->methods, "remove_interface_msg_ref_element",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_op_remove_interface_msg_ref_element);
+ axis2_hash_set(interface_op_impl->methods, "get_interface_msg_ref_elements",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_op_get_interface_msg_ref_elements);
+ axis2_hash_set(interface_op_impl->methods, "add_interface_fault_ref_element",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_op_add_interface_fault_ref_element);
+ axis2_hash_set(interface_op_impl->methods, "remove_interface_fault_ref_element",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_op_remove_interface_fault_ref_element);
+ axis2_hash_set(interface_op_impl->methods, "get_interface_fault_ref_elements",
+ AXIS2_HASH_KEY_STRING,
+ woden_interface_op_get_interface_fault_ref_elements);
+
+ return &(interface_op_impl->interface_op);
+}
+
+AXIS2_EXTERN woden_interface_op_t * AXIS2_CALL
+woden_interface_op_create(const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+ void *configurable = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ interface_op_impl = (woden_interface_op_impl_t *) create(env);
+
+ interface_op_impl->nested_configurable = woden_nested_configurable_create(env);
+
+ interface_op_impl->super = axis2_hash_make(env);
+ if(!interface_op_impl->super)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ return NULL;
+ }
+ axis2_hash_set(interface_op_impl->super, "WODEN_INTERFACE_OP",
+ AXIS2_HASH_KEY_STRING,
+ &(interface_op_impl->interface_op));
+ axis2_hash_set(interface_op_impl->super, "WODEN_NESTED_CONFIGURABLE",
+ AXIS2_HASH_KEY_STRING,
+ interface_op_impl->nested_configurable);
+ configurable = WODEN_NESTED_CONFIGURABLE_GET_BASE_IMPL(
+ interface_op_impl->nested_configurable, env);
+ axis2_hash_set(interface_op_impl->super, "WODEN_CONFIGURABLE",
+ AXIS2_HASH_KEY_STRING, configurable);
+
+ return &(interface_op_impl->interface_op);
+}
+
+static axis2_status_t
+woden_interface_op_free_ops(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ interface_op_impl = INTF_TO_IMPL(interface_op);
+
+ if(interface_op_impl->interface_op.base.interface_op_element.ops)
+ {
+ AXIS2_FREE(env->allocator, interface_op_impl->interface_op.base.
+ interface_op_element.ops);
+ interface_op_impl->interface_op.base.interface_op_element.ops = NULL;
+ }
+
+ if(interface_op_impl->interface_op.base.nested_configurable.ops)
+ {
+ AXIS2_FREE(env->allocator, interface_op_impl->interface_op.base.
+ nested_configurable.ops);
+ interface_op_impl->interface_op.base.nested_configurable.ops =
+ NULL;
+ }
+
+ if(interface_op_impl->interface_op.base.nested_configurable.base.
+ nested_component.ops)
+ {
+ AXIS2_FREE(env->allocator, interface_op_impl->interface_op.base.
+ nested_configurable.base.nested_component.ops);
+ interface_op_impl->interface_op.base.nested_configurable.base.
+ nested_component.ops = NULL;
+ }
+
+ if(interface_op_impl->interface_op.base.nested_configurable.base.
+ configurable.ops)
+ {
+ AXIS2_FREE(env->allocator, interface_op_impl->interface_op.base.
+ nested_configurable.base.configurable.ops);
+ interface_op_impl->interface_op.base.nested_configurable.base.
+ configurable.ops = NULL;
+ }
+
+ if(interface_op_impl->interface_op.base.interface_op_element.base.
+ nested_element.ops)
+ {
+ AXIS2_FREE(env->allocator, interface_op_impl->interface_op.base.
+ interface_op_element.base.nested_element.ops);
+ interface_op_impl->interface_op.base.interface_op_element.base.
+ nested_element.ops = NULL;
+ }
+
+ if(interface_op_impl->interface_op.base.interface_op_element.base.
+ configurable_element.ops)
+ {
+ AXIS2_FREE(env->allocator, interface_op_impl->interface_op.base.
+ interface_op_element.base.configurable_element.ops);
+ interface_op_impl->interface_op.base.interface_op_element.base.
+ configurable_element.ops = NULL;
+ }
+
+ if(interface_op_impl->interface_op.base.interface_op_element.base.
+ documentable_element.ops)
+ {
+ AXIS2_FREE(env->allocator, interface_op_impl->interface_op.base.
+ interface_op_element.base.documentable_element.ops);
+ interface_op_impl->interface_op.base.interface_op_element.base.
+ documentable_element.ops = NULL;
+ }
+
+ if(interface_op_impl->interface_op.base.nested_configurable.base.
+ configurable.base.documentable.ops)
+ {
+ AXIS2_FREE(env->allocator, interface_op_impl->interface_op.base.
+ nested_configurable.base.configurable.base.documentable.ops);
+ interface_op_impl->interface_op.base.nested_configurable.base.
+ configurable.base.documentable.ops = NULL;
+ }
+
+ if(interface_op_impl->interface_op.base.interface_op_element.base.
+ documentable_element.wsdl_element.base.attr_extensible.ops)
+ {
+ AXIS2_FREE(env->allocator, interface_op_impl->interface_op.base.
+ interface_op_element.base.documentable_element.wsdl_element.base.
+ attr_extensible.ops);
+ interface_op_impl->interface_op.base.interface_op_element.base.
+ documentable_element.wsdl_element.base.attr_extensible.ops = NULL;
+ }
+
+ if(interface_op_impl->interface_op.base.interface_op_element.base.
+ documentable_element.wsdl_element.base.element_extensible.ops)
+ {
+ AXIS2_FREE(env->allocator, interface_op_impl->interface_op.base.
+ interface_op_element.base.documentable_element.wsdl_element.base.
+ element_extensible.ops);
+ interface_op_impl->interface_op.base.interface_op_element.base.
+ documentable_element.wsdl_element.base.element_extensible.ops = NULL;
+ }
+
+
+ return AXIS2_SUCCESS;
+}
+
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_free(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ interface_op_impl = INTF_TO_IMPL(interface_op);
+
+ if(interface_op_impl->f_qname)
+ {
+ AXIS2_QNAME_FREE(interface_op_impl->f_qname, env);
+ interface_op_impl->f_qname = NULL;
+ }
+
+ if(interface_op_impl->f_msg_exchange_pattern)
+ {
+ AXIS2_URI_FREE(interface_op_impl->f_msg_exchange_pattern, env);
+ interface_op_impl->f_msg_exchange_pattern = NULL;
+ }
+
+ if(interface_op_impl->f_style)
+ {
+ AXIS2_ARRAY_LIST_FREE(interface_op_impl->f_style, env);
+ interface_op_impl->f_style = NULL;
+ }
+
+ if(interface_op_impl->f_msg_refs)
+ {
+ AXIS2_ARRAY_LIST_FREE(interface_op_impl->f_msg_refs, env);
+ interface_op_impl->f_msg_refs = NULL;
+ }
+
+ if(interface_op_impl->f_fault_refs)
+ {
+ AXIS2_ARRAY_LIST_FREE(interface_op_impl->f_fault_refs, env);
+ interface_op_impl->f_fault_refs = NULL;
+ }
+
+ if(interface_op_impl->super)
+ {
+ axis2_hash_free(interface_op_impl->super, env);
+ interface_op_impl->super = NULL;
+ }
+
+ if(interface_op_impl->methods)
+ {
+ axis2_hash_free(interface_op_impl->methods, env);
+ interface_op_impl->methods = NULL;
+ }
+
+ if(interface_op_impl->nested_configurable)
+ {
+ WODEN_NESTED_CONFIGURABLE_FREE(interface_op_impl->
+ nested_configurable, env);
+ interface_op_impl->nested_configurable = NULL;
+ }
+
+ woden_interface_op_free_ops(interface_op, env);
+
+ if((&(interface_op_impl->interface_op))->ops)
+ {
+ AXIS2_FREE(env->allocator, (&(interface_op_impl->interface_op))->ops);
+ (&(interface_op_impl->interface_op))->ops = NULL;
+ }
+
+ if(interface_op_impl)
+ {
+ AXIS2_FREE(env->allocator, interface_op_impl);
+ interface_op_impl = NULL;
+ }
+ return AXIS2_SUCCESS;
+}
+
+axis2_hash_t *AXIS2_CALL
+woden_interface_op_super_objs(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ interface_op_impl = INTF_TO_IMPL(interface_op);
+
+ return interface_op_impl->super;
+}
+
+woden_obj_types_t AXIS2_CALL
+woden_interface_op_type(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ interface_op_impl = INTF_TO_IMPL(interface_op);
+
+ return interface_op_impl->obj_type;
+}
+
+woden_nested_configurable_t *AXIS2_CALL
+woden_interface_op_get_base_impl(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ interface_op_impl = INTF_TO_IMPL(interface_op);
+
+ return interface_op_impl->nested_configurable;
+}
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_resolve_methods(
+ woden_interface_op_t *interface_op,
+ const axis2_env_t *env,
+ woden_interface_op_t *interface_op_impl,
+ axis2_hash_t *methods)
+{
+ woden_interface_op_impl_t *interface_op_impl_l = NULL;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
+ interface_op_impl_l = INTF_TO_IMPL(interface_op_impl);
+
+ interface_op->ops->free = axis2_hash_get(methods, "free",
+ AXIS2_HASH_KEY_STRING);
+ interface_op->ops->super_objs = axis2_hash_get(methods, "super_objs",
+ AXIS2_HASH_KEY_STRING);
+ interface_op->ops->type = axis2_hash_get(methods, "type",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_op->ops->get_qname = axis2_hash_get(methods,
+ "get_qname", AXIS2_HASH_KEY_STRING);
+ if(!interface_op->ops->get_qname && interface_op_impl_l)
+ interface_op->ops->get_qname =
+ interface_op_impl_l->interface_op.ops->get_qname;
+
+ interface_op->ops->get_msg_exchange_pattern = axis2_hash_get(methods,
+ "get_msg_exchange_pattern", AXIS2_HASH_KEY_STRING);
+ if(!interface_op->ops->get_msg_exchange_pattern && interface_op_impl_l)
+ interface_op->ops->get_msg_exchange_pattern =
+ interface_op_impl_l->interface_op.ops->get_msg_exchange_pattern;
+
+ interface_op->ops->get_interface_msg_refs = axis2_hash_get(methods,
+ "get_interface_msg_refs", AXIS2_HASH_KEY_STRING);
+ if(!interface_op->ops->get_interface_msg_refs && interface_op_impl_l)
+ interface_op->ops->get_interface_msg_refs =
+ interface_op_impl_l->interface_op.ops->get_interface_msg_refs;
+
+ interface_op->ops->get_interface_fault_refs = axis2_hash_get(methods,
+ "get_interface_fault_refs", AXIS2_HASH_KEY_STRING);
+ if(!interface_op->ops->get_interface_fault_refs && interface_op_impl_l)
+ interface_op->ops->get_interface_fault_refs =
+ interface_op_impl_l->interface_op.ops->get_interface_fault_refs;
+
+ interface_op->ops->get_style = axis2_hash_get(methods,
+ "get_style", AXIS2_HASH_KEY_STRING);
+ if(!interface_op->ops->get_style && interface_op_impl_l)
+ interface_op->ops->get_style =
+ interface_op_impl_l->interface_op.ops->get_style;
+
+ interface_op->ops->to_element = axis2_hash_get(methods,
+ "to_element", AXIS2_HASH_KEY_STRING);
+ if(!interface_op->ops->to_element && interface_op_impl_l)
+ interface_op->ops->to_element =
+ interface_op_impl_l->interface_op.ops->to_element;
+
+ return AXIS2_SUCCESS;
+}
+
+/* ************************************************************
+ * Interface Operation methods (the WSDL Component model)
+ * ************************************************************/
+
+axis2_qname_t *AXIS2_CALL
+woden_interface_op_get_qname(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ super = WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
+ interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
+
+ return interface_op_impl->f_qname;
+}
+
+axis2_uri_t *AXIS2_CALL
+woden_interface_op_get_msg_exchange_pattern(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ super = WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
+ interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
+
+ return interface_op_impl->f_msg_exchange_pattern;
+}
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_op_get_interface_msg_refs(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ super = WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
+ interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
+
+ return interface_op_impl->f_msg_refs;
+}
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_op_get_interface_fault_refs(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ super = WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
+ interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
+
+ return interface_op_impl->f_fault_refs;
+}
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_op_get_style(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ super = WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
+ interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
+
+ return interface_op_impl->f_style;
+}
+
+void *AXIS2_CALL
+woden_interface_op_to_element(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ super = WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
+ interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
+
+ return &(interface_op_impl->interface_op);
+}
+
+/* ************************************************************
+ * Interface Operation Element methods (the XML Element model)
+ * ************************************************************/
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_set_qname(
+ void *interface_op,
+ const axis2_env_t *env,
+ axis2_qname_t *qname)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE);
+ super = WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
+ interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
+
+ if(interface_op_impl->f_qname)
+ {
+ AXIS2_QNAME_FREE(interface_op_impl->f_qname, env);
+ interface_op_impl->f_qname = NULL;
+ }
+ interface_op_impl->f_qname = AXIS2_QNAME_CLONE(qname, env);
+
+ return AXIS2_SUCCESS;
+}
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_set_pattern(
+ void *interface_op,
+ const axis2_env_t *env,
+ axis2_uri_t *uri)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK(env->error, uri, AXIS2_FAILURE);
+ super = WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
+ interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
+
+ if(interface_op_impl->f_msg_exchange_pattern)
+ {
+ AXIS2_URI_FREE(interface_op_impl->f_msg_exchange_pattern, env);
+ interface_op_impl->f_msg_exchange_pattern = NULL;
+ }
+ interface_op_impl->f_msg_exchange_pattern = AXIS2_URI_CLONE(uri, env);
+
+
+ return AXIS2_SUCCESS;
+}
+
+axis2_uri_t *AXIS2_CALL
+woden_interface_op_get_pattern(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ super = WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
+ interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
+
+ return interface_op_impl->f_msg_exchange_pattern;
+}
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_add_style_uri(
+ void *interface_op,
+ const axis2_env_t *env,
+ axis2_uri_t *uri)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK(env->error, uri, AXIS2_FAILURE);
+ super = WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
+ interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
+
+ if(!interface_op_impl->f_style)
+ {
+ interface_op_impl->f_style = axis2_array_list_create(env, 0);
+ if(!interface_op_impl->f_style)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ return AXIS2_FAILURE;
+ }
+ }
+ AXIS2_ARRAY_LIST_ADD(interface_op_impl->f_style, env, AXIS2_URI_CLONE(uri, env));
+ return AXIS2_SUCCESS;
+}
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_remove_style_uri(
+ void *interface_op,
+ const axis2_env_t *env,
+ axis2_uri_t *uri)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+ axis2_hash_t *super = NULL;
+ int index = 0;
+
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK(env->error, uri, AXIS2_FAILURE);
+ super = WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
+ interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
+
+ index = AXIS2_ARRAY_LIST_INDEX_OF(interface_op_impl->f_style, env, uri);
+ AXIS2_ARRAY_LIST_REMOVE(interface_op_impl->f_style, env, index);
+ return AXIS2_SUCCESS;
+}
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_add_interface_msg_ref_element(
+ void *interface_op,
+ const axis2_env_t *env,
+ void *msg_ref)
+{
+ woden_interface_op_impl_t *interface_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_INTERFACE_OP_SUPER_OBJS(interface_op, env);
+ interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
+
+ if(!interface_op_impl->f_msg_refs)
+ {
+ interface_op_impl->f_msg_refs = axis2_array_list_create(env, 0);
+ if(!interface_op_impl->f_msg_refs)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ return AXIS2_FAILURE;
+ }
+ }
+ AXIS2_ARRAY_LIST_ADD(interface_op_impl->f_msg_refs, env, msg_ref);
+
+ return AXIS2_SUCCESS;
+}
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_remove_interface_msg_ref_element(
+ void *interface_op,
+ const axis2_env_t *env,
+ void *msg_ref)
+{
+ woden_interface_op_impl_t *interface_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_INTERFACE_OP_SUPER_OBJS(interface_op, env);
+ interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
+
+ index = AXIS2_ARRAY_LIST_INDEX_OF(interface_op_impl->f_msg_refs, env, msg_ref);
+ AXIS2_ARRAY_LIST_REMOVE(interface_op_impl->f_msg_refs, env, index);
+ return AXIS2_SUCCESS;
+}
+
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_op_get_interface_msg_ref_elements(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ super = WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
+ interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
+
+ return interface_op_impl->f_msg_refs;
+}
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_add_interface_fault_ref_element(
+ void *interface_op,
+ const axis2_env_t *env,
+ void *fault_ref)
+{
+ woden_interface_op_impl_t *interface_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_INTERFACE_OP_SUPER_OBJS(interface_op, env);
+ interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
+
+ if(!interface_op_impl->f_fault_refs)
+ {
+ interface_op_impl->f_fault_refs = axis2_array_list_create(env, 0);
+ if(!interface_op_impl->f_fault_refs)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ return AXIS2_FAILURE;
+ }
+ }
+ AXIS2_ARRAY_LIST_ADD(interface_op_impl->f_fault_refs, env, fault_ref);
+
+ return AXIS2_SUCCESS;
+}
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_remove_interface_fault_ref_element(
+ void *interface_op,
+ const axis2_env_t *env,
+ void *fault_ref)
+{
+ woden_interface_op_impl_t *interface_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_INTERFACE_OP_SUPER_OBJS(interface_op, env);
+ interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
+
+ index = AXIS2_ARRAY_LIST_INDEX_OF(interface_op_impl->f_fault_refs, env, fault_ref);
+ AXIS2_ARRAY_LIST_REMOVE(interface_op_impl->f_fault_refs, env, index);
+ return AXIS2_SUCCESS;
+}
+
+
+axis2_array_list_t *AXIS2_CALL
+woden_interface_op_get_interface_fault_ref_elements(
+ void *interface_op,
+ const axis2_env_t *env)
+{
+ woden_interface_op_impl_t *interface_op_impl = NULL;
+ axis2_hash_t *super = NULL;
+
+ AXIS2_ENV_CHECK(env, NULL);
+ super = WODEN_INTERFACE_OP_SUPER_OBJS(interface_op, env);
+ interface_op_impl = INTF_TO_IMPL(axis2_hash_get(super,
+ "WODEN_INTERFACE_OP", AXIS2_HASH_KEY_STRING));
+
+ return interface_op_impl->f_fault_refs;
+}
+
+
+
Added: webservices/axis2/trunk/c/woden/src/wsdl/interface_op_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl/interface_op_element.c?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl/interface_op_element.c (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl/interface_op_element.c Wed Jul 5 23:02:19 2006
@@ -0,0 +1,88 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <woden_interface_op_element.h>
+
+axis2_status_t AXIS2_CALL
+woden_interface_op_element_resolve_methods(
+ woden_interface_op_element_t *interface_op_element,
+ const axis2_env_t *env,
+ axis2_hash_t *methods)
+{
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
+
+ interface_op_element->ops->free = axis2_hash_get(methods, "free",
+ AXIS2_HASH_KEY_STRING);
+ interface_op_element->ops->type = axis2_hash_get(methods, "type",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_op_element->ops->set_qname =
+ axis2_hash_get(methods, "set_qname",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_op_element->ops->get_qname =
+ axis2_hash_get(methods, "get_qname",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_op_element->ops->set_pattern =
+ axis2_hash_get(methods, "set_pattern",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_op_element->ops->get_pattern =
+ axis2_hash_get(methods, "get_pattern",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_op_element->ops->add_style_uri =
+ axis2_hash_get(methods, "add_style_uri",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_op_element->ops->remove_style_uri =
+ axis2_hash_get(methods, "remove_style_uri",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_op_element->ops->get_style =
+ axis2_hash_get(methods, "get_style",
+ AXIS2_HASH_KEY_STRING);
+
+
+ interface_op_element->ops->add_interface_msg_ref_element =
+ axis2_hash_get(methods, "add_interface_msg_ref_element",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_op_element->ops->remove_interface_msg_ref_element =
+ axis2_hash_get(methods, "remove_interface_msg_ref_element",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_op_element->ops->get_interface_msg_ref_elements =
+ axis2_hash_get(methods, "get_interface_msg_ref_elements",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_op_element->ops->add_interface_fault_ref_element =
+ axis2_hash_get(methods, "add_interface_fault_ref_element",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_op_element->ops->remove_interface_fault_ref_element =
+ axis2_hash_get(methods, "remove_interface_fault_ref_element",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_op_element->ops->get_interface_fault_ref_elements =
+ axis2_hash_get(methods, "get_interface_fault_ref_elements",
+ AXIS2_HASH_KEY_STRING);
+
+ return AXIS2_SUCCESS;
+}
+
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org