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 [33/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/wsdl10/woden_constants.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/woden_constants.h?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/woden_constants.h (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/woden_constants.h Wed Jul  5 23:02:19 2006
@@ -0,0 +1,162 @@
+/*
+ * 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.
+ */
+ 
+#ifndef WODEN_CONSTANTS_H
+#define WODEN_CONSTANTS_H
+
+/**
+ * @file woden_constants.h
+ * @brief Axis2 Xml Woden Constants
+ * Constants for WSDL 2.0 elements, attributes and URIs.
+ */
+ 
+#include <axis2_utils.h>
+
+#ifdef __cplusplus
+extern "C" 
+{
+#endif
+    
+/** @defgroup woden_constants 
+  * @ingroup woden
+  * @{
+  */
+/*********************************** Constansts********************************/
+/* Namespace URIs. */
+#define WODEN_NS_URI_WSDL20 "http://schemas.xmlsoap.org/wsdl"
+#define WODEN_NS_URI_XMLNS "http://www.w3.org/2000/xmlns/"
+#define WODEN_NS_URI_XSI "http://www.w3.org/2001/XMLSchema-instance"
+
+/* Top-level WSDL 2.0 element names. */
+#define WODEN_ELEM_DESCRIPTION "description"
+#define WODEN_ELEM_DOCUMENTATION "documentation"
+#define WODEN_ELEM_IMPORT "import"
+#define WODEN_ELEM_INCLUDE "include"
+#define WODEN_ELEM_TYPES "types"
+#define WODEN_ELEM_INTERFACE "portType"
+#define WODEN_ELEM_BINDING "binding"
+#define WODEN_ELEM_SERVICE "service"
+
+/* Nested WSDL 2.0 element names. */
+#define WODEN_ELEM_FAULT "fault"
+#define WODEN_ELEM_OPERATION "operation"
+#define WODEN_ELEM_INPUT "input"
+#define WODEN_ELEM_OUTPUT "output"
+#define WODEN_ELEM_INFAULT "infault"
+#define WODEN_ELEM_OUTFAULT "outfault"
+#define WODEN_ELEM_FEATURE "feature"
+#define WODEN_ELEM_PROPERTY "property"
+#define WODEN_ELEM_VALUE "value"
+#define WODEN_ELEM_CONSTRAINT "constraint"
+#define WODEN_ELEM_ENDPOINT "endpoint"
+#define WODEN_ELEM_PART "part"
+
+/* Top-level WSDL 2.0 qualified element names. */
+#define WODEN_Q_ELEM_DESCRIPTION "definitions|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_DOCUMENTATION "documentation|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_IMPORT "import|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_INCLUDE "include|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_TYPES "types|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_MSG_REF "message|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_PART "part|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_INTERFACE "portType|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_BINDING "binding|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_SERVICE "service|http://schemas.xmlsoap.org/wsdl"
+
+/* Nested WSDL 2.0 qualified element names. */
+#define WODEN_Q_ELEM_FAULT "fault|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_OPERATION "operation|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_INPUT "input|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_OUTPUT "output|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_INFAULT "infault|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_OUTFAULT "outfault|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_FEATURE "feature|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_PROPERTY "property|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_VALUE "value|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_CONSTRAINT "constraint|http://schemas.xmlsoap.org/wsdl"
+#define WODEN_Q_ELEM_ENDPOINT "endpoint|http://schemas.xmlsoap.org/wsdl"
+
+/* Attribute names. */
+#define WODEN_ATTR_ID "id"
+#define WODEN_ATTR_NAME "name"
+#define WODEN_ATTR_TARGET_NAMESPACE "targetNamespace"
+#define WODEN_ATTR_NAMESPACE "namespace"
+#define WODEN_ATTR_XMLNS "xmlns"
+#define WODEN_ATTR_EXTENDS "extends"
+#define WODEN_ATTR_STYLE_DEFAULT "styleDefault"
+#define WODEN_ATTR_ELEMENT "element"
+#define WODEN_ATTR_PATTERN "pattern"
+#define WODEN_ATTR_STYLE "style"
+#define WODEN_ATTR_MESSAGE_LABEL "messageLabel"
+#define WODEN_ATTR_REF "ref"
+#define WODEN_ATTR_REQUIRED "required"
+#define WODEN_ATTR_INTERFACE "type"
+#define WODEN_ATTR_TYPE "type"
+#define WODEN_ATTR_BINDING "binding"
+#define WODEN_ATTR_ADDRESS "address"
+#define WODEN_ATTR_LOCATION "location"
+#define WODEN_ATTR_MSG "message"
+
+/* Attribute values and NMTokens */
+#define WODEN_VALUE_EMPTY_STRING ""
+#define WODEN_VALUE_TRUE "true"
+#define WODEN_VALUE_FALSE "false"
+#define WODEN_NMTOKEN_VALUE "#value"
+#define WODEN_NMTOKEN_ANY "#any"
+#define WODEN_NMTOKEN_NONE "#none"
+#define WODEN_NMTOKEN_OTHER "#other"
+#define WODEN_NMTOKEN_ELEMENT "#element"
+
+/* Constants representing the values of the properties used to 
+ * configure the Woden runtime (i.e. different to WSDL 2.0 properties).
+ * These typically describe the standards, APIs, etc, supported by this 
+ * implementation of the Woden API.
+ * 
+ * The first part of the constant name indicates its usage:
+ * TYPE_  describes a supported type system, such as the W3C XML Schema.
+ * API_   describes a supported external API, such as DOM
+ */ 
+#define WODEN_TYPE_XSD_2001 "http://www.w3.org/2001/XMLSchema"
+#define WODEN_API_W3C_DOM "org.w3c.dom"
+#define WODEN_API_W3C_XS "http://www.w3.org/Submission/xmlschema-api/"   /*XML Schema API implemented in Xerces */
+#define WODEN_API_APACHE_WS_XS "org.apache.ws.commons.schema"   /*Apache WS-Commons XmlSchema */
+
+
+/* Qualified attribute names.*/
+#define WODEN_Q_ATTR_REQUIRED "required|http://schemas.xmlsoap.org/wsdl"
+
+/* XML Declaration string.*/
+#define WODEN_XML_DECL_DEFAULT "UTF-8"
+#define WODEN_XML_DECL_START "<?xml version=\"1.0\" encoding=\""
+#define WODEN_XML_DECL_END "\"?>"
+
+/* Feature names. */
+/* TODO org.apache and import optionality */
+#define WODEN_FEATURE_VERBOSE "verbose"
+#define WODEN_FEATURE_IMPORT_DOCUMENTS "import_documents"
+
+
+
+/*********************************** Constants*********************************/   
+   
+   
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* WODEN_CONSTANTS_H */
+
+

Added: webservices/axis2/trunk/c/woden/src/wsdl10/woden_wsdl10_component_model_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/woden_wsdl10_component_model_builder.h?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/woden_wsdl10_component_model_builder.h (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/woden_wsdl10_component_model_builder.h Wed Jul  5 23:02:19 2006
@@ -0,0 +1,73 @@
+/*
+ * 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.
+ */
+
+#ifndef WODEN_WSDL10_COMPONENT_MODEL_BUILDER_H
+#define WODEN_WSDL10_COMPONENT_MODEL_BUILDER_H
+
+/**
+ * @file woden_wsdl10_component_model_builder.h
+ * @brief Axis2 Compoment Model Builder Interface
+ * 
+ */
+
+#include <woden.h>
+
+/** @defgroup woden_wsdl10_component_model_builder Compoment Model Builder
+  * @ingroup axis2_wsdl
+  * @{
+  */
+
+typedef struct woden_wsdl10_component_model_builder woden_wsdl10_component_model_builder_t;
+typedef struct woden_wsdl10_component_model_builder_ops woden_wsdl10_component_model_builder_ops_t;
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+struct woden_wsdl10_component_model_builder_ops
+{
+   /** 
+     * Deallocate memory
+     * @return status code
+     */
+    axis2_status_t (AXIS2_CALL *
+    free) (void *component_model_builder,
+            const axis2_env_t *env);
+
+};
+
+struct woden_wsdl10_component_model_builder
+{
+    woden_wsdl10_component_model_builder_ops_t *ops;
+};
+
+AXIS2_EXTERN woden_wsdl10_component_model_builder_t *AXIS2_CALL 
+woden_wsdl10_component_model_builder_create(
+        const axis2_env_t *env,
+        void *desc);
+
+
+#define WODEN_WSDL10_COMPONENT_MODEL_BUILDER_FREE(component_model_builder, env) \
+      (((woden_wsdl10_component_model_builder_t *) component_model_builder)->ops->\
+       free(component_model_builder, env))
+
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+#endif /* WODEN_WSDL10_COMPONENT_MODEL_BUILDER_H */

Added: webservices/axis2/trunk/c/woden/src/wsdl10/xml/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/Makefile.am?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/Makefile.am (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/Makefile.am Wed Jul  5 23:02:19 2006
@@ -0,0 +1,20 @@
+noinst_LTLIBRARIES = libwoden_wsdl10_xml.la
+
+libwoden_wsdl10_xml_la_SOURCES = \
+							msg_ref_element.c \
+							part_element.c \
+							interface_fault_element.c \
+							interface_fault_ref_element.c \
+							interface_msg_ref_element.c \
+							binding_fault_element.c \
+							binding_msg_ref_element.c \
+							binding_op_element.c \
+							fault_ref_element.c \
+							desc_element.c \
+							endpoint_element.c \
+							svc_element.c
+
+INCLUDES = -I$(top_builddir)/include \
+			@AXIOMINC@ \
+			@UTILINC@ \
+			@XMLSCHEMAINC@

Added: webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_fault_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_fault_element.c?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_fault_element.c (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_fault_element.c Wed Jul  5 23:02:19 2006
@@ -0,0 +1,47 @@
+/*
+ * 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_binding_fault_element.h>
+
+axis2_status_t AXIS2_CALL
+woden_binding_fault_element_resolve_methods(
+        woden_binding_fault_element_t *binding_fault_element,
+        const axis2_env_t *env,
+        axis2_hash_t *methods)
+{
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
+    
+    binding_fault_element->ops->free = axis2_hash_get(methods, "free", 
+            AXIS2_HASH_KEY_STRING);
+    binding_fault_element->ops->type = axis2_hash_get(methods, "type", 
+            AXIS2_HASH_KEY_STRING);
+
+    binding_fault_element->ops->set_ref = 
+            axis2_hash_get(methods, "set_ref", 
+            AXIS2_HASH_KEY_STRING);
+
+    binding_fault_element->ops->get_ref = 
+            axis2_hash_get(methods, "get_ref", 
+            AXIS2_HASH_KEY_STRING);
+
+    binding_fault_element->ops->get_interface_fault_element = 
+            axis2_hash_get(methods, "get_interface_fault_element", 
+            AXIS2_HASH_KEY_STRING);
+
+    return AXIS2_SUCCESS;    
+}
+

Added: webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_msg_ref_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_msg_ref_element.c?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_msg_ref_element.c (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_msg_ref_element.c Wed Jul  5 23:02:19 2006
@@ -0,0 +1,51 @@
+/*
+ * 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_wsdl10_binding_msg_ref_element.h>
+
+axis2_status_t AXIS2_CALL
+woden_wsdl10_binding_msg_ref_element_resolve_methods(
+        woden_wsdl10_binding_msg_ref_element_t *binding_msg_ref_element,
+        const axis2_env_t *env,
+        axis2_hash_t *methods)
+{
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
+    
+    binding_msg_ref_element->ops->free = axis2_hash_get(methods, "free", 
+            AXIS2_HASH_KEY_STRING);
+    binding_msg_ref_element->ops->type = axis2_hash_get(methods, "type", 
+            AXIS2_HASH_KEY_STRING);
+
+    binding_msg_ref_element->ops->set_qname = 
+            axis2_hash_get(methods, "set_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    binding_msg_ref_element->ops->get_qname = 
+            axis2_hash_get(methods, "get_qname", 
+            AXIS2_HASH_KEY_STRING);
+ 
+    binding_msg_ref_element->ops->set_direction = 
+            axis2_hash_get(methods, "set_direction", 
+            AXIS2_HASH_KEY_STRING);
+
+    binding_msg_ref_element->ops->get_direction = 
+            axis2_hash_get(methods, "get_direction", 
+            AXIS2_HASH_KEY_STRING);
+
+    return AXIS2_SUCCESS;    
+}
+

Added: webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_op_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_op_element.c?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_op_element.c (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_op_element.c Wed Jul  5 23:02:19 2006
@@ -0,0 +1,71 @@
+/*
+ * 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_wsdl10_binding_op_element.h>
+
+axis2_status_t AXIS2_CALL
+woden_wsdl10_binding_op_element_resolve_methods(
+        woden_wsdl10_binding_op_element_t *binding_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);
+    
+    binding_op_element->ops->free = axis2_hash_get(methods, "free", 
+            AXIS2_HASH_KEY_STRING);
+    binding_op_element->ops->type = axis2_hash_get(methods, "type", 
+            AXIS2_HASH_KEY_STRING);
+
+    binding_op_element->ops->set_qname = 
+            axis2_hash_get(methods, "set_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    binding_op_element->ops->get_qname = 
+            axis2_hash_get(methods, "get_qname", 
+            AXIS2_HASH_KEY_STRING);
+ 
+    binding_op_element->ops->get_interface_op_element = 
+            axis2_hash_get(methods, "get_interface_op_element", 
+            AXIS2_HASH_KEY_STRING);
+   
+    binding_op_element->ops->add_binding_msg_ref_element = 
+            axis2_hash_get(methods, "add_binding_msg_ref_element", 
+            AXIS2_HASH_KEY_STRING);
+
+    binding_op_element->ops->remove_binding_msg_ref_element = 
+            axis2_hash_get(methods, "remove_binding_msg_ref_element", 
+            AXIS2_HASH_KEY_STRING);
+
+    binding_op_element->ops->get_binding_msg_ref_elements = 
+            axis2_hash_get(methods, "get_binding_msg_ref_elements", 
+            AXIS2_HASH_KEY_STRING);
+
+    binding_op_element->ops->add_binding_fault_ref_element = 
+            axis2_hash_get(methods, "add_binding_fault_ref_element", 
+            AXIS2_HASH_KEY_STRING);
+
+    binding_op_element->ops->remove_binding_fault_ref_element = 
+            axis2_hash_get(methods, "remove_binding_fault_ref_element", 
+            AXIS2_HASH_KEY_STRING);
+
+    binding_op_element->ops->get_binding_fault_ref_elements = 
+            axis2_hash_get(methods, "get_binding_fault_ref_elements", 
+            AXIS2_HASH_KEY_STRING);
+
+    return AXIS2_SUCCESS;    
+}
+

Added: webservices/axis2/trunk/c/woden/src/wsdl10/xml/desc_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/desc_element.c?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/desc_element.c (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/desc_element.c Wed Jul  5 23:02:19 2006
@@ -0,0 +1,122 @@
+/*
+ * 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_wsdl10_desc_element.h>
+
+axis2_status_t AXIS2_CALL
+woden_wsdl10_desc_element_resolve_methods(
+        woden_wsdl10_desc_element_t *desc_element,
+        const axis2_env_t *env,
+        axis2_hash_t *methods)
+{
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
+    
+    desc_element->ops->free = axis2_hash_get(methods, "free", 
+            AXIS2_HASH_KEY_STRING);
+    desc_element->ops->type = axis2_hash_get(methods, "type", 
+            AXIS2_HASH_KEY_STRING);
+
+    desc_element->ops->set_document_base_uri = axis2_hash_get(methods,
+            "set_document_base_uri", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->get_document_base_uri = axis2_hash_get(methods,
+            "get_document_base_uri", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->set_target_namespace = axis2_hash_get(methods,
+            "set_target_namespace", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->get_target_namespace = axis2_hash_get(methods,
+            "get_target_namespace", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->add_namespace = axis2_hash_get(methods,
+            "add_namespace", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->remove_namespace = axis2_hash_get(methods,
+            "remove_namespace", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->get_namespace = axis2_hash_get(methods,
+            "get_namespace", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->get_namespaces = axis2_hash_get(methods,
+            "get_namespaces", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->create_documentation_element = axis2_hash_get(methods,
+            "create_documentation_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->create_import_element = axis2_hash_get(methods,
+            "create_import_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->create_include_element = axis2_hash_get(methods,
+            "create_include_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->create_types_element = axis2_hash_get(methods,
+            "create_types_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->create_msg_element = axis2_hash_get(methods,
+            "create_msg_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->create_part_element = axis2_hash_get(methods,
+            "create_part_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->create_interface_element = axis2_hash_get(methods,
+            "create_interface_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->create_interface_op_element = axis2_hash_get(methods,
+            "create_interface_op_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->create_interface_fault_ref_element = axis2_hash_get(methods,
+            "create_interface_fault_ref_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->create_interface_msg_ref_element = axis2_hash_get(methods,
+            "create_interface_msg_ref_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->create_binding_element = axis2_hash_get(methods,
+            "create_binding_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->create_binding_op_element = axis2_hash_get(methods,
+            "create_binding_op_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->create_binding_fault_ref_element = axis2_hash_get(methods,
+            "create_binding_fault_ref_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->create_binding_msg_ref_element = axis2_hash_get(methods,
+            "create_binding_msg_ref_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->create_feature_element = axis2_hash_get(methods,
+            "create_feature_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->create_svc_element = axis2_hash_get(methods,
+            "create_svc_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->create_endpoint_element = axis2_hash_get(methods,
+            "create_endpoint_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->create_property_element = axis2_hash_get(methods,
+            "create_property_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->add_import_element = axis2_hash_get(methods,
+            "add_import_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->get_import_elements = axis2_hash_get(methods,
+            "get_import_elements", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->add_include_element = axis2_hash_get(methods,
+            "add_include_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->get_include_elements = axis2_hash_get(methods,
+            "get_include_elements", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->set_types_element = axis2_hash_get(methods,
+            "set_types_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->get_types_element = axis2_hash_get(methods,
+            "get_types_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->add_msg_element = axis2_hash_get(methods,
+            "add_msg_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->get_msg_elements = axis2_hash_get(methods,
+            "get_msg_elements", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->add_interface_element = axis2_hash_get(methods,
+            "add_interface_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->get_interface_elements = axis2_hash_get(methods,
+            "get_interface_elements", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->add_binding_element = axis2_hash_get(methods,
+            "add_binding_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->get_binding_elements = axis2_hash_get(methods,
+            "get_binding_elements", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->add_svc_element = axis2_hash_get(methods,
+            "add_svc_element", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->get_svc_elements = axis2_hash_get(methods,
+            "get_svc_elements", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->set_ext_registry = axis2_hash_get(methods,
+            "set_ext_registry", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->get_ext_registry = axis2_hash_get(methods,
+            "get_ext_registry", AXIS2_HASH_KEY_STRING);
+    desc_element->ops->to_component = axis2_hash_get(methods,
+            "to_component", AXIS2_HASH_KEY_STRING);
+
+    return AXIS2_SUCCESS;    
+}
+

Added: webservices/axis2/trunk/c/woden/src/wsdl10/xml/endpoint_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/endpoint_element.c?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/endpoint_element.c (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/endpoint_element.c Wed Jul  5 23:02:19 2006
@@ -0,0 +1,49 @@
+/*
+ * 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_wsdl10_endpoint_element.h>
+
+axis2_status_t AXIS2_CALL
+woden_wsdl10_endpoint_element_resolve_methods(
+        woden_wsdl10_endpoint_element_t *endpoint_element,
+        const axis2_env_t *env,
+        axis2_hash_t *methods)
+{
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
+    
+    endpoint_element->ops->free = axis2_hash_get(methods, "free", 
+            AXIS2_HASH_KEY_STRING);
+    endpoint_element->ops->type = axis2_hash_get(methods, "type", 
+            AXIS2_HASH_KEY_STRING);
+    endpoint_element->ops->set_name = axis2_hash_get(methods,
+            "set_name", AXIS2_HASH_KEY_STRING);
+    endpoint_element->ops->get_name = axis2_hash_get(methods,
+            "get_name", AXIS2_HASH_KEY_STRING);
+    endpoint_element->ops->set_binding_qname = axis2_hash_get(methods,
+            "set_binding_qname", AXIS2_HASH_KEY_STRING);
+    endpoint_element->ops->get_binding_qname = axis2_hash_get(methods,
+            "get_binding_qname", AXIS2_HASH_KEY_STRING);
+    endpoint_element->ops->get_binding_element = axis2_hash_get(methods,
+            "get_binding_element", AXIS2_HASH_KEY_STRING);
+    endpoint_element->ops->set_address = axis2_hash_get(methods,
+            "set_address", AXIS2_HASH_KEY_STRING);
+    endpoint_element->ops->get_address = axis2_hash_get(methods,
+            "get_address", AXIS2_HASH_KEY_STRING);
+
+    return AXIS2_SUCCESS;    
+}
+

Added: webservices/axis2/trunk/c/woden/src/wsdl10/xml/fault_ref_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/fault_ref_element.c?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/fault_ref_element.c (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/fault_ref_element.c Wed Jul  5 23:02:19 2006
@@ -0,0 +1,59 @@
+/*
+ * 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_fault_ref_element.h>
+
+axis2_status_t AXIS2_CALL
+woden_fault_ref_element_resolve_methods(
+        woden_interface_fault_ref_element_t *interface_fault_ref_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_fault_ref_element->ops->free = axis2_hash_get(methods, "free", 
+            AXIS2_HASH_KEY_STRING);
+    interface_fault_ref_element->ops->type = axis2_hash_get(methods, "type", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_fault_ref_element->ops->set_ref = 
+            axis2_hash_get(methods, "set_ref", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_fault_ref_element->ops->get_ref = 
+            axis2_hash_get(methods, "get_ref", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_fault_ref_element->ops->set_msg_label = 
+            axis2_hash_get(methods, "set_msg_label", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_fault_ref_element->ops->get_msg_label = 
+            axis2_hash_get(methods, "get_msg_label", 
+            AXIS2_HASH_KEY_STRING);
+    
+    interface_fault_ref_element->ops->set_direction = 
+            axis2_hash_get(methods, "set_direction", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_fault_ref_element->ops->get_direction = 
+            axis2_hash_get(methods, "get_direction", 
+            AXIS2_HASH_KEY_STRING);
+
+    return AXIS2_SUCCESS;    
+}
+

Added: webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_fault_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_fault_element.c?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_fault_element.c (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_fault_element.c Wed Jul  5 23:02:19 2006
@@ -0,0 +1,56 @@
+/*
+ * 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_fault_element.h>
+
+axis2_status_t AXIS2_CALL
+woden_interface_fault_element_resolve_methods(
+        woden_interface_fault_element_t *interface_fault_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_fault_element->ops->free = axis2_hash_get(methods, "free", 
+            AXIS2_HASH_KEY_STRING);
+    interface_fault_element->ops->type = axis2_hash_get(methods, "type", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_fault_element->ops->set_qname = 
+            axis2_hash_get(methods, "set_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_fault_element->ops->get_qname = 
+            axis2_hash_get(methods, "get_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_fault_element->ops->set_element_qname = 
+            axis2_hash_get(methods, "set_element_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_fault_element->ops->get_element_qname = 
+            axis2_hash_get(methods, "get_element_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_fault_element->ops->get_element = 
+            axis2_hash_get(methods, "get_element", 
+            AXIS2_HASH_KEY_STRING);
+
+    return AXIS2_SUCCESS;    
+}
+

Added: webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_fault_ref_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_fault_ref_element.c?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_fault_ref_element.c (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_fault_ref_element.c Wed Jul  5 23:02:19 2006
@@ -0,0 +1,59 @@
+/*
+ * 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_wsdl10_interface_fault_ref_element.h>
+
+axis2_status_t AXIS2_CALL
+woden_wsdl10_interface_fault_ref_element_resolve_methods(
+        woden_wsdl10_interface_fault_ref_element_t *interface_fault_ref_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_fault_ref_element->ops->free = axis2_hash_get(methods, "free", 
+            AXIS2_HASH_KEY_STRING);
+    interface_fault_ref_element->ops->type = axis2_hash_get(methods, "type", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_fault_ref_element->ops->set_qname = 
+            axis2_hash_get(methods, "set_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_fault_ref_element->ops->get_qname = 
+            axis2_hash_get(methods, "get_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_fault_ref_element->ops->set_msg_qname = 
+            axis2_hash_get(methods, "set_msg_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_fault_ref_element->ops->get_msg_qname = 
+            axis2_hash_get(methods, "get_msg_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_fault_ref_element->ops->set_direction = 
+            axis2_hash_get(methods, "set_direction", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_fault_ref_element->ops->get_direction = 
+            axis2_hash_get(methods, "get_direction", 
+            AXIS2_HASH_KEY_STRING);
+
+    return AXIS2_SUCCESS;    
+}
+

Added: webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_msg_ref_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_msg_ref_element.c?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_msg_ref_element.c (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_msg_ref_element.c Wed Jul  5 23:02:19 2006
@@ -0,0 +1,67 @@
+/*
+ * 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_wsdl10_interface_msg_ref_element.h>
+
+axis2_status_t AXIS2_CALL
+woden_wsdl10_interface_msg_ref_element_resolve_methods(
+        woden_wsdl10_interface_msg_ref_element_t *interface_msg_ref_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_msg_ref_element->ops->free = axis2_hash_get(methods, "free", 
+            AXIS2_HASH_KEY_STRING);
+    interface_msg_ref_element->ops->type = axis2_hash_get(methods, "type", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_msg_ref_element->ops->set_qname = 
+            axis2_hash_get(methods, "set_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_msg_ref_element->ops->get_qname = 
+            axis2_hash_get(methods, "get_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_msg_ref_element->ops->set_msg = 
+            axis2_hash_get(methods, "set_msg", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_msg_ref_element->ops->get_msg = 
+            axis2_hash_get(methods, "get_msg", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_msg_ref_element->ops->set_msg_qname = 
+            axis2_hash_get(methods, "set_msg_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_msg_ref_element->ops->get_msg_qname = 
+            axis2_hash_get(methods, "get_msg_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_msg_ref_element->ops->set_direction = 
+            axis2_hash_get(methods, "set_direction", 
+            AXIS2_HASH_KEY_STRING);
+
+    interface_msg_ref_element->ops->get_direction = 
+            axis2_hash_get(methods, "get_direction", 
+            AXIS2_HASH_KEY_STRING);
+
+    return AXIS2_SUCCESS;    
+}
+

Added: webservices/axis2/trunk/c/woden/src/wsdl10/xml/msg_ref_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/msg_ref_element.c?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/msg_ref_element.c (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/msg_ref_element.c Wed Jul  5 23:02:19 2006
@@ -0,0 +1,51 @@
+/*
+ * 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_wsdl10_msg_ref_element.h>
+
+axis2_status_t AXIS2_CALL
+woden_wsdl10_msg_ref_element_resolve_methods(
+        woden_wsdl10_msg_ref_element_t *msg_ref_element,
+        const axis2_env_t *env,
+        axis2_hash_t *methods)
+{
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
+    
+    msg_ref_element->ops->free = axis2_hash_get(methods, "free", 
+            AXIS2_HASH_KEY_STRING);
+    msg_ref_element->ops->type = axis2_hash_get(methods, "type", 
+            AXIS2_HASH_KEY_STRING);
+
+    msg_ref_element->ops->set_part = 
+            axis2_hash_get(methods, "set_part", 
+            AXIS2_HASH_KEY_STRING);
+
+    msg_ref_element->ops->get_part = 
+            axis2_hash_get(methods, "get_part", 
+            AXIS2_HASH_KEY_STRING);
+ 
+    msg_ref_element->ops->set_qname = 
+            axis2_hash_get(methods, "set_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    msg_ref_element->ops->get_qname = 
+            axis2_hash_get(methods, "get_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    return AXIS2_SUCCESS;    
+}
+

Added: webservices/axis2/trunk/c/woden/src/wsdl10/xml/part_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/part_element.c?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/part_element.c (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/part_element.c Wed Jul  5 23:02:19 2006
@@ -0,0 +1,57 @@
+/*
+ * 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_wsdl10_part_element.h>
+
+axis2_status_t AXIS2_CALL
+woden_wsdl10_part_element_resolve_methods(
+        woden_wsdl10_part_element_t *part_element,
+        const axis2_env_t *env,
+        axis2_hash_t *methods)
+{
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
+    
+    part_element->ops->free = axis2_hash_get(methods, "free", 
+            AXIS2_HASH_KEY_STRING);
+    part_element->ops->type = axis2_hash_get(methods, "type", 
+            AXIS2_HASH_KEY_STRING);
+
+    part_element->ops->set_element_qname = 
+            axis2_hash_get(methods, "set_element_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    part_element->ops->get_element_qname = 
+            axis2_hash_get(methods, "get_element_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+
+    part_element->ops->get_element = 
+            axis2_hash_get(methods, "get_element", 
+            AXIS2_HASH_KEY_STRING);
+
+   
+    part_element->ops->set_qname = 
+            axis2_hash_get(methods, "set_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    part_element->ops->get_qname = 
+            axis2_hash_get(methods, "get_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    return AXIS2_SUCCESS;    
+}
+

Added: webservices/axis2/trunk/c/woden/src/wsdl10/xml/svc_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/svc_element.c?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/svc_element.c (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/svc_element.c Wed Jul  5 23:02:19 2006
@@ -0,0 +1,49 @@
+/*
+ * 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_wsdl10_svc_element.h>
+
+axis2_status_t AXIS2_CALL
+woden_wsdl10_svc_element_resolve_methods(
+        woden_wsdl10_svc_element_t *svc_element,
+        const axis2_env_t *env,
+        axis2_hash_t *methods)
+{
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
+    
+    svc_element->ops->free = axis2_hash_get(methods, "free", 
+            AXIS2_HASH_KEY_STRING);
+    svc_element->ops->type = axis2_hash_get(methods, "type", 
+            AXIS2_HASH_KEY_STRING);
+    svc_element->ops->set_qname = axis2_hash_get(methods,
+            "set_qname", AXIS2_HASH_KEY_STRING);
+    svc_element->ops->get_qname = axis2_hash_get(methods,
+            "get_qname", AXIS2_HASH_KEY_STRING);
+    svc_element->ops->set_interface_qname = axis2_hash_get(methods,
+            "set_interface_qname", AXIS2_HASH_KEY_STRING);
+    svc_element->ops->get_interface_qname = axis2_hash_get(methods,
+            "get_interface_qname", AXIS2_HASH_KEY_STRING);
+    svc_element->ops->get_interface_element = axis2_hash_get(methods,
+            "get_interface_element", AXIS2_HASH_KEY_STRING);
+    svc_element->ops->add_endpoint_element = axis2_hash_get(methods,
+            "add_endpoint_element", AXIS2_HASH_KEY_STRING);
+    svc_element->ops->get_endpoint_elements = axis2_hash_get(methods,
+            "get_endpoint_elements", AXIS2_HASH_KEY_STRING);
+
+    return AXIS2_SUCCESS;    
+}
+

Added: webservices/axis2/trunk/c/woden/src/wsdl20/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/Makefile.am?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/Makefile.am (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/Makefile.am Wed Jul  5 23:02:19 2006
@@ -0,0 +1,33 @@
+SUBDIRS = xml extensions
+lib_LTLIBRARIES = libwoden_wsdl20.la
+
+libwoden_wsdl20_la_SOURCES = \
+							interface_fault.c \
+							interface_fault_ref.c \
+							interface_msg_ref.c \
+							binding_fault.c \
+							binding_msg_ref.c \
+							binding_op.c \
+							endpoint.c \
+							svc.c \
+							desc.c \
+							component_model_builder.c
+
+libwoden_wsdl20_la_LIBADD =  \
+                    $(top_builddir)/src/xml/libwoden_xml.la \
+                    $(top_builddir)/src/util/libwoden_util.la \
+                    $(top_builddir)/src/types/libwoden_types.la \
+                    $(top_builddir)/src/builder/libwoden_builder.la \
+                    $(top_builddir)/src/schema/libwoden_schema.la \
+                    $(top_builddir)/src/wsdl20/xml/libwoden_wsdl20_xml.la \
+                    $(top_builddir)/src/wsdl20/extensions/libwoden_extensions.la \
+                    $(top_builddir)/src/wsdl20/extensions/soap/libwoden_extensions_soap.la \
+                    $(top_builddir)/src/wsdl/libwoden_wsdl.la
+
+INCLUDES = -I$(top_builddir)/include \
+			@AXIOMINC@ \
+			@UTILINC@ \
+			@XMLSCHEMAINC@
+
+EXTRA_DIST = woden_constants.h
+

Added: webservices/axis2/trunk/c/woden/src/wsdl20/binding.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/binding.c?rev=419452&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/binding.c (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/binding.c Wed Jul  5 23:02:19 2006
@@ -0,0 +1,1259 @@
+/*
+ * 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_binding.h>
+#include <woden_ext_element.h>
+#include <woden_component_exts.h>
+#include <woden_xml_attr.h>
+#include <woden_documentation_element.h>
+#include <woden_binding_fault_element.h>
+#include <woden_interface.h>
+#include <woden_binding_op_element.h>
+#include <woden_element_extensible.h>
+
+typedef struct woden_binding_impl woden_binding_impl_t;
+
+/** 
+ * @brief Binding Struct Impl
+ *   Axis2 Binding  
+ */ 
+struct woden_binding_impl
+{
+    woden_binding_t binding;
+    woden_configurable_t *configurable;
+    woden_obj_types_t obj_type;
+    axis2_hash_t *super;
+    axis2_hash_t *methods;
+    axis2_array_list_t *f_extended_bindings;
+    axis2_qname_t *f_qname;
+    axis2_qname_t *f_interface_qname;
+    void *f_interface;
+    axis2_uri_t *f_type;
+    /*
+     * Binding faults and operations may be referred to specifically by the qname represented by
+     * their 'ref' attribute. This typically suggests a Map implementation keyed by 'ref' qname. 
+     * However if the validation feature is disabled, it is possible that the 'ref' attribute may 
+     * be missing, which will cause a null key problem if a Map is used.
+     * To avoid this problem, binding faults and operations will be stored in Lists instead. 
+     * This will avoid any null key issues, however it will make the implementation of 'ref' based
+     * access more complicated. 
+     */
+    axis2_array_list_t *f_faults;
+    axis2_array_list_t *f_ops;
+};
+
+#define INTF_TO_IMPL(binding) ((woden_binding_impl_t *) binding)
+
+axis2_status_t AXIS2_CALL 
+woden_binding_free(
+        void *binding,
+        const axis2_env_t *env);
+
+axis2_hash_t *AXIS2_CALL 
+woden_binding_super_objs(
+        void *binding,
+        const axis2_env_t *env);
+
+woden_obj_types_t AXIS2_CALL 
+woden_binding_type(
+        void *binding,
+        const axis2_env_t *env);
+
+woden_configurable_t *AXIS2_CALL
+woden_binding_get_base_impl(
+        void *binding,
+        const axis2_env_t *env);
+
+/* ************************************************************
+ *  Binding interface methods (the WSDL Component model)
+ * ************************************************************/
+axis2_qname_t *AXIS2_CALL
+woden_binding_get_qname(
+        void *binding,
+        const axis2_env_t *env);
+
+void *AXIS2_CALL
+woden_binding_get_interface(
+        void *binding,
+        const axis2_env_t *env);
+
+axis2_uri_t *AXIS2_CALL
+woden_binding_get_type(
+        void *binding,
+        const axis2_env_t *env);
+
+axis2_array_list_t *AXIS2_CALL
+woden_binding_get_binding_faults(
+        void *binding,
+        const axis2_env_t *env);
+
+axis2_array_list_t *AXIS2_CALL
+woden_binding_get_binding_ops(
+        void *binding,
+        const axis2_env_t *env);
+
+void *AXIS2_CALL
+woden_binding_to_element(
+        void *binding,
+        const axis2_env_t *env);
+
+/* ************************************************************
+ *  Binding Element interface methods (the XML Element model)
+ * ************************************************************/
+axis2_status_t AXIS2_CALL
+woden_binding_set_qname(
+        void *binding,
+        const axis2_env_t *env,
+        axis2_qname_t *qname);
+
+axis2_status_t AXIS2_CALL
+woden_binding_set_interface_qname(
+        void *binding,
+        const axis2_env_t *env,
+        axis2_qname_t *qname);
+
+axis2_qname_t *AXIS2_CALL
+woden_binding_get_interface_qname(
+        void *binding,
+        const axis2_env_t *env);
+
+void *AXIS2_CALL
+woden_binding_get_interface_element(
+        void *binding,
+        const axis2_env_t *env);
+
+axis2_status_t AXIS2_CALL
+woden_binding_set_type(
+        void *binding,
+        const axis2_env_t *env,
+        axis2_uri_t *type);
+
+axis2_status_t AXIS2_CALL
+woden_binding_add_binding_fault_element(
+        void *binding,
+        const axis2_env_t *env,
+        void *fault);
+
+axis2_array_list_t *AXIS2_CALL
+woden_binding_get_binding_fault_elements(
+        void *binding,
+        const axis2_env_t *env);
+
+axis2_status_t AXIS2_CALL
+woden_binding_add_binding_op_element(
+        void *binding,
+        const axis2_env_t *env,
+        void *op);
+
+axis2_array_list_t *AXIS2_CALL
+woden_binding_get_binding_op_elements(
+        void *binding,
+        const axis2_env_t *env);
+
+/* ************************************************************
+ *  Non-API implementation methods
+ * ************************************************************/
+void *AXIS2_CALL
+woden_binding_get_binding_fault_element(
+        void *binding,
+        const axis2_env_t *env,
+        axis2_qname_t *qname);
+
+void *AXIS2_CALL
+woden_binding_get_binding_op_element(
+        void *binding,
+        const axis2_env_t *env,
+        axis2_qname_t *qname);
+
+axis2_status_t AXIS2_CALL
+woden_binding_set_interface_element(
+        void *binding,
+        const axis2_env_t *env,
+        void *interface);
+
+static woden_binding_t *
+create(const axis2_env_t *env);
+
+static axis2_status_t
+woden_binding_free_ops(
+        void *binding,
+        const axis2_env_t *env);
+
+/************************Woden C Internal Methods******************************/
+AXIS2_EXTERN woden_binding_t * AXIS2_CALL
+woden_binding_to_binding_element(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+   
+    AXIS2_ENV_CHECK(env, NULL);
+    if(!binding)
+    {
+        binding_impl = (woden_binding_impl_t *) create(env);
+    }
+    else
+        binding_impl = (woden_binding_impl_t *) binding;
+    woden_binding_free_ops(binding, env);
+
+    binding_impl->binding.base.binding_element.ops = 
+        AXIS2_MALLOC(env->allocator, 
+                sizeof(woden_binding_element_ops_t));
+    woden_binding_element_resolve_methods(&(binding_impl->binding.base.
+            binding_element), env, binding_impl->methods);
+    return binding;
+}
+
+AXIS2_EXTERN woden_binding_t * AXIS2_CALL
+woden_binding_to_configurable_element(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+   
+    AXIS2_ENV_CHECK(env, NULL);
+    if(!binding)
+    {
+        binding_impl = (woden_binding_impl_t *) create(env);
+    }
+    else
+        binding_impl = (woden_binding_impl_t *) binding;
+    woden_binding_free_ops(binding, env);
+
+    binding_impl->binding.base.binding_element.base.configurable_element.ops = 
+        AXIS2_MALLOC(env->allocator, 
+                sizeof(woden_configurable_element_ops_t));
+    woden_configurable_element_resolve_methods(&(binding_impl->binding.base.
+            binding_element.base.configurable_element), env, binding_impl->methods);
+    return binding;
+}
+
+AXIS2_EXTERN woden_binding_t * AXIS2_CALL
+woden_binding_to_documentable_element(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+   
+    AXIS2_ENV_CHECK(env, NULL);
+    if(!binding)
+    {
+        binding_impl = (woden_binding_impl_t *) create(env);
+    }
+    else
+        binding_impl = (woden_binding_impl_t *) binding;
+    woden_binding_free_ops(binding, env);
+
+    binding_impl->binding.base.binding_element.base.documentable_element.ops = 
+        AXIS2_MALLOC(env->allocator, 
+                sizeof(woden_documentable_element_ops_t));
+    woden_documentable_element_resolve_methods(&(binding_impl->binding.base.
+            binding_element.base.documentable_element), env, 
+            binding_impl->methods);
+    return binding;
+}
+
+AXIS2_EXTERN woden_binding_t * AXIS2_CALL
+woden_binding_to_documentable(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+   
+    AXIS2_ENV_CHECK(env, NULL);
+    if(!binding)
+    {
+        binding_impl = (woden_binding_impl_t *) create(env);
+    }
+    else
+        binding_impl = (woden_binding_impl_t *) binding;
+
+    woden_binding_free_ops(binding, env);
+
+    binding_impl->binding.base.configurable.base.documentable.ops = 
+        AXIS2_MALLOC(env->allocator, 
+                sizeof(woden_documentable_ops_t));
+    woden_documentable_resolve_methods(&(binding_impl->binding.base.
+            configurable.base.documentable), env, NULL,
+            binding_impl->methods);
+    return binding;
+}
+
+AXIS2_EXTERN woden_binding_t * AXIS2_CALL
+woden_binding_to_configurable(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+   
+    AXIS2_ENV_CHECK(env, NULL);
+    if(!binding)
+    {
+        binding_impl = (woden_binding_impl_t *) create(env);
+    }
+    else
+        binding_impl = (woden_binding_impl_t *) binding;
+    woden_binding_free_ops(binding, env);
+
+    binding_impl->binding.base.configurable.ops = 
+        AXIS2_MALLOC(env->allocator, 
+                sizeof(woden_configurable_ops_t));
+    woden_configurable_resolve_methods(&(binding_impl->binding.base.
+            configurable), env, binding_impl->configurable, 
+            binding_impl->methods);
+    return binding;
+}
+
+AXIS2_EXTERN woden_binding_t * AXIS2_CALL
+woden_binding_to_wsdl_obj(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+    void *documentable = NULL;
+    void *wsdl_obj = NULL;
+    
+    AXIS2_ENV_CHECK(env, NULL);
+    if(!binding)
+    {
+        binding_impl = (woden_binding_impl_t *) create(env);
+    }
+    else
+        binding_impl = (woden_binding_impl_t *) binding;
+    woden_binding_free_ops(binding, env);
+
+    binding_impl->binding.base.configurable.
+        base.documentable.base.wsdl_obj.ops = AXIS2_MALLOC(env->allocator, 
+                sizeof(woden_wsdl_obj_ops_t));
+    documentable = WODEN_CONFIGURABLE_GET_BASE_IMPL(
+            binding_impl->configurable, env);
+    wsdl_obj = WODEN_DOCUMENTABLE_GET_BASE_IMPL(
+            documentable, env);
+    woden_wsdl_obj_resolve_methods(&(binding_impl->binding.base.
+            configurable.base.documentable.base.wsdl_obj), 
+            env, wsdl_obj, binding_impl->methods);
+    return binding;
+}
+
+AXIS2_EXTERN woden_binding_t * AXIS2_CALL
+woden_binding_to_wsdl_component(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+    
+    AXIS2_ENV_CHECK(env, NULL);
+    if(!binding)
+    {
+        binding_impl = (woden_binding_impl_t *) create(env);
+    }
+    else
+        binding_impl = (woden_binding_impl_t *) binding;
+    woden_binding_free_ops(binding, env);
+
+    binding_impl->binding.base.configurable.base.
+        configurable_component.wsdl_component.ops = AXIS2_MALLOC(env->allocator, 
+                sizeof(woden_wsdl_component_ops_t));
+    woden_wsdl_component_resolve_methods(&(binding_impl->binding.base.
+            configurable.base.configurable_component.wsdl_component), 
+            env, binding_impl->methods);
+    return binding;
+}
+
+AXIS2_EXTERN woden_binding_t * AXIS2_CALL
+woden_binding_to_attr_extensible(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+   
+    AXIS2_ENV_CHECK(env, NULL);
+    if(!binding)
+    {
+        binding_impl = (woden_binding_impl_t *) create(env);
+    }
+    else
+        binding_impl = (woden_binding_impl_t *) binding;
+    woden_binding_free_ops(binding, env);
+
+    binding_impl->binding.base.binding_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(&(binding_impl->binding.base.
+            binding_element.base.documentable_element.
+            wsdl_element.base.attr_extensible), env, NULL, binding_impl->methods);
+    return binding;
+}
+
+AXIS2_EXTERN woden_binding_t * AXIS2_CALL
+woden_binding_to_element_extensible(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+   
+    AXIS2_ENV_CHECK(env, NULL);
+    if(!binding)
+    {
+        binding_impl = (woden_binding_impl_t *) create(env);
+    }
+    else
+        binding_impl = (woden_binding_impl_t *) binding;
+    woden_binding_free_ops(binding, env);
+
+    binding_impl->binding.base.binding_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(&(binding_impl->binding.base.
+            binding_element.base.documentable_element.
+            wsdl_element.base.element_extensible), env, NULL, binding_impl->methods);
+    return binding;
+}
+
+
+/************************End of Woden C Internal Methods***********************/
+static woden_binding_t *
+create(const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+   
+    AXIS2_ENV_CHECK(env, NULL);
+    binding_impl = AXIS2_MALLOC(env->allocator, 
+                    sizeof(woden_binding_impl_t));
+
+    binding_impl->obj_type= WODEN_BINDING;
+    binding_impl->super = NULL;
+    binding_impl->methods = NULL;
+    binding_impl->f_qname = NULL;
+    binding_impl->f_interface_qname = NULL;
+    binding_impl->f_interface = NULL;
+    binding_impl->f_type = NULL;
+    binding_impl->f_faults = NULL;
+    binding_impl->f_ops = NULL;
+    
+    binding_impl->binding.base.binding_element.ops = NULL;
+    binding_impl->binding.base.binding_element.base.documentable_element.ops = NULL;
+    binding_impl->binding.base.configurable.base.documentable.ops = NULL;
+    binding_impl->binding.base.binding_element.base.configurable_element.ops = NULL;
+    binding_impl->binding.base.configurable.ops = NULL;
+    
+    binding_impl->binding.ops = AXIS2_MALLOC(env->allocator, 
+            sizeof(woden_binding_ops_t));
+
+    binding_impl->binding.ops->free = woden_binding_free;
+    binding_impl->binding.ops->super_objs = woden_binding_super_objs;
+    binding_impl->binding.ops->type = woden_binding_type;
+    binding_impl->binding.ops->get_base_impl = woden_binding_get_base_impl;
+    
+    binding_impl->binding.ops->get_qname = woden_binding_get_qname;
+    binding_impl->binding.ops->get_interface = woden_binding_get_interface;
+    binding_impl->binding.ops->get_type = woden_binding_get_type;
+    binding_impl->binding.ops->get_binding_faults = 
+        woden_binding_get_binding_faults;
+    binding_impl->binding.ops->get_binding_ops = 
+        woden_binding_get_binding_ops;
+    binding_impl->binding.ops->to_element = woden_binding_to_element;
+    binding_impl->binding.ops->get_binding_fault_element = 
+        woden_binding_get_binding_fault_element;
+    binding_impl->binding.ops->get_binding_op_element = 
+        woden_binding_get_binding_op_element;
+    binding_impl->binding.ops->set_interface_element = 
+        woden_binding_set_interface_element;
+ 
+    binding_impl->methods = axis2_hash_make(env);
+    if(!binding_impl->methods) 
+    {
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        return NULL;
+    }
+    axis2_hash_set(binding_impl->methods, "free", AXIS2_HASH_KEY_STRING, 
+            woden_binding_free);
+    axis2_hash_set(binding_impl->methods, "super_objs", 
+            AXIS2_HASH_KEY_STRING, woden_binding_super_objs);
+    axis2_hash_set(binding_impl->methods, "type", 
+            AXIS2_HASH_KEY_STRING, woden_binding_type);
+
+    axis2_hash_set(binding_impl->methods, "get_qname", 
+            AXIS2_HASH_KEY_STRING, 
+            woden_binding_get_qname);
+    axis2_hash_set(binding_impl->methods, "get_interface", 
+            AXIS2_HASH_KEY_STRING, 
+            woden_binding_get_interface);
+    axis2_hash_set(binding_impl->methods, "get_type", 
+            AXIS2_HASH_KEY_STRING, 
+            woden_binding_get_type);
+    axis2_hash_set(binding_impl->methods, "get_binding_faults", 
+            AXIS2_HASH_KEY_STRING, 
+            woden_binding_get_binding_faults);
+    axis2_hash_set(binding_impl->methods, "get_binding_ops", 
+            AXIS2_HASH_KEY_STRING, 
+            woden_binding_get_binding_ops);
+    axis2_hash_set(binding_impl->methods, "to_element", 
+            AXIS2_HASH_KEY_STRING, 
+            woden_binding_to_element);
+    axis2_hash_set(binding_impl->methods, "set_qname", 
+            AXIS2_HASH_KEY_STRING, 
+            woden_binding_set_qname);
+    axis2_hash_set(binding_impl->methods, "set_interface_qname", 
+            AXIS2_HASH_KEY_STRING, 
+            woden_binding_set_interface_qname);
+    axis2_hash_set(binding_impl->methods, "get_interface_qname", 
+            AXIS2_HASH_KEY_STRING, 
+            woden_binding_get_interface_qname);
+    axis2_hash_set(binding_impl->methods, "get_interface_element", 
+            AXIS2_HASH_KEY_STRING, 
+            woden_binding_get_interface_element);
+    axis2_hash_set(binding_impl->methods, "set_type", 
+            AXIS2_HASH_KEY_STRING, 
+            woden_binding_set_type);
+    axis2_hash_set(binding_impl->methods, "add_binding_fault_element", 
+            AXIS2_HASH_KEY_STRING, 
+            woden_binding_add_binding_fault_element);
+    axis2_hash_set(binding_impl->methods, "get_binding_fault_elements", 
+            AXIS2_HASH_KEY_STRING, 
+            woden_binding_get_binding_fault_elements);
+    axis2_hash_set(binding_impl->methods, "add_binding_op_element", 
+            AXIS2_HASH_KEY_STRING, 
+            woden_binding_add_binding_op_element);
+    axis2_hash_set(binding_impl->methods, "get_binding_op_elements", 
+            AXIS2_HASH_KEY_STRING, 
+            woden_binding_get_binding_op_elements);
+    axis2_hash_set(binding_impl->methods, "get_binding_fault_element", 
+            AXIS2_HASH_KEY_STRING, 
+            woden_binding_get_binding_fault_element);
+    axis2_hash_set(binding_impl->methods, "get_binding_op_element", 
+            AXIS2_HASH_KEY_STRING, 
+            woden_binding_get_binding_op_element);
+    axis2_hash_set(binding_impl->methods, "set_interface_element", 
+            AXIS2_HASH_KEY_STRING, 
+            woden_binding_set_interface_element);
+
+    return &(binding_impl->binding);
+}
+
+AXIS2_EXTERN woden_binding_t * AXIS2_CALL
+woden_binding_create(const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+   
+    AXIS2_ENV_CHECK(env, NULL);
+    binding_impl = (woden_binding_impl_t *) create(env);
+
+    binding_impl->configurable = woden_configurable_create(env);
+
+    binding_impl->super = axis2_hash_make(env);
+    if(!binding_impl->super) 
+    {
+        AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+        return NULL;
+    }
+    axis2_hash_set(binding_impl->super, "WODEN_BINDING", AXIS2_HASH_KEY_STRING, 
+            &(binding_impl->binding));
+    axis2_hash_set(binding_impl->super, "WODEN_CONFIGURABLE", AXIS2_HASH_KEY_STRING, 
+            binding_impl->configurable);
+ 
+    return &(binding_impl->binding);
+}
+
+static axis2_status_t
+woden_binding_free_ops(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    binding_impl = INTF_TO_IMPL(binding);
+
+    if(binding_impl->binding.base.binding_element.ops)
+    {
+        AXIS2_FREE(env->allocator, binding_impl->binding.base.
+                binding_element.ops);
+        binding_impl->binding.base.binding_element.ops = NULL;
+    }
+
+    if(binding_impl->binding.base.binding_element.base.configurable_element.ops)
+    {
+        AXIS2_FREE(env->allocator, binding_impl->binding.base.
+                binding_element.base.configurable_element.ops);
+        binding_impl->binding.base.binding_element.base.configurable_element.ops = 
+            NULL;
+    }
+    
+    if(binding_impl->binding.base.binding_element.base.documentable_element.ops)
+    {
+        AXIS2_FREE(env->allocator, binding_impl->binding.base.
+                binding_element.base.documentable_element.ops);
+        binding_impl->binding.base.binding_element.base.documentable_element.ops = 
+            NULL;
+    }
+     
+    if(binding_impl->binding.base.configurable.base.documentable.ops)
+    {
+        AXIS2_FREE(env->allocator, binding_impl->binding.base.
+                configurable.base.documentable.ops);
+        binding_impl->binding.base.configurable.base.documentable.ops = 
+            NULL;
+    }
+    
+    if(binding_impl->binding.base.configurable.ops)
+    {
+        AXIS2_FREE(env->allocator, binding_impl->binding.base.
+                configurable.ops);
+        binding_impl->binding.base.configurable.ops = 
+            NULL;
+    }
+  
+    if(binding_impl->binding.base.
+            configurable.base.documentable.base.wsdl_obj.ops)
+    {
+        AXIS2_FREE(env->allocator, binding_impl->binding.base.
+                configurable.base.documentable.base.wsdl_obj.ops);
+        binding_impl->binding.base.configurable.base.documentable.base.wsdl_obj.ops = NULL;
+    }
+    
+    if(binding_impl->binding.base.configurable.base.
+            configurable_component.wsdl_component.ops)
+    {
+        AXIS2_FREE(env->allocator, binding_impl->binding.base.
+                configurable.base.configurable_component.wsdl_component.ops);
+        binding_impl->binding.base.configurable.base.
+            configurable_component.wsdl_component.ops = NULL;
+    }
+    
+    if(binding_impl->binding.base.binding_element.
+            base.documentable_element.wsdl_element.base.attr_extensible.ops)
+    {
+        AXIS2_FREE(env->allocator, binding_impl->binding.
+                base.binding_element.base.documentable_element.
+                wsdl_element.base.attr_extensible.ops );
+        binding_impl->binding.
+                base.binding_element.base.documentable_element.
+                wsdl_element.base.attr_extensible.ops = NULL;
+    }
+    
+    if(binding_impl->binding.base.binding_element.
+            base.documentable_element.wsdl_element.base.element_extensible.ops)
+    {
+        AXIS2_FREE(env->allocator, binding_impl->binding.
+                base.binding_element.base.documentable_element.
+                wsdl_element.base.element_extensible.ops );
+        binding_impl->binding.
+                base.binding_element.base.documentable_element.
+                wsdl_element.base.element_extensible.ops = NULL;
+    }
+   
+    return AXIS2_SUCCESS;
+}
+
+
+axis2_status_t AXIS2_CALL
+woden_binding_free(void *binding,
+                        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    binding_impl = INTF_TO_IMPL(binding);
+
+    if(binding_impl->f_qname)
+    {
+        AXIS2_QNAME_FREE(binding_impl->f_qname, env);
+        binding_impl->f_qname = NULL;
+    }
+
+    if(binding_impl->f_interface_qname)
+    {
+        AXIS2_QNAME_FREE(binding_impl->f_interface_qname, env);
+        binding_impl->f_interface_qname = NULL;
+    }
+
+    if(binding_impl->f_interface)
+    {
+        WODEN_INTERFACE_FREE(binding_impl->f_interface, env);
+        binding_impl->f_interface = NULL;
+    }
+
+    if(binding_impl->f_type)
+    {
+        AXIS2_URI_FREE(binding_impl->f_type, env);
+        binding_impl->f_type = NULL;
+    }
+
+    if(binding_impl->f_faults)
+    {
+        AXIS2_ARRAY_LIST_FREE(binding_impl->f_faults, env);
+        binding_impl->f_faults = NULL;
+    }
+
+    if(binding_impl->f_ops)
+    {
+        AXIS2_ARRAY_LIST_FREE(binding_impl->f_ops, env);
+        binding_impl->f_ops = NULL;
+    }
+   
+    if(binding_impl->super)
+    {
+        axis2_hash_free(binding_impl->super, env);
+        binding_impl->super = NULL;
+    }
+    
+    if(binding_impl->methods)
+    {
+        axis2_hash_free(binding_impl->methods, env);
+        binding_impl->methods = NULL;
+    }
+
+    if(binding_impl->configurable)
+    {
+        WODEN_CONFIGURABLE_FREE(binding_impl->configurable, env);
+        binding_impl->configurable = NULL;
+    }
+    woden_binding_free_ops(binding, env);
+
+    if((&(binding_impl->binding))->ops)
+    {
+        AXIS2_FREE(env->allocator, (&(binding_impl->binding))->ops);
+        (&(binding_impl->binding))->ops = NULL;
+    }
+    
+    if(binding_impl)
+    {
+        AXIS2_FREE(env->allocator, binding_impl);
+        binding_impl = NULL;
+    }
+    return AXIS2_SUCCESS;
+}
+
+axis2_hash_t *AXIS2_CALL
+woden_binding_super_objs(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+
+    AXIS2_ENV_CHECK(env, NULL);
+    binding_impl = INTF_TO_IMPL(binding);
+
+    return binding_impl->super;
+}
+
+woden_obj_types_t AXIS2_CALL
+woden_binding_type(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    binding_impl = INTF_TO_IMPL(binding);
+
+    return binding_impl->obj_type;
+}
+
+woden_configurable_t *AXIS2_CALL
+woden_binding_get_base_impl(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+
+    AXIS2_ENV_CHECK(env, NULL);
+    binding_impl = INTF_TO_IMPL(binding);
+
+    return binding_impl->configurable;
+}
+
+axis2_status_t AXIS2_CALL
+woden_binding_resolve_methods(
+        woden_binding_t *binding,
+        const axis2_env_t *env,
+        woden_binding_t *binding_impl,
+        axis2_hash_t *methods)
+{
+    woden_binding_impl_t *binding_impl_l = NULL;
+    
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
+    binding_impl_l = INTF_TO_IMPL(binding_impl);
+    
+    binding->ops->free = axis2_hash_get(methods, "free", 
+            AXIS2_HASH_KEY_STRING);
+    binding->ops->super_objs = axis2_hash_get(methods, "super_objs", 
+            AXIS2_HASH_KEY_STRING);
+    binding->ops->type = axis2_hash_get(methods, "type", 
+            AXIS2_HASH_KEY_STRING);
+    
+    binding->ops->get_qname = axis2_hash_get(methods, 
+            "get_qname", AXIS2_HASH_KEY_STRING);
+    if(!binding->ops->get_qname && binding_impl_l)
+            binding->ops->get_qname = 
+            binding_impl_l->binding.ops->get_qname;
+    
+    binding->ops->get_interface = axis2_hash_get(methods, 
+            "get_interface", AXIS2_HASH_KEY_STRING);
+    if(!binding->ops->get_interface && binding_impl_l)
+            binding->ops->get_interface = 
+            binding_impl_l->binding.ops->get_interface;
+    
+    binding->ops->get_type = axis2_hash_get(methods, 
+            "get_type", AXIS2_HASH_KEY_STRING);
+    if(!binding->ops->get_type && binding_impl_l)
+            binding->ops->get_type = 
+            binding_impl_l->binding.ops->get_type;
+
+    binding->ops->get_binding_faults = axis2_hash_get(methods, 
+            "get_binding_faults", AXIS2_HASH_KEY_STRING);
+    if(!binding->ops->get_binding_faults && binding_impl_l)
+            binding->ops->get_binding_faults = 
+            binding_impl_l->binding.ops->get_binding_faults;
+
+    binding->ops->get_binding_ops = axis2_hash_get(methods, 
+            "get_binding_ops", AXIS2_HASH_KEY_STRING);
+    if(!binding->ops->get_binding_ops && binding_impl_l)
+            binding->ops->get_binding_ops = 
+            binding_impl_l->binding.ops->get_binding_ops;
+
+    binding->ops->to_element = axis2_hash_get(methods, 
+            "to_element", AXIS2_HASH_KEY_STRING);
+    if(!binding->ops->to_element && binding_impl_l)
+            binding->ops->to_element = 
+            binding_impl_l->binding.ops->to_element;
+ 
+    binding->ops->get_binding_fault_element = axis2_hash_get(methods, 
+            "get_binding_fault_element", AXIS2_HASH_KEY_STRING);
+    if(!binding->ops->get_binding_fault_element && binding_impl_l)
+            binding->ops->get_binding_fault_element = 
+            binding_impl_l->binding.ops->get_binding_fault_element;
+ 
+    binding->ops->get_binding_op_element = axis2_hash_get(methods, 
+            "get_binding_op_element", AXIS2_HASH_KEY_STRING);
+    if(!binding->ops->get_binding_op_element && binding_impl_l)
+            binding->ops->get_binding_op_element = 
+            binding_impl_l->binding.ops->get_binding_op_element;
+ 
+    binding->ops->set_interface_element = axis2_hash_get(methods, 
+            "set_interface_element", AXIS2_HASH_KEY_STRING);
+    if(!binding->ops->set_interface_element && binding_impl_l)
+            binding->ops->set_interface_element = 
+            binding_impl_l->binding.ops->set_interface_element;
+   
+  
+    return AXIS2_SUCCESS;
+}
+
+/* ************************************************************
+ *  Binding interface methods (the WSDL Component model)
+ * ************************************************************/
+axis2_qname_t *AXIS2_CALL
+woden_binding_get_qname(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+    axis2_hash_t *super = NULL;
+
+    AXIS2_ENV_CHECK(env, NULL);
+    super = WODEN_BINDING_SUPER_OBJS(binding, env);
+    binding_impl = INTF_TO_IMPL(axis2_hash_get(super, 
+                "WODEN_BINDING", AXIS2_HASH_KEY_STRING));
+    
+    return binding_impl->f_qname;
+}
+
+void *AXIS2_CALL
+woden_binding_get_interface(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+    axis2_hash_t *super = NULL;
+
+    AXIS2_ENV_CHECK(env, NULL);
+    super = WODEN_BINDING_SUPER_OBJS(binding, env);
+    binding_impl = INTF_TO_IMPL(axis2_hash_get(super, 
+                "WODEN_BINDING", AXIS2_HASH_KEY_STRING));
+    
+    return binding_impl->f_interface;
+}
+
+axis2_uri_t *AXIS2_CALL
+woden_binding_get_type(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+    axis2_hash_t *super = NULL;
+
+    AXIS2_ENV_CHECK(env, NULL);
+    super = WODEN_BINDING_SUPER_OBJS(binding, env);
+    binding_impl = INTF_TO_IMPL(axis2_hash_get(super, 
+                "WODEN_BINDING", AXIS2_HASH_KEY_STRING));
+    
+    return binding_impl->f_type;
+}
+
+
+axis2_array_list_t *AXIS2_CALL
+woden_binding_get_binding_faults(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+    axis2_hash_t *super = NULL;
+
+    AXIS2_ENV_CHECK(env, NULL);
+    super = WODEN_BINDING_SUPER_OBJS(binding, env);
+    binding_impl = INTF_TO_IMPL(axis2_hash_get(super, 
+                "WODEN_BINDING", AXIS2_HASH_KEY_STRING));
+
+    return binding_impl->f_faults;
+}
+
+axis2_array_list_t *AXIS2_CALL
+woden_binding_get_binding_ops(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+    axis2_hash_t *super = NULL;
+
+    AXIS2_ENV_CHECK(env, NULL);
+    super = WODEN_BINDING_SUPER_OBJS(binding, env);
+    binding_impl = INTF_TO_IMPL(axis2_hash_get(super, 
+                "WODEN_BINDING", AXIS2_HASH_KEY_STRING));
+
+    return binding_impl->f_ops;
+}
+
+void *AXIS2_CALL
+woden_binding_to_element(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+    axis2_hash_t *super = NULL;
+
+    AXIS2_ENV_CHECK(env, NULL);
+    super = WODEN_BINDING_SUPER_OBJS(binding, env);
+    binding_impl = INTF_TO_IMPL(axis2_hash_get(super, 
+                "WODEN_BINDING", AXIS2_HASH_KEY_STRING));
+    
+    return &(binding_impl->binding);
+}
+
+/* ************************************************************
+ *  Binding Element interface methods (the XML Element model)
+ * ************************************************************/
+axis2_status_t AXIS2_CALL
+woden_binding_set_qname(
+        void *binding,
+        const axis2_env_t *env,
+        axis2_qname_t *qname)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+    axis2_hash_t *super = NULL;
+
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE);
+    super = WODEN_BINDING_SUPER_OBJS(binding, env);
+    binding_impl = INTF_TO_IMPL(axis2_hash_get(super, 
+                "WODEN_BINDING", AXIS2_HASH_KEY_STRING));
+
+    if(binding_impl->f_qname)
+    {
+        AXIS2_QNAME_FREE(binding_impl->f_qname, env);
+    }
+    binding_impl->f_qname = AXIS2_QNAME_CLONE(qname, env);
+    return AXIS2_SUCCESS;
+}
+
+axis2_status_t AXIS2_CALL
+woden_binding_set_interface_qname(
+        void *binding,
+        const axis2_env_t *env,
+        axis2_qname_t *qname)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+    axis2_hash_t *super = NULL;
+
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE);
+    super = WODEN_BINDING_SUPER_OBJS(binding, env);
+    binding_impl = INTF_TO_IMPL(axis2_hash_get(super, 
+                "WODEN_BINDING", AXIS2_HASH_KEY_STRING));
+
+    if(binding_impl->f_interface_qname)
+    {
+        AXIS2_QNAME_FREE(binding_impl->f_interface_qname, env);
+    }
+    binding_impl->f_interface_qname = AXIS2_QNAME_CLONE(qname, env);
+
+    return AXIS2_SUCCESS;
+}
+
+axis2_qname_t *AXIS2_CALL
+woden_binding_get_interface_qname(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+    axis2_hash_t *super = NULL;
+
+    AXIS2_ENV_CHECK(env, NULL);
+    super = WODEN_BINDING_SUPER_OBJS(binding, env);
+    binding_impl = INTF_TO_IMPL(axis2_hash_get(super, 
+                "WODEN_BINDING", AXIS2_HASH_KEY_STRING));
+
+    return binding_impl->f_interface_qname;
+}
+
+void *AXIS2_CALL
+woden_binding_get_interface_element(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+    axis2_hash_t *super = NULL;
+
+    AXIS2_ENV_CHECK(env, NULL);
+    super = WODEN_BINDING_SUPER_OBJS(binding, env);
+    binding_impl = INTF_TO_IMPL(axis2_hash_get(super, 
+                "WODEN_BINDING", AXIS2_HASH_KEY_STRING));
+
+    return binding_impl->f_interface;
+}
+
+
+axis2_status_t AXIS2_CALL
+woden_binding_set_type(
+        void *binding,
+        const axis2_env_t *env,
+        axis2_uri_t *type)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+    axis2_hash_t *super = NULL;
+
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, type, AXIS2_FAILURE);
+    super = WODEN_BINDING_SUPER_OBJS(binding, env);
+    binding_impl = INTF_TO_IMPL(axis2_hash_get(super, 
+                "WODEN_BINDING", AXIS2_HASH_KEY_STRING));
+    
+    if(binding_impl->f_type)
+    {
+        AXIS2_URI_FREE(binding_impl->f_type, env);
+        binding_impl->f_type = NULL;
+    }
+    binding_impl->f_type = AXIS2_URI_CLONE(type, env);
+
+    return AXIS2_SUCCESS;
+}
+
+axis2_status_t AXIS2_CALL
+woden_binding_add_binding_fault_element(
+        void *binding,
+        const axis2_env_t *env,
+        void *fault)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+    axis2_hash_t *super = NULL;
+
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, fault, AXIS2_FAILURE);
+    super = WODEN_BINDING_SUPER_OBJS(binding, env);
+    binding_impl = INTF_TO_IMPL(axis2_hash_get(super, 
+                "WODEN_BINDING", AXIS2_HASH_KEY_STRING));
+    
+    if(!binding_impl->f_faults)
+    {
+        binding_impl->f_faults = axis2_array_list_create(env, 0);
+        if(!binding_impl->f_faults)
+        {
+            AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+            return AXIS2_FAILURE;
+        }
+    }
+    AXIS2_ARRAY_LIST_ADD(binding_impl->f_faults, env, fault);
+
+    return AXIS2_SUCCESS;
+}
+
+axis2_array_list_t *AXIS2_CALL
+woden_binding_get_binding_fault_elements(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+    axis2_hash_t *super = NULL;
+
+    AXIS2_ENV_CHECK(env, NULL);
+    super = WODEN_BINDING_SUPER_OBJS(binding, env);
+    binding_impl = INTF_TO_IMPL(axis2_hash_get(super, 
+                "WODEN_BINDING", AXIS2_HASH_KEY_STRING));
+
+    return binding_impl->f_faults;
+}
+
+axis2_status_t AXIS2_CALL
+woden_binding_add_binding_op_element(
+        void *binding,
+        const axis2_env_t *env,
+        void *op)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+    axis2_hash_t *super = NULL;
+
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, op, AXIS2_FAILURE);
+    super = WODEN_BINDING_SUPER_OBJS(binding, env);
+    binding_impl = INTF_TO_IMPL(axis2_hash_get(super, 
+                "WODEN_BINDING", AXIS2_HASH_KEY_STRING));
+    
+    if(!binding_impl->f_ops)
+    {
+        binding_impl->f_ops = axis2_array_list_create(env, 0);
+        if(!binding_impl->f_ops)
+        {
+            AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+            return AXIS2_FAILURE;
+        }
+    }
+    AXIS2_ARRAY_LIST_ADD(binding_impl->f_ops, env, op);
+
+    return AXIS2_SUCCESS;
+}
+
+axis2_array_list_t *AXIS2_CALL
+woden_binding_get_binding_op_elements(
+        void *binding,
+        const axis2_env_t *env)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+    axis2_hash_t *super = NULL;
+
+    AXIS2_ENV_CHECK(env, NULL);
+    super = WODEN_BINDING_SUPER_OBJS(binding, env);
+    binding_impl = INTF_TO_IMPL(axis2_hash_get(super, 
+                "WODEN_BINDING", AXIS2_HASH_KEY_STRING));
+
+    return binding_impl->f_ops;
+}
+
+/* ************************************************************
+ *  Non-API implementation methods
+ * ************************************************************/
+void *AXIS2_CALL
+woden_binding_get_binding_fault_element(
+        void *binding,
+        const axis2_env_t *env,
+        axis2_qname_t *qname)
+{
+    woden_binding_impl_t *binding_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_BINDING_SUPER_OBJS(binding, env);
+    binding_impl = INTF_TO_IMPL(axis2_hash_get(super, 
+                "WODEN_BINDING", AXIS2_HASH_KEY_STRING));
+
+    size = AXIS2_ARRAY_LIST_SIZE(binding_impl->f_faults, env);
+    for(i = 0; i < size; i++)
+    {
+        void *bind_fault = NULL;
+        axis2_qname_t *qname_l = NULL;
+        
+        bind_fault = AXIS2_ARRAY_LIST_GET(binding_impl->f_faults, 
+                env, i);
+        qname_l = (axis2_qname_t *) WODEN_BINDING_FAULT_ELEMENT_GET_REF(
+                bind_fault, env);
+        if(AXIS2_TRUE == AXIS2_QNAME_EQUALS(qname, env, qname_l))
+        {
+            fault = bind_fault;
+            break;
+        }
+    }
+
+    return fault;
+}
+
+void *AXIS2_CALL
+woden_binding_get_binding_op_element(
+        void *binding,
+        const axis2_env_t *env,
+        axis2_qname_t *qname)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+    axis2_hash_t *super = NULL;
+    int i = 0, size = 0;
+    void *op = NULL;
+
+    AXIS2_ENV_CHECK(env, NULL);
+    AXIS2_PARAM_CHECK(env->error, qname, NULL);
+    super = WODEN_BINDING_SUPER_OBJS(binding, env);
+    binding_impl = INTF_TO_IMPL(axis2_hash_get(super, 
+                "WODEN_BINDING", AXIS2_HASH_KEY_STRING));
+
+    size = AXIS2_ARRAY_LIST_SIZE(binding_impl->f_ops, env);
+    for(i = 0; i < size; i++)
+    {
+        void *bind_op = NULL;
+        axis2_qname_t *qname_l = NULL;
+        
+        bind_op = AXIS2_ARRAY_LIST_GET(binding_impl->f_ops, 
+                env, i);
+        qname_l = (axis2_qname_t *) WODEN_BINDING_OP_ELEMENT_GET_REF(
+                bind_op, env);
+        if(AXIS2_TRUE == AXIS2_QNAME_EQUALS(qname, env, qname_l))
+        {
+            op = bind_op;
+            break;
+        }
+    }
+
+    return op;
+}
+
+axis2_status_t AXIS2_CALL
+woden_binding_set_interface_element(
+        void *binding,
+        const axis2_env_t *env,
+        void *interface)
+{
+    woden_binding_impl_t *binding_impl = NULL;
+    axis2_hash_t *super = NULL;
+
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, interface, AXIS2_FAILURE);
+    super = WODEN_BINDING_SUPER_OBJS(binding, env);
+    binding_impl = INTF_TO_IMPL(axis2_hash_get(super, 
+                "WODEN_BINDING", AXIS2_HASH_KEY_STRING));
+
+    if(binding_impl->f_interface)
+    {
+        /* TODO */
+    }
+    binding_impl->f_interface = interface;
+
+    return AXIS2_SUCCESS;
+}
+



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org