You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2006/06/01 12:49:01 UTC

svn commit: r410829 - in /webservices/axis2/trunk/c/woden: include/woden/wsdl20/extensions/soap/ src/wsdl20/extensions/soap/

Author: damitha
Date: Thu Jun  1 03:49:01 2006
New Revision: 410829

URL: http://svn.apache.org/viewvc?rev=410829&view=rev
Log:
added new files

Added:
    webservices/axis2/trunk/c/woden/include/woden/wsdl20/extensions/soap/axis2_woden_soap_header_block_element.h
    webservices/axis2/trunk/c/woden/include/woden/wsdl20/extensions/soap/axis2_woden_soap_module_element.h
    webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_header_block_element.c
    webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_module_element.c
Modified:
    webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/Makefile.am

Added: webservices/axis2/trunk/c/woden/include/woden/wsdl20/extensions/soap/axis2_woden_soap_header_block_element.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/wsdl20/extensions/soap/axis2_woden_soap_header_block_element.h?rev=410829&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden/wsdl20/extensions/soap/axis2_woden_soap_header_block_element.h (added)
+++ webservices/axis2/trunk/c/woden/include/woden/wsdl20/extensions/soap/axis2_woden_soap_header_block_element.h Thu Jun  1 03:49:01 2006
@@ -0,0 +1,211 @@
+/*
+ * 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 AXIS2_WODEN_SOAP_HEADER_BLOCK_ELEMENT_H
+#define AXIS2_WODEN_SOAP_HEADER_BLOCK_ELEMENT_H
+
+/**
+ * @file axis2_woden_soap_header_block_element.h
+ * @brief Axis2 Soap Header Block Element Soap Header Block
+ * This interface represents the <wsoap:header> extension element that 
+ * can appear within a Binding Fault or Binding Message Reference.
+ */
+
+#include <axis2_allocator.h>
+#include <axis2_env.h>
+#include <axis2_error.h>
+#include <axis2_string.h>
+#include <axis2_const.h>
+#include <axis2_hash.h>
+#include <axis2_qname.h>
+#include <axis2_url.h>
+#include <axis2_array_list.h>
+#include <woden/axis2_woden.h>
+#include <woden/wsdl20/extensions/axis2_woden_ext_element.h>
+#include <woden/wsdl20/extensions/axis2_woden_attr_extensible.h>
+#include <woden/wsdl20/extensions/axis2_woden_element_extensible.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct axis2_woden_soap_header_block_element axis2_woden_soap_header_block_element_t;
+typedef struct axis2_woden_soap_header_block_element_ops axis2_woden_soap_header_block_element_ops_t;
+typedef union axis2_woden_soap_header_block_element_base axis2_woden_soap_header_block_element_base_t;
+
+/** @defgroup axis2_woden_soap_header_block_element Soap Header Block Element
+  * @ingroup axis2_soap_header_block
+  * @{
+  */
+
+struct axis2_woden_soap_header_block_element_ops
+{
+	/** 
+     * Deallocate memory
+     * @return status code
+     */
+    axis2_status_t (AXIS2_CALL *
+    free) (
+            void *soap_header_block_element,
+            const axis2_env_t *env);
+ 
+    axis2_woden_obj_types_t (AXIS2_CALL *
+    type) (
+            void *soap_header_block_element,
+            const axis2_env_t *env);
+
+    /**
+     * Set the QName that identifies the Schema element declaration
+     * relating to this soap header.
+     * 
+     * @param qname the QName that identifies a Schema element declaration
+     */
+    axis2_status_t (AXIS2_CALL *
+    set_element_qname) (
+            void *soap_header_block_element,
+            const axis2_env_t *env,
+            axis2_qname_t *qname);
+
+    axis2_qname_t *(AXIS2_CALL *
+    get_element_qname) (
+            void *soap_header_block_element,
+            const axis2_env_t *env); 
+ 
+    /**
+     * Returns the Schema element declaration identified by the QName in the 'element' 
+     * attribute of the &lt;wsoap:header&gt; element. 
+     * If this QName does not resolve to an element declaration in a schema that is visible 
+     * to the containing WSDL description, null will be returned by this method. 
+     * To be visible, the Schema must have been correctly imported or inlined within 
+     * the &lt;types&gt; element.
+     * 
+     * @return the Xml Schema Element identified by the 'element' attribute
+     */
+    void *(AXIS2_CALL *
+    get_element) (
+            void *soap_header_block_element,
+            const axis2_env_t *env);
+
+    axis2_status_t (AXIS2_CALL *
+    set_must_understand) (
+            void *soap_header_block_element,
+            const axis2_env_t *env,
+            axis2_bool_t understood); 
+
+    axis2_bool_t (AXIS2_CALL *
+    must_understand) (
+            void *soap_header_block_element,
+            const axis2_env_t *env);
+  
+    axis2_status_t (AXIS2_CALL *
+    set_parent_element) (
+            void *soap_header_block_element,
+            const axis2_env_t *env,
+            void *wsdl_el);
+
+    void *(AXIS2_CALL *
+    get_parent_element) (
+            void *soap_header_block_element,
+            const axis2_env_t *env); 
+  
+    axis2_status_t (AXIS2_CALL *
+    add_documentation_element) (
+            void *soap_header_block_element,
+            const axis2_env_t *env,
+            void *doc_el);
+
+    axis2_array_list_t *(AXIS2_CALL *
+    get_documentation_elements) (
+            void *soap_header_block_element,
+            const axis2_env_t *env);
+ 
+};
+
+union axis2_woden_soap_header_block_element_base
+{
+    axis2_woden_ext_element_t ext_element;
+    axis2_woden_attr_extensible_t attr_extensible;
+    axis2_woden_element_extensible_t element_extensible;
+};
+
+struct axis2_woden_soap_header_block_element
+{
+    axis2_woden_soap_header_block_element_base_t base;
+    axis2_woden_soap_header_block_element_ops_t *ops;
+};
+
+AXIS2_EXTERN axis2_woden_soap_header_block_element_t * AXIS2_CALL
+axis2_woden_soap_header_block_element_create(
+        const axis2_env_t *env);
+
+/************************Woden C Internal Methods******************************/
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
+axis2_woden_soap_header_block_element_resolve_methods(
+        axis2_woden_soap_header_block_element_t *soap_header_block_element,
+        const axis2_env_t *env,
+        axis2_hash_t *methods);
+/************************End of Woden C Internal Methods***********************/
+
+#define AXIS2_WODEN_SOAP_HEADER_BLOCK_ELEMENT_FREE(soap_header_block_element, env) \
+		(((axis2_woden_soap_header_block_element_t *) soap_header_block_element)->ops->\
+         free (soap_header_block_element, env))
+
+#define AXIS2_WODEN_SOAP_HEADER_BLOCK_ELEMENT_TYPE(soap_header_block_element, env) \
+		(((axis2_woden_soap_header_block_element_t *) soap_header_block_element)->ops->\
+         type (soap_header_block_element, env))
+
+#define AXIS2_WODEN_SOAP_HEADER_BLOCK_ELEMENT_SET_ELEMENT_QNAME(soap_header_block_element, env, qname) \
+		(((axis2_woden_soap_header_block_element_t *) soap_header_block_element)->ops->\
+         set_element_qname (soap_header_block_element, env, qname))
+
+#define AXIS2_WODEN_SOAP_HEADER_BLOCK_ELEMENT_GET_ELEMENT_QNAME(soap_header_block_element, env) \
+		(((axis2_woden_soap_header_block_element_t *) soap_header_block_element)->ops->\
+        get_element_qname  (soap_header_block_element, env))
+
+#define AXIS2_WODEN_SOAP_HEADER_BLOCK_ELEMENT_GET_ELEMENT(soap_header_block_element, env) \
+		(((axis2_woden_soap_header_block_element_t *) soap_header_block_element)->ops->\
+         get_element (soap_header_block_element, env))
+
+#define AXIS2_WODEN_SOAP_HEADER_BLOCK_ELEMENT_SET_MUST_UNDERSTAND(soap_header_block_element, env, understood) \
+		(((axis2_woden_soap_header_block_element_t *) soap_header_block_element)->ops->\
+         set_must_understand (soap_header_block_element, env, understood))
+
+#define AXIS2_WODEN_SOAP_HEADER_BLOCK_ELEMENT_MUST_UNDERSTAND(soap_header_block_element, env) \
+		(((axis2_woden_soap_header_block_element_t *) soap_header_block_element)->ops->\
+        must_understand  (soap_header_block_element, env))
+
+#define AXIS2_WODEN_SOAP_HEADER_BLOCK_ELEMENT_SET_PARENT_ELEMENT(soap_header_block_element, env, wsdl_el) \
+		(((axis2_woden_soap_header_block_element_t *) soap_header_block_element)->ops->\
+         set_parent_element (soap_header_block_element, env, wsdl_el))
+
+#define AXIS2_WODEN_SOAP_HEADER_BLOCK_ELEMENT_GET_PARENT_ELEMENT(soap_header_block_element, env) \
+		(((axis2_woden_soap_header_block_element_t *) soap_header_block_element)->ops->\
+        get_parent_element  (soap_header_block_element, env))
+
+#define AXIS2_WODEN_SOAP_HEADER_BLOCK_ELEMENT_ADD_DOCUMENTATION_ELEMENT(soap_header_block_element, env, doc_el) \
+		(((axis2_woden_soap_header_block_element_t *) soap_header_block_element)->ops->\
+        add_documentation_element  (soap_header_block_element, env, doc_el))
+
+#define AXIS2_WODEN_SOAP_HEADER_BLOCK_ELEMENT_GET_DOCUMENTATION_ELEMENTS(soap_header_block_element, env) \
+		(((axis2_woden_soap_header_block_element_t *) soap_header_block_element)->ops->\
+        get_documentation_elements  (soap_header_block_element, env))
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+#endif /* AXIS2_WODEN_SOAP_HEADER_BLOCK_ELEMENT_H */

Added: webservices/axis2/trunk/c/woden/include/woden/wsdl20/extensions/soap/axis2_woden_soap_module_element.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/wsdl20/extensions/soap/axis2_woden_soap_module_element.h?rev=410829&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden/wsdl20/extensions/soap/axis2_woden_soap_module_element.h (added)
+++ webservices/axis2/trunk/c/woden/include/woden/wsdl20/extensions/soap/axis2_woden_soap_module_element.h Thu Jun  1 03:49:01 2006
@@ -0,0 +1,168 @@
+/*
+ * 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 AXIS2_WODEN_SOAP_MODULE_ELEMENT_H
+#define AXIS2_WODEN_SOAP_MODULE_ELEMENT_H
+
+/**
+ * @file axis2_woden_soap_module_element.h
+ * @brief Axis2 Soap Module Element Soap Module
+ * This interface represents the &lt;wsoap:module&gt; extension element that 
+ * can appear within a Binding, Binding Fault, Binding Operation, Binding
+ * Fault Reference or Binding Message Reference.
+ */
+
+#include <axis2_allocator.h>
+#include <axis2_env.h>
+#include <axis2_error.h>
+#include <axis2_string.h>
+#include <axis2_const.h>
+#include <axis2_hash.h>
+#include <axis2_qname.h>
+#include <axis2_url.h>
+#include <axis2_array_list.h>
+#include <woden/axis2_woden.h>
+#include <woden/wsdl20/extensions/axis2_woden_ext_element.h>
+#include <woden/wsdl20/extensions/axis2_woden_attr_extensible.h>
+#include <woden/wsdl20/extensions/axis2_woden_element_extensible.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct axis2_woden_soap_module_element axis2_woden_soap_module_element_t;
+typedef struct axis2_woden_soap_module_element_ops axis2_woden_soap_module_element_ops_t;
+typedef union axis2_woden_soap_module_element_base axis2_woden_soap_module_element_base_t;
+
+/** @defgroup axis2_woden_soap_module_element Soap Module Element
+  * @ingroup axis2_soap_module
+  * @{
+  */
+
+struct axis2_woden_soap_module_element_ops
+{
+	/** 
+     * Deallocate memory
+     * @return status code
+     */
+    axis2_status_t (AXIS2_CALL *
+    free) (
+            void *soap_module_element,
+            const axis2_env_t *env);
+ 
+    axis2_woden_obj_types_t (AXIS2_CALL *
+    type) (
+            void *soap_module_element,
+            const axis2_env_t *env);
+
+    axis2_status_t (AXIS2_CALL *
+    set_ref) (
+            void *soap_module_element,
+            const axis2_env_t *env,
+            axis2_url_t *uri);
+
+    axis2_url_t *(AXIS2_CALL *
+    get_ref) (
+            void *soap_module_element,
+            const axis2_env_t *env); 
+ 
+    axis2_status_t (AXIS2_CALL *
+    set_parent_element) (
+            void *soap_module_element,
+            const axis2_env_t *env,
+            void *wsdl_el);
+
+    void *(AXIS2_CALL *
+    get_parent_element) (
+            void *soap_module_element,
+            const axis2_env_t *env); 
+  
+    axis2_status_t (AXIS2_CALL *
+    add_documentation_element) (
+            void *soap_module_element,
+            const axis2_env_t *env,
+            void *doc_el);
+
+    axis2_array_list_t *(AXIS2_CALL *
+    get_documentation_elements) (
+            void *soap_module_element,
+            const axis2_env_t *env);
+ 
+};
+
+union axis2_woden_soap_module_element_base
+{
+    axis2_woden_ext_element_t ext_element;
+    axis2_woden_attr_extensible_t attr_extensible;
+    axis2_woden_element_extensible_t element_extensible;
+};
+
+struct axis2_woden_soap_module_element
+{
+    axis2_woden_soap_module_element_base_t base;
+    axis2_woden_soap_module_element_ops_t *ops;
+};
+
+AXIS2_EXTERN axis2_woden_soap_module_element_t * AXIS2_CALL
+axis2_woden_soap_module_element_create(
+        const axis2_env_t *env);
+
+/************************Woden C Internal Methods******************************/
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
+axis2_woden_soap_module_element_resolve_methods(
+        axis2_woden_soap_module_element_t *soap_module_element,
+        const axis2_env_t *env,
+        axis2_hash_t *methods);
+/************************End of Woden C Internal Methods***********************/
+
+#define AXIS2_WODEN_SOAP_MODULE_ELEMENT_FREE(soap_module_element, env) \
+		(((axis2_woden_soap_module_element_t *) soap_module_element)->ops->\
+         free (soap_module_element, env))
+
+#define AXIS2_WODEN_SOAP_MODULE_ELEMENT_TYPE(soap_module_element, env) \
+		(((axis2_woden_soap_module_element_t *) soap_module_element)->ops->\
+         type (soap_module_element, env))
+
+#define AXIS2_WODEN_SOAP_MODULE_ELEMENT_SET_REF(soap_module_element, env, uri) \
+		(((axis2_woden_soap_module_element_t *) soap_module_element)->ops->\
+         set_ref (soap_module_element, env, uri))
+
+#define AXIS2_WODEN_SOAP_MODULE_ELEMENT_GET_REF(soap_module_element, env) \
+		(((axis2_woden_soap_module_element_t *) soap_module_element)->ops->\
+        get_ref  (soap_module_element, env))
+
+#define AXIS2_WODEN_SOAP_MODULE_ELEMENT_SET_PARENT_ELEMENT(soap_module_element, env, wsdl_el) \
+		(((axis2_woden_soap_module_element_t *) soap_module_element)->ops->\
+         set_parent_element (soap_module_element, env, wsdl_el))
+
+#define AXIS2_WODEN_SOAP_MODULE_ELEMENT_GET_PARENT_ELEMENT(soap_module_element, env) \
+		(((axis2_woden_soap_module_element_t *) soap_module_element)->ops->\
+        get_parent_element  (soap_module_element, env))
+
+#define AXIS2_WODEN_SOAP_MODULE_ELEMENT_ADD_DOCUMENTATION_ELEMENT(soap_module_element, env, doc_el) \
+		(((axis2_woden_soap_module_element_t *) soap_module_element)->ops->\
+        add_documentation_element  (soap_module_element, env, doc_el))
+
+#define AXIS2_WODEN_SOAP_MODULE_ELEMENT_GET_DOCUMENTATION_ELEMENTS(soap_module_element, env) \
+		(((axis2_woden_soap_module_element_t *) soap_module_element)->ops->\
+        get_documentation_elements  (soap_module_element, env))
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+#endif /* AXIS2_WODEN_SOAP_MODULE_ELEMENT_H */

Modified: webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/Makefile.am?rev=410829&r1=410828&r2=410829&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/Makefile.am (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/Makefile.am Thu Jun  1 03:49:01 2006
@@ -5,7 +5,9 @@
 											soap_binding_fault_exts.c \
 											soap_binding_fault_ref_exts.c \
 											soap_binding_msg_ref_exts.c \
-											soap_binding_op_exts.c
+											soap_binding_op_exts.c \
+											soap_header_block_element.c \
+											soap_module_element.c
 
 INCLUDES = -I$(top_builddir)/include \
 			@AXIOMINC@ \

Added: webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_header_block_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_header_block_element.c?rev=410829&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_header_block_element.c (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_header_block_element.c Thu Jun  1 03:49:01 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/wsdl20/extensions/soap/axis2_woden_soap_header_block_element.h>
+
+axis2_status_t AXIS2_CALL
+axis2_woden_soap_header_block_element_resolve_methods(
+        axis2_woden_soap_header_block_element_t *soap_header_block_element,
+        const axis2_env_t *env,
+        axis2_hash_t *methods)
+{
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
+    
+    soap_header_block_element->ops->free = axis2_hash_get(methods, "free", 
+            AXIS2_HASH_KEY_STRING);
+    soap_header_block_element->ops->type = axis2_hash_get(methods, "type", 
+            AXIS2_HASH_KEY_STRING);
+
+    soap_header_block_element->ops->set_element_qname = 
+            axis2_hash_get(methods, "set_element_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    soap_header_block_element->ops->get_element_qname = 
+            axis2_hash_get(methods, "get_element_qname", 
+            AXIS2_HASH_KEY_STRING);
+
+    soap_header_block_element->ops->get_element = 
+            axis2_hash_get(methods, "get_element", 
+            AXIS2_HASH_KEY_STRING);
+
+    soap_header_block_element->ops->set_must_understand = 
+            axis2_hash_get(methods, "set_must understand", 
+            AXIS2_HASH_KEY_STRING);
+
+    soap_header_block_element->ops->must_understand = 
+            axis2_hash_get(methods, "must_understand", 
+            AXIS2_HASH_KEY_STRING);
+
+    soap_header_block_element->ops->set_parent_element = 
+            axis2_hash_get(methods, "set_parent_element", 
+            AXIS2_HASH_KEY_STRING);
+
+    soap_header_block_element->ops->get_parent_element = 
+            axis2_hash_get(methods, "get_parent_element", 
+            AXIS2_HASH_KEY_STRING);
+
+    soap_header_block_element->ops->add_documentation_element = 
+            axis2_hash_get(methods, "add_documentation_element", 
+            AXIS2_HASH_KEY_STRING);
+
+    soap_header_block_element->ops->get_documentation_elements = 
+            axis2_hash_get(methods, "get_documentation_elements", 
+            AXIS2_HASH_KEY_STRING);
+
+    return AXIS2_SUCCESS;    
+}
+

Added: webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_module_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_module_element.c?rev=410829&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_module_element.c (added)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/extensions/soap/soap_module_element.c Thu Jun  1 03:49:01 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/wsdl20/extensions/soap/axis2_woden_soap_module_element.h>
+
+axis2_status_t AXIS2_CALL
+axis2_woden_soap_module_element_resolve_methods(
+        axis2_woden_soap_module_element_t *soap_module_element,
+        const axis2_env_t *env,
+        axis2_hash_t *methods)
+{
+    AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+    AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
+    
+    soap_module_element->ops->free = axis2_hash_get(methods, "free", 
+            AXIS2_HASH_KEY_STRING);
+    soap_module_element->ops->type = axis2_hash_get(methods, "type", 
+            AXIS2_HASH_KEY_STRING);
+
+    soap_module_element->ops->set_ref = 
+            axis2_hash_get(methods, "set_ref", 
+            AXIS2_HASH_KEY_STRING);
+
+    soap_module_element->ops->get_ref = 
+            axis2_hash_get(methods, "get_ref", 
+            AXIS2_HASH_KEY_STRING);
+
+    soap_module_element->ops->set_parent_element = 
+            axis2_hash_get(methods, "set_parent_element", 
+            AXIS2_HASH_KEY_STRING);
+
+    soap_module_element->ops->get_parent_element = 
+            axis2_hash_get(methods, "get_parent_element", 
+            AXIS2_HASH_KEY_STRING);
+
+    soap_module_element->ops->add_documentation_element = 
+            axis2_hash_get(methods, "add_documentation_element", 
+            AXIS2_HASH_KEY_STRING);
+
+    soap_module_element->ops->get_documentation_elements = 
+            axis2_hash_get(methods, "get_documentation_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