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/05/30 10:20:42 UTC

svn commit: r410214 [1/5] - in /webservices/axis2/trunk/c/woden: include/woden/ include/woden/wsdl20/ include/woden/wsdl20/enumeration/ include/woden/wsdl20/extensions/ include/woden/wsdl20/xml/ src/types/ src/util/ src/wsdl20/ src/wsdl20/extensions/ s...

Author: damitha
Date: Tue May 30 01:20:38 2006
New Revision: 410214

URL: http://svn.apache.org/viewvc?rev=410214&view=rev
Log:
More code

Added:
    webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_desc.h
    webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_element_decl.h
    webservices/axis2/trunk/c/woden/include/woden/wsdl20/enumeration/
    webservices/axis2/trunk/c/woden/include/woden/wsdl20/enumeration/axis2_woden_direction.h
    webservices/axis2/trunk/c/woden/include/woden/wsdl20/enumeration/axis2_woden_msg_label.h
    webservices/axis2/trunk/c/woden/include/woden/wsdl20/extensions/axis2_woden_ext_registry.h
    webservices/axis2/trunk/c/woden/include/woden/wsdl20/xml/axis2_woden_svc_element.h
    webservices/axis2/trunk/c/woden/src/util/component_model_builder.c
    webservices/axis2/trunk/c/woden/src/wsdl20/desc.c
    webservices/axis2/trunk/c/woden/src/wsdl20/element_decl.c
    webservices/axis2/trunk/c/woden/src/wsdl20/extensions/ext_registry.c
    webservices/axis2/trunk/c/woden/src/wsdl20/xml/svc_element.c
Modified:
    webservices/axis2/trunk/c/woden/include/woden/axis2_woden.h
    webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding.h
    webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_fault.h
    webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_fault_ref.h
    webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_msg_ref.h
    webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_op.h
    webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_configurable.h
    webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_interface_msg_ref.h
    webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_svc.h
    webservices/axis2/trunk/c/woden/include/woden/wsdl20/xml/axis2_woden_interface_element.h
    webservices/axis2/trunk/c/woden/src/types/nc_name.c
    webservices/axis2/trunk/c/woden/src/wsdl20/Makefile.am
    webservices/axis2/trunk/c/woden/src/wsdl20/binding.c
    webservices/axis2/trunk/c/woden/src/wsdl20/binding_fault.c
    webservices/axis2/trunk/c/woden/src/wsdl20/binding_fault_ref.c
    webservices/axis2/trunk/c/woden/src/wsdl20/binding_msg_ref.c
    webservices/axis2/trunk/c/woden/src/wsdl20/binding_op.c
    webservices/axis2/trunk/c/woden/src/wsdl20/documentation.c
    webservices/axis2/trunk/c/woden/src/wsdl20/interface_msg_ref.c
    webservices/axis2/trunk/c/woden/src/wsdl20/svc.c
    webservices/axis2/trunk/c/woden/src/wsdl20/wsdl_ref.c
    webservices/axis2/trunk/c/woden/src/wsdl20/xml/interface_element.c

Modified: webservices/axis2/trunk/c/woden/include/woden/axis2_woden.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/axis2_woden.h?rev=410214&r1=410213&r2=410214&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden/axis2_woden.h (original)
+++ webservices/axis2/trunk/c/woden/include/woden/axis2_woden.h Tue May 30 01:20:38 2006
@@ -74,7 +74,10 @@
         AXIS2_WODEN_BINDING_FAULT_REF,
         AXIS2_WODEN_BINDING_MSG_REF,
         AXIS2_WODEN_BINDING_OP,
-        AXIS2_WODEN_ENDPOINT
+        AXIS2_WODEN_ENDPOINT,
+        AXIS2_WODEN_SVC,
+        AXIS2_WODEN_ELEMENT_DECL,
+        AXIS2_WODEN_DIRECTION
     } axis2_woden_obj_types_t;
 
 /** @} */

Modified: webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding.h?rev=410214&r1=410213&r2=410214&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding.h (original)
+++ webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding.h Tue May 30 01:20:38 2006
@@ -54,10 +54,6 @@
     free) (void *binding,
             axis2_env_t **env);
 
-    axis2_status_t (AXIS2_CALL *
-    to_binding_free) (void *binding,
-            axis2_env_t **env);
-    
     axis2_hash_t *(AXIS2_CALL *
     super_objs) (void *binding,
             axis2_env_t **env);
@@ -180,6 +176,32 @@
         void *binding,
         axis2_env_t **env);
 
+AXIS2_DECLARE(axis2_woden_binding_t *)
+axis2_woden_binding_to_wsdl_obj(
+        void *binding,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_binding_t *)
+axis2_woden_binding_to_nested_element(
+        void *binding,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_binding_t *)
+axis2_woden_binding_to_wsdl_component(
+        void *binding,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_binding_t *)
+axis2_woden_binding_to_attr_extensible(
+        void *binding,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_binding_t *)
+axis2_woden_binding_to_element_extensible(
+        void *binding,
+        axis2_env_t **env);
+
+
 AXIS2_DECLARE(axis2_status_t)
 axis2_woden_binding_resolve_methods(
         axis2_woden_binding_t *binding,
@@ -190,9 +212,6 @@
 
 #define AXIS2_WODEN_BINDING_FREE(binding, env) \
 		(((axis2_woden_binding_t *) binding)->ops->free(binding, env))
-
-#define AXIS2_WODEN_BINDING_TO_BINDING_FREE(binding, env) \
-		(((axis2_woden_binding_t *) binding)->ops->to_binding_free(binding, env))
 
 #define AXIS2_WODEN_BINDING_SUPER_OBJS(binding, env) \
 		(((axis2_woden_binding_t *) binding)->ops->super_objs(binding, env))

Modified: webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_fault.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_fault.h?rev=410214&r1=410213&r2=410214&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_fault.h (original)
+++ webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_fault.h Tue May 30 01:20:38 2006
@@ -55,10 +55,6 @@
     free) (void *binding_fault,
             axis2_env_t **env);
 
-    axis2_status_t (AXIS2_CALL *
-    to_binding_fault_free) (void *binding_fault,
-            axis2_env_t **env);
-    
     axis2_hash_t *(AXIS2_CALL *
     super_objs) (void *binding_fault,
             axis2_env_t **env);
@@ -127,6 +123,31 @@
         void *binding_fault,
         axis2_env_t **env);
 
+AXIS2_DECLARE(axis2_woden_binding_fault_t *)
+axis2_woden_binding_fault_to_wsdl_obj(
+        void *binding_fault,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_binding_fault_t *)
+axis2_woden_binding_fault_to_nested_element(
+        void *binding_fault,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_binding_fault_t *)
+axis2_woden_binding_fault_to_wsdl_component(
+        void *binding_fault,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_binding_fault_t *)
+axis2_woden_binding_fault_to_attr_extensible(
+        void *binding_fault,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_binding_fault_t *)
+axis2_woden_binding_fault_to_element_extensible(
+        void *binding_fault,
+        axis2_env_t **env);
+
 AXIS2_DECLARE(axis2_status_t)
 axis2_woden_binding_fault_resolve_methods(
         axis2_woden_binding_fault_t *binding_fault,
@@ -137,9 +158,6 @@
 
 #define AXIS2_WODEN_BINDING_FAULT_FREE(binding_fault, env) \
 		(((axis2_woden_binding_fault_t *) binding_fault)->ops->free(binding_fault, env))
-
-#define AXIS2_WODEN_BINDING_FAULT_TO_BINDING_FAULT_FREE(binding_fault, env) \
-		(((axis2_woden_binding_fault_t *) binding_fault)->ops->to_binding_fault_free(binding_fault, env))
 
 #define AXIS2_WODEN_BINDING_FAULT_SUPER_OBJS(binding_fault, env) \
 		(((axis2_woden_binding_fault_t *) binding_fault)->ops->super_objs(binding_fault, env))

Modified: webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_fault_ref.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_fault_ref.h?rev=410214&r1=410213&r2=410214&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_fault_ref.h (original)
+++ webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_fault_ref.h Tue May 30 01:20:38 2006
@@ -56,10 +56,6 @@
     free) (void *binding_fault_ref,
             axis2_env_t **env);
 
-    axis2_status_t (AXIS2_CALL *
-    to_binding_fault_ref_free) (void *binding_fault_ref,
-            axis2_env_t **env);
-    
     axis2_hash_t *(AXIS2_CALL *
     super_objs) (void *binding_fault_ref,
             axis2_env_t **env);
@@ -135,6 +131,32 @@
         void *binding_fault_ref,
         axis2_env_t **env);
 
+AXIS2_DECLARE(axis2_woden_binding_fault_ref_t *)
+axis2_woden_binding_fault_ref_to_wsdl_obj(
+        void *binding_fault_ref,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_binding_fault_ref_t *)
+axis2_woden_binding_fault_ref_to_nested_element(
+        void *binding_fault_ref,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_binding_fault_ref_t *)
+axis2_woden_binding_fault_ref_to_wsdl_component(
+        void *binding_fault_ref,
+        axis2_env_t **env);
+
+
+AXIS2_DECLARE(axis2_woden_binding_fault_ref_t *)
+axis2_woden_binding_fault_ref_to_attr_extensible(
+        void *binding_fault_ref,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_binding_fault_ref_t *)
+axis2_woden_binding_fault_ref_to_element_extensible(
+        void *binding_fault_ref,
+        axis2_env_t **env);
+
 AXIS2_DECLARE(axis2_status_t)
 axis2_woden_binding_fault_ref_resolve_methods(
         axis2_woden_binding_fault_ref_t *binding_fault_ref,
@@ -145,9 +167,6 @@
 
 #define AXIS2_WODEN_BINDING_FAULT_REF_FREE(binding_fault_ref, env) \
 		(((axis2_woden_binding_fault_ref_t *) binding_fault_ref)->ops->free(binding_fault_ref, env))
-
-#define AXIS2_WODEN_BINDING_FAULT_REF_TO_BINDING_FAULT_REF_FREE(binding_fault_ref, env) \
-		(((axis2_woden_binding_fault_ref_t *) binding_fault_ref)->ops->to_binding_fault_ref_free(binding_fault_ref, env))
 
 #define AXIS2_WODEN_BINDING_FAULT_REF_SUPER_OBJS(binding_fault_ref, env) \
 		(((axis2_woden_binding_fault_ref_t *) binding_fault_ref)->ops->super_objs(binding_fault_ref, env))

Modified: webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_msg_ref.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_msg_ref.h?rev=410214&r1=410213&r2=410214&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_msg_ref.h (original)
+++ webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_msg_ref.h Tue May 30 01:20:38 2006
@@ -126,6 +126,32 @@
         void *binding_msg_ref,
         axis2_env_t **env);
 
+AXIS2_DECLARE(axis2_woden_binding_msg_ref_t *)
+axis2_woden_binding_msg_ref_to_wsdl_obj(
+        void *binding_msg_ref,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_binding_msg_ref_t *)
+axis2_woden_binding_msg_ref_to_nested_element(
+        void *binding_msg_ref,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_binding_msg_ref_t *)
+axis2_woden_binding_msg_ref_to_wsdl_component(
+        void *binding_msg_ref,
+        axis2_env_t **env);
+
+
+AXIS2_DECLARE(axis2_woden_binding_msg_ref_t *)
+axis2_woden_binding_msg_ref_to_attr_extensible(
+        void *binding_msg_ref,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_binding_msg_ref_t *)
+axis2_woden_binding_msg_ref_to_element_extensible(
+        void *binding_msg_ref,
+        axis2_env_t **env);
+
 AXIS2_DECLARE(axis2_status_t)
 axis2_woden_binding_msg_ref_resolve_methods(
         axis2_woden_binding_msg_ref_t *binding_msg_ref,

Modified: webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_op.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_op.h?rev=410214&r1=410213&r2=410214&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_op.h (original)
+++ webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_binding_op.h Tue May 30 01:20:38 2006
@@ -135,6 +135,33 @@
         void *binding_op,
         axis2_env_t **env);
 
+AXIS2_DECLARE(axis2_woden_binding_op_t *)
+axis2_woden_binding_op_to_wsdl_obj(
+        void *binding_op,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_binding_op_t *)
+axis2_woden_binding_op_to_nested_element(
+        void *binding_op,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_binding_op_t *)
+axis2_woden_binding_op_to_wsdl_component(
+        void *binding_op,
+        axis2_env_t **env);
+
+
+AXIS2_DECLARE(axis2_woden_binding_op_t *)
+axis2_woden_binding_op_to_attr_extensible(
+        void *binding_op,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_binding_op_t *)
+axis2_woden_binding_op_to_element_extensible(
+        void *binding_op,
+        axis2_env_t **env);
+
+
 AXIS2_DECLARE(axis2_status_t)
 axis2_woden_binding_op_resolve_methods(
         axis2_woden_binding_op_t *binding_op,

Modified: webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_configurable.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_configurable.h?rev=410214&r1=410213&r2=410214&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_configurable.h (original)
+++ webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_configurable.h Tue May 30 01:20:38 2006
@@ -28,7 +28,8 @@
 
 #include <woden/axis2_woden.h>
 #include <woden/wsdl20/xml/axis2_woden_configurable_element.h>
-#include <woden/axis2_woden_wsdl_obj.h>
+#include <woden/wsdl20/axis2_woden_configurable_component.h>
+#include <woden/wsdl20/axis2_woden_documentable.h>
 
 /** @defgroup axis2_woden_configurable Configurable
   * @ingroup axis2_wsdl
@@ -79,8 +80,9 @@
 
 union axis2_woden_configurable_base
 {
-    axis2_woden_wsdl_obj_t wsdl_obj;
+    axis2_woden_documentable_t documentable;
     axis2_woden_configurable_element_t configurable_elem;
+    axis2_woden_configurable_component_t configurable_component;
 };
 
 struct axis2_woden_configurable

Added: webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_desc.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_desc.h?rev=410214&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_desc.h (added)
+++ webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_desc.h Tue May 30 01:20:38 2006
@@ -0,0 +1,301 @@
+/*
+ * 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_DESC_H
+#define AXIS2_WODEN_DESC_H
+
+/**
+ * @file axis2_woden_desc.h
+ * @brief Axis2 Description Interface
+ * This class provides the implementation for a Description component from 
+ * the WSDL Component Model, as described in the WSDL 2.0 specification.  
+ * <p>
+ * Note: this class is different to the other WSDL implementation classes, 
+ * which all implement two interfaces; a component model interface and the 
+ * interface for the corresponding WSDL element. Different implementations
+ * are used for the Description component and for the &lt;wsdl:description&gt; 
+ * element because the latter exposes the composite structure of imported and 
+ * included WSDL documents, while the Description component 'flattens' this
+ * structure into an abstract view of the WSDL. A separate implementation
+ * class, <code>Descriptioni Element</code>, exists to represent
+ * the &lt;wsdl:description&gt; element.
+ * 
+ */
+
+#include <woden/axis2_woden.h>
+#include <woden/wsdl20/xml/axis2_woden_desc_element.h>
+#include <woden/axis2_woden_wsdl_obj.h>
+#include <woden/wsdl20/axis2_woden_documentable.h>
+#include <woden/wsdl20/axis2_woden_nested_component.h>
+
+/** @defgroup axis2_woden_desc Description
+  * @ingroup axis2_wsdl
+  * @{
+  */
+
+typedef union axis2_woden_desc_base axis2_woden_desc_base_t;
+typedef struct axis2_woden_desc axis2_woden_desc_t;
+typedef struct axis2_woden_desc_ops axis2_woden_desc_ops_t;
+struct axis2_woden_documentation_element;
+struct axis2_woden_wsdl_component;
+struct axis2_woden_documentable;
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+struct axis2_woden_desc_ops
+{
+	/** 
+     * Deallocate memory
+     * @return status code
+     */
+    axis2_status_t (AXIS2_CALL *
+    free) (void *desc,
+            axis2_env_t **env);
+
+    axis2_status_t (AXIS2_CALL *
+    to_desc_free) (void *desc,
+            axis2_env_t **env);
+    
+    axis2_hash_t *(AXIS2_CALL *
+    super_objs) (void *desc,
+            axis2_env_t **env);
+
+    axis2_woden_obj_types_t (AXIS2_CALL *
+    type) (void *desc,
+            axis2_env_t **env);
+    /**
+     * @return the base implementation class
+     */
+    struct axis2_woden_documentable *(AXIS2_CALL *
+    get_base_impl) (
+            void *desc,
+            axis2_env_t **env);
+    /* ************************************************************
+     *  Description interface methods (the WSDL Component model)
+     * ************************************************************/
+    axis2_array_list_t *(AXIS2_CALL *
+    get_interfaces) (
+            void *desc,
+            axis2_env_t **env);
+
+    axis2_array_list_t *(AXIS2_CALL *
+    get_bindings) (
+            void *desc,
+            axis2_env_t **env);
+
+    axis2_array_list_t *(AXIS2_CALL *
+    get_svcs) (
+            void *desc,
+            axis2_env_t **env);
+
+    axis2_array_list_t *(AXIS2_CALL *
+    get_element_decls) (
+            void *desc,
+            axis2_env_t **env);
+
+    axis2_array_list_t *(AXIS2_CALL *
+    get_element_decl) (
+            void *desc,
+            axis2_env_t **env,
+            axis2_qname_t *qname);
+
+    axis2_array_list_t *(AXIS2_CALL *
+    get_type_defs) (
+            void *desc,
+            axis2_env_t **env);
+
+    axis2_array_list_t *(AXIS2_CALL *
+    get_type_def) (
+            void *desc,
+            axis2_env_t **env,
+            axis2_qname_t *qname);
+
+    void *(AXIS2_CALL *
+    to_element) (
+            void *desc,
+            axis2_env_t **env);
+    /* ************************************************************
+     *  Non-API implementation methods
+     * ************************************************************/
+
+    /*
+     * The 'addAllXXX' methods are used to initialize the Description Component 
+     * with its flattened properties - {Interfaces}, {Bindings}, {Services},
+     * {Element Declarations}, {Type Definitions}. Currently these are non-API
+     * public helper methods used by the implementation to convert the Element
+     * model into the Component model (i.e. the Component model is read-only).
+     * If we need to support programmatic creation/updating of the Component model,
+     * we will need to consider exposing these methods on the API.
+     */
+
+    axis2_status_t (AXIS2_CALL *
+    add_to_all_interfaces) (
+            void *desc,
+            axis2_env_t **env,
+            void *interface);
+
+    axis2_status_t (AXIS2_CALL *
+    add_to_all_bindings) (
+            void *desc,
+            axis2_env_t **env,
+            void *binding);
+
+    axis2_status_t (AXIS2_CALL *
+    add_to_all_svcs) (
+            void *desc,
+            axis2_env_t **env,
+            void *svc);
+
+    axis2_status_t (AXIS2_CALL *
+    add_to_all_element_decls) (
+            void *desc,
+            axis2_env_t **env,
+            void *element_decl);
+
+    axis2_status_t (AXIS2_CALL *
+    add_to_all_type_defs) (
+            void *desc,
+            axis2_env_t **env,
+            void *type_def);
+};
+
+union axis2_woden_desc_base
+{
+    axis2_woden_documentable_t documentable;
+    axis2_woden_desc_element_t desc_element;
+    axis2_woden_nested_component_t nested_component;
+};
+
+struct axis2_woden_desc
+{
+    axis2_woden_desc_base_t base;
+    axis2_woden_desc_ops_t *ops;
+};
+
+AXIS2_DECLARE(axis2_woden_desc_t *)
+axis2_woden_desc_create(
+        axis2_env_t **env);
+
+
+/***************************Woden C Internal Methods***************************/
+AXIS2_DECLARE(axis2_woden_desc_t *)
+axis2_woden_desc_to_desc_element(
+        void *desc,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_desc_t *)
+axis2_woden_desc_to_documentable_element(
+        void *desc,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_desc_t *)
+axis2_woden_desc_to_documentable(
+        void *desc,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_desc_t *)
+axis2_woden_desc_to_wsdl_obj(
+        void *desc,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_woden_desc_t *)
+axis2_woden_desc_to_wsdl_component(
+        void *desc,
+        axis2_env_t **env);
+
+AXIS2_DECLARE(axis2_status_t)
+axis2_woden_desc_resolve_methods(
+        axis2_woden_desc_t *desc,
+        axis2_env_t **env,
+        axis2_woden_desc_t *desc_impl,
+        axis2_hash_t *methods);
+/************************End of Woden C Internal Methods***********************/
+
+#define AXIS2_WODEN_DESC_FREE(desc, env) \
+		(((axis2_woden_desc_t *) desc)->ops->free(desc, env))
+
+#define AXIS2_WODEN_DESC_TO_DESC_FREE(desc, env) \
+		(((axis2_woden_desc_t *) desc)->ops->to_desc_free(desc, env))
+
+#define AXIS2_WODEN_DESC_SUPER_OBJS(desc, env) \
+		(((axis2_woden_desc_t *) desc)->ops->super_objs(desc, env))
+
+#define AXIS2_WODEN_DESC_TYPE(desc, env) \
+		(((axis2_woden_desc_t *) desc)->ops->type(desc, env))
+
+#define AXIS2_WODEN_DESC_GET_BASE_IMPL(desc, env) \
+		(((axis2_woden_desc_t *) desc)->ops->get_base_impl(desc, env))
+
+#define AXIS2_WODEN_DESC_GET_INTERFACES(desc, env) \
+		(((axis2_woden_desc_t *) desc)->\
+        get_interfaces (desc, env))
+
+#define AXIS2_WODEN_DESC_GET_BINDINGS(desc, env) \
+		(((axis2_woden_desc_t *) desc)->\
+         get_bindings(desc, env))
+
+#define AXIS2_WODEN_DESC_GET_SVCS(desc, env) \
+		(((axis2_woden_desc_t *) desc)->ops->\
+         get_svcs(desc, env))
+
+#define AXIS2_WODEN_DESC_GET_ELEMENT_DECLS(desc, env) \
+		(((axis2_woden_desc_t *) desc)->ops->\
+         get_element_decls(desc, env))
+
+#define AXIS2_WODEN_DESC_GET_ELEMENT_DECL(desc, env, qname) \
+		(((axis2_woden_desc_t *) desc)->ops->\
+        get_element_decl (desc, env, qname))
+
+#define AXIS2_WODEN_DESC_GET_TYPE_DEFS(desc, env) \
+		(((axis2_woden_desc_t *) desc)->ops->\
+        get_type_defs (desc, env))
+
+#define AXIS2_WODEN_DESC_GET_TYPE_DEF(desc, env, qname) \
+		(((axis2_woden_desc_t *) desc)->ops->\
+        get_type_def (desc, env, qname))
+
+#define AXIS2_WODEN_DESC_TO_ELEMENT(desc, env) \
+		(((axis2_woden_desc_t *) desc)->ops->\
+        to_element (desc, env))
+
+#define AXIS2_WODEN_DESC_ADD_TO_ALL_INTERFACES(desc, env, interface) \
+		(((axis2_woden_desc_t *) desc)->ops->\
+        add_to_all_interfaces (desc, env, interface))
+
+#define AXIS2_WODEN_DESC_ADD_TO_ALL_BINDINGS(desc, env, binding) \
+		(((axis2_woden_desc_t *) desc)->ops->\
+        add_to_all_bindings (desc, env, binding))
+
+#define AXIS2_WODEN_DESC_ADD_TO_ALL_SVCS(desc, env, svc) \
+		(((axis2_woden_desc_t *) desc)->ops->\
+        add_to_all_svcs (desc, env, svc))
+
+#define AXIS2_WODEN_DESC_ADD_TO_ALL_ELEMENT_DECLS(desc, env, element_decl) \
+		(((axis2_woden_desc_t *) desc)->ops->\
+        add_to_all_element_decls (desc, env, element_decl))
+
+#define AXIS2_WODEN_DESC_ADD_TO_ALL_TYPE_DEFS(desc, env, type_def) \
+		(((axis2_woden_desc_t *) desc)->ops->\
+        add_to_all_type_defs (desc, env, type_def))
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+#endif /* AXIS2_WODEN_DESC_H */

Added: webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_element_decl.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_element_decl.h?rev=410214&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_element_decl.h (added)
+++ webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_element_decl.h Tue May 30 01:20:38 2006
@@ -0,0 +1,254 @@
+/*
+ * 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_ELEMENT_DECL_H
+#define AXIS2_WODEN_ELEMENT_DECL_H
+
+/**
+ * @file axis2_woden_element_decl.h
+ * @brief Axis2 Element Declaration Interface
+ * This interface represents the Element Declaration component described
+ * in the WSDL 2.0 Component Model specification (within the Description 
+ * Component section). An Element Declaration refers to an element, such as
+ * a global element declaration in the XML Schema type system 
+ * (&lt;xs:element&gt;), that describes the content of WSDL input, output
+ * and fault messages.  However, it does not impose XML Schema as the type system.  
+ * It returns a String representing the content model or type system 
+ * (e.g. "http://www.w3.org/2001/XMLSchema") and a axis2_generic_obj_t type 
+ * representing the content of the element declaration. This Object may
+ * be cast to a type appropriate for the content model.
+ * 
+ */
+
+#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 <axis2_generic_obj.h>
+#include <woden/axis2_woden.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct axis2_woden_element_decl axis2_woden_element_decl_t;
+typedef struct axis2_woden_element_decl_ops axis2_woden_element_decl_ops_t;
+struct axis2_woden_ext_element;
+
+/** @defgroup axis2_woden_element_decl Element Declaration
+  * @ingroup axis2_wsdl
+  * @{
+  */
+
+struct axis2_woden_element_decl_ops
+{
+	/** 
+     * Deallocate memory
+     * @return status code
+     */
+    axis2_status_t (AXIS2_CALL *
+    free) (
+            void *
+            element_decl,
+            axis2_env_t **env);
+    
+    axis2_status_t (AXIS2_CALL *
+    to_element_decl_free) (
+            void *
+            element_decl,
+            axis2_env_t **env);
+    
+    axis2_hash_t *(AXIS2_CALL *
+    super_objs) (
+            void *
+            element_decl,
+            axis2_env_t **env);
+    
+    axis2_woden_obj_types_t (AXIS2_CALL *
+    type) (
+            void *element_decl,
+            axis2_env_t **env);
+     
+    /* ************************************************************
+     *  Element Declaration interface methods (the WSDL Component model)
+     * ************************************************************/
+    /**
+     * @return the QName identifying this element declaration in the
+     * underlying type system definition.
+     *  
+     */
+    axis2_qname_t *(AXIS2_CALL *
+    get_qname) (
+            void *decl,
+            axis2_env_t **env); 
+
+    /**
+     * Indicates the underlying type system of this element declaration.
+     * For example, "http://www.w3.org/2001/XMLSchema" indicates the W3 XML Schema
+     * type system.
+     *  
+     * @return the URI identifying the type system
+     */
+    axis2_url_t *(AXIS2_CALL *
+    get_system) (
+            void *decl,
+            axis2_env_t **env); 
+
+    /**
+     * Indicates the type of model or API used to represent components from the 
+     * underlying type system identified by the get_system() method.
+     * <p>
+     * For example:
+     * <ul>
+     * <li>"org.w3c.dom" indicates that the DOM API is used, so the element declaration
+     * content will be represented by a org.w3c.dom.Element.
+     * <li>"org.apache.ws.commons.schema" indicates that the XmlSchema API from the
+     * Apache WebServices project is used, so an XmlSchemaElement will represent the 
+     * element declaration content. 
+     * </ul>
+     * 
+     * @return a String identifying the content model or API used to represent this 
+     * element declaration
+     */
+    axis2_char_t *(AXIS2_CALL *
+    get_content_model) (
+            void *decl,
+            axis2_env_t **env); 
+
+    /**
+     * Returns the content of the element declaration in an object
+     * specific to the underlying content model API. The caller may then
+     * cast this Object to the appropriate type, based on the content model
+     * API indicated by the get_content() method.
+     * 
+     * @return the Object representing the content of the element declaration
+     */
+    axis2_generic_obj_t *(AXIS2_CALL *
+    get_content) (
+            void *decl,
+            axis2_env_t **env); 
+
+    /* ************************************************************
+     *  Non-API implementation methods
+     * ************************************************************/
+
+    axis2_status_t (AXIS2_CALL *
+    set_qname) (
+            void *decl,
+            axis2_env_t **env,
+            axis2_qname_t *qname); 
+
+    axis2_status_t (AXIS2_CALL *
+    set_system) (
+            void *decl,
+            axis2_env_t **env,
+            axis2_url_t *type_system_uri); 
+
+    axis2_status_t (AXIS2_CALL *
+    set_content_model) (
+            void *decl,
+            axis2_env_t **env,
+            axis2_char_t *content_model); 
+
+    axis2_status_t (AXIS2_CALL *
+    set_content) (
+            void *decl,
+            axis2_env_t **env,
+            axis2_generic_obj_t *element_content);
+
+
+};
+
+struct axis2_woden_element_decl
+{
+    axis2_woden_element_decl_ops_t *ops;
+};
+
+AXIS2_DECLARE(axis2_woden_element_decl_t *)
+axis2_woden_element_decl_create(axis2_env_t **env);
+
+/**
+ * This is an Axis2 C internal method. This is used only from constructor
+ * of the child class
+ */
+AXIS2_DECLARE(axis2_status_t)
+axis2_woden_element_decl_resolve_methods(
+        axis2_woden_element_decl_t *decl,
+        axis2_env_t **env,
+        axis2_woden_element_decl_t *decl_impl,
+        axis2_hash_t *methods);
+
+#define AXIS2_WODEN_ELEMENT_DECL_FREE(decl, env) \
+		(((axis2_woden_element_decl_t *) decl)->ops->\
+         free (decl, env))
+
+#define AXIS2_WODEN_ELEMENT_DECL_TO_ELEMENT_DECL_FREE(decl, \
+        env) \
+		(((axis2_woden_element_decl_t *) decl)->ops->\
+         to_element_decl_free (decl, env))
+
+#define AXIS2_WODEN_ELEMENT_DECL_SUPER_OBJS(decl, env) \
+		(((axis2_woden_element_decl_t *) decl)->ops->\
+         super_objs (decl, env))
+
+#define AXIS2_WODEN_ELEMENT_DECL_TYPE(decl, env) \
+		(((axis2_woden_element_decl_t *) decl)->ops->\
+         type (decl, env))
+
+#define AXIS2_WODEN_ELEMENT_DECL_GET_QNAME(decl, env) \
+		(((axis2_woden_element_decl_t *) decl)->ops->\
+         get_qname(decl, env))
+
+#define AXIS2_WODEN_ELEMENT_DECL_GET_SYSTEM(decl, env) \
+		(((axis2_woden_element_decl_t *) decl)->ops->\
+         get_system(decl, env))
+
+#define AXIS2_WODEN_ELEMENT_DECL_GET_CONTENT_MODEL(decl, env) \
+		(((axis2_woden_element_decl_t *) decl)->ops->\
+         get_content_model(decl, env))
+
+#define AXIS2_WODEN_ELEMENT_DECL_GET_CONTENT(decl, env) \
+		(((axis2_woden_element_decl_t *) decl)->ops->\
+         get_content(decl, env))
+
+#define AXIS2_WODEN_ELEMENT_DECL_SET_QNAME(decl, env, qname) \
+		(((axis2_woden_element_decl_t *) decl)->ops->\
+         set_qname(decl, env, qname))
+
+#define AXIS2_WODEN_ELEMENT_DECL_SET_SYSTEM(decl, env, type_system_uri) \
+		(((axis2_woden_element_decl_t *) decl)->ops->\
+         set_system(decl, env, type_system_uri))
+
+#define AXIS2_WODEN_ELEMENT_DECL_SET_CONTENT_MODEL(decl, env, content_model) \
+		(((axis2_woden_element_decl_t *) decl)->ops->\
+         set_content_model(decl, env, content_model))
+
+#define AXIS2_WODEN_ELEMENT_DECL_SET_CONTENT(decl, env, element_content) \
+		(((axis2_woden_element_decl_t *) decl)->ops->\
+         set_content(decl, env, element_content))
+
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+#endif /* AXIS2_WODEN_ELEMENT_DECL_H */

Modified: webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_interface_msg_ref.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_interface_msg_ref.h?rev=410214&r1=410213&r2=410214&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_interface_msg_ref.h (original)
+++ webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_interface_msg_ref.h Tue May 30 01:20:38 2006
@@ -104,6 +104,20 @@
             void *interface_msg_ref,
             axis2_env_t **env);
 
+/* ************************************************************
+ *  Non-API implementation methods
+ * ************************************************************/
+    axis2_status_t (AXIS2_CALL *
+    set_element_declaration) (
+            void *interface_msg_ref,
+            axis2_env_t **env,
+            void *element);
+
+    axis2_status_t (AXIS2_CALL *
+    set_types) (
+            void *interface_msg_ref,
+            axis2_env_t **env,
+            void *types);
 };
 
 union axis2_woden_interface_msg_ref_base
@@ -181,6 +195,14 @@
 #define AXIS2_WODEN_INTERFACE_MSG_REF_TO_ELEMENT(interface_msg_ref, env) \
 		(((axis2_woden_interface_msg_ref_t *) interface_msg_ref)->ops->\
          to_element(interface_msg_ref, env))
+
+#define AXIS2_WODEN_INTERFACE_MSG_REF_SET_ELEMENT_DECLARATION(interface_msg_ref, env, element) \
+		(((axis2_woden_interface_msg_ref_t *) interface_msg_ref)->\
+         set_element_declaration(interface_msg_ref, env, element))
+
+#define AXIS2_WODEN_INTERFACE_MSG_REF_SET_TYPES(interface_msg_ref, env, types) \
+		(((axis2_woden_interface_msg_ref_t *) interface_msg_ref)->\
+         set_types(interface_msg_ref, env, types))
 
 /** @} */
 #ifdef __cplusplus

Modified: webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_svc.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_svc.h?rev=410214&r1=410213&r2=410214&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_svc.h (original)
+++ webservices/axis2/trunk/c/woden/include/woden/wsdl20/axis2_woden_svc.h Tue May 30 01:20:38 2006
@@ -133,22 +133,12 @@
         axis2_env_t **env);
 
 AXIS2_DECLARE(axis2_woden_svc_t *)
-axis2_woden_svc_to_nested_element(
-        void *svc,
-        axis2_env_t **env);
-
-AXIS2_DECLARE(axis2_woden_svc_t *)
 axis2_woden_svc_to_documentable_element(
         void *svc,
         axis2_env_t **env);
 
 AXIS2_DECLARE(axis2_woden_svc_t *)
 axis2_woden_svc_to_configurable(
-        void *svc,
-        axis2_env_t **env);
-
-AXIS2_DECLARE(axis2_woden_svc_t *)
-axis2_woden_svc_to_nested_component(
         void *svc,
         axis2_env_t **env);
 

Added: webservices/axis2/trunk/c/woden/include/woden/wsdl20/enumeration/axis2_woden_direction.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/wsdl20/enumeration/axis2_woden_direction.h?rev=410214&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden/wsdl20/enumeration/axis2_woden_direction.h (added)
+++ webservices/axis2/trunk/c/woden/include/woden/wsdl20/enumeration/axis2_woden_direction.h Tue May 30 01:20:38 2006
@@ -0,0 +1,147 @@
+/*
+ * 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_DIRECTION_H
+#define AXIS2_WODEN_DIRECTION_H
+
+/**
+ * @file axis2_woden_direction.h
+ * @brief Axis2 Direction Interface
+ * This class defines the values of the {direction} property of
+ * Interface Message Reference and Interface Fault Reference. This property 
+ * indicates whether a message is coming "in" to the service or going "out" 
+ * from the service.
+ * <p>
+ * The property is represented in XML by the message or fault 
+ * reference element's tag name:
+ * <ul>
+ * <li>&lt;input&gt; and &lt;infault&gt; have the direction "in" - 
+ *     represented by the constant IN
+ * <li>&lt;output&gt; and &lt;outfault&gt; have the direction "out" - 
+ *     represented by the constant OUT
+ * </ul>
+ * This class uses the typesafe enum pattern. Applications should use the
+ * constants defined in this class to specify or to 
+ * evaluate direction.
+ * <p>
+ * Examples:
+ * <pre>
+ *     AXIS2_WODEN_INTERFACE_MSG_REF_SET_DIRECTION(msg_ref, env, msg_ref->AXIS2_WODEN_IN);
+ *     if(msg_ref->AXIS2_WODEN_IN == AXIS2_WODEN_INTERFACE_MSG_REF_GET_DIRECTION(msg_ref, env))
+ *          ...
+ *     
+ * </pre>
+ * 
+ */
+
+#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 <woden/axis2_woden.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct axis2_woden_direction axis2_woden_direction_t;
+typedef struct axis2_woden_direction_ops axis2_woden_direction_ops_t;
+struct axis2_woden_ext_element;
+
+/** @defgroup axis2_woden_direction Direction
+  * @ingroup axis2_wsdl
+  * @{
+  */
+
+struct axis2_woden_direction_ops
+{
+	/** 
+     * Deallocate memory
+     * @return status code
+     */
+    axis2_status_t (AXIS2_CALL *
+    free) (
+            void *direction,
+            axis2_env_t **env);
+    
+    axis2_status_t (AXIS2_CALL *
+    to_direction_free) (
+            void *direction,
+            axis2_env_t **env);
+    
+    axis2_hash_t *(AXIS2_CALL *
+    super_objs) (
+            void *direction,
+            axis2_env_t **env);
+    
+    axis2_woden_obj_types_t (AXIS2_CALL *
+    type) (
+            void *direction,
+            axis2_env_t **env);
+     
+};
+
+struct axis2_woden_direction
+{
+    axis2_woden_direction_ops_t *ops;
+    axis2_woden_direction_t *AXIS2_WODEN_IN;
+    axis2_woden_direction_t *AXIS2_WODEN_OUT;
+    
+};
+
+AXIS2_DECLARE(axis2_woden_direction_t *)
+axis2_woden_direction_create(
+        axis2_env_t **env,
+        axis2_char_t *f_value);
+
+/**
+ * This is an Axis2 C internal method. This is used only from constructor
+ * of the child class
+ */
+AXIS2_DECLARE(axis2_status_t)
+axis2_woden_direction_resolve_methods(
+        axis2_woden_direction_t *direction,
+        axis2_env_t **env,
+        axis2_woden_direction_t *direction_impl,
+        axis2_hash_t *methods);
+
+#define AXIS2_WODEN_DIRECTION_FREE(direction, env) \
+		(((axis2_woden_direction_t *) direction)->ops->\
+         free (direction, env))
+
+#define AXIS2_WODEN_DIRECTION_TO_DIRECTION_FREE(direction, \
+        env) \
+		(((axis2_woden_direction_t *) direction)->ops->\
+         to_direction_free (direction, env))
+
+#define AXIS2_WODEN_DIRECTION_SUPER_OBJS(direction, env) \
+		(((axis2_woden_direction_t *) direction)->ops->\
+         super_objs (direction, env))
+
+#define AXIS2_WODEN_DIRECTION_TYPE(direction, env) \
+		(((axis2_woden_direction_t *) direction)->ops->\
+         type (direction, env))
+
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+#endif /* AXIS2_WODEN_DIRECTION_H */

Added: webservices/axis2/trunk/c/woden/include/woden/wsdl20/enumeration/axis2_woden_msg_label.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/wsdl20/enumeration/axis2_woden_msg_label.h?rev=410214&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden/wsdl20/enumeration/axis2_woden_msg_label.h (added)
+++ webservices/axis2/trunk/c/woden/include/woden/wsdl20/enumeration/axis2_woden_msg_label.h Tue May 30 01:20:38 2006
@@ -0,0 +1,147 @@
+/*
+ * 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_MSG_LABEL_H
+#define AXIS2_WODEN_MSG_LABEL_H
+
+/**
+ * @file axis2_woden_msg_label.h
+ * @brief Axis2 Message Label Interface
+ * This class defines the values of the {msg_label} property of
+ * Interface Message Reference and Interface Fault Reference. This property 
+ * indicates whether a message is coming "in" to the service or going "out" 
+ * from the service.
+ * <p>
+ * The property is represented in XML by the message or fault 
+ * reference element's tag name:
+ * <ul>
+ * <li>&lt;input&gt; and &lt;infault&gt; have the msg_label "in" - 
+ *     represented by the constant IN
+ * <li>&lt;output&gt; and &lt;outfault&gt; have the msg_label "out" - 
+ *     represented by the constant OUT
+ * </ul>
+ * This class uses the typesafe enum pattern. Applications should use the
+ * constants defined in this class to specify or to 
+ * evaluate msg_label.
+ * <p>
+ * Examples:
+ * <pre>
+ *     AXIS2_WODEN_INTERFACE_MSG_REF_SET_MSG_LABEL(msg_ref, env, msg_ref->AXIS2_WODEN_IN);
+ *     if(msg_ref->AXIS2_WODEN_IN == AXIS2_WODEN_INTERFACE_MSG_REF_GET_MSG_LABEL(msg_ref, env))
+ *          ...
+ *     
+ * </pre>
+ * 
+ */
+
+#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 <woden/axis2_woden.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct axis2_woden_msg_label axis2_woden_msg_label_t;
+typedef struct axis2_woden_msg_label_ops axis2_woden_msg_label_ops_t;
+struct axis2_woden_ext_element;
+
+/** @defgroup axis2_woden_msg_label Message Label
+  * @ingroup axis2_wsdl
+  * @{
+  */
+
+struct axis2_woden_msg_label_ops
+{
+	/** 
+     * Deallocate memory
+     * @return status code
+     */
+    axis2_status_t (AXIS2_CALL *
+    free) (
+            void *msg_label,
+            axis2_env_t **env);
+    
+    axis2_status_t (AXIS2_CALL *
+    to_msg_label_free) (
+            void *msg_label,
+            axis2_env_t **env);
+    
+    axis2_hash_t *(AXIS2_CALL *
+    super_objs) (
+            void *msg_label,
+            axis2_env_t **env);
+    
+    axis2_woden_obj_types_t (AXIS2_CALL *
+    type) (
+            void *msg_label,
+            axis2_env_t **env);
+     
+};
+
+struct axis2_woden_msg_label
+{
+    axis2_woden_msg_label_ops_t *ops;
+    axis2_woden_msg_label_t *AXIS2_WODEN_IN;
+    axis2_woden_msg_label_t *AXIS2_WODEN_OUT;
+    
+};
+
+AXIS2_DECLARE(axis2_woden_msg_label_t *)
+axis2_woden_msg_label_create(
+        axis2_env_t **env,
+        axis2_char_t *f_value);
+
+/**
+ * This is an Axis2 C internal method. This is used only from constructor
+ * of the child class
+ */
+AXIS2_DECLARE(axis2_status_t)
+axis2_woden_msg_label_resolve_methods(
+        axis2_woden_msg_label_t *msg_label,
+        axis2_env_t **env,
+        axis2_woden_msg_label_t *msg_label_impl,
+        axis2_hash_t *methods);
+
+#define AXIS2_WODEN_MSG_LABEL_FREE(msg_label, env) \
+		(((axis2_woden_msg_label_t *) msg_label)->ops->\
+         free (msg_label, env))
+
+#define AXIS2_WODEN_MSG_LABEL_TO_MSG_LABEL_FREE(msg_label, \
+        env) \
+		(((axis2_woden_msg_label_t *) msg_label)->ops->\
+         to_msg_label_free (msg_label, env))
+
+#define AXIS2_WODEN_MSG_LABEL_SUPER_OBJS(msg_label, env) \
+		(((axis2_woden_msg_label_t *) msg_label)->ops->\
+         super_objs (msg_label, env))
+
+#define AXIS2_WODEN_MSG_LABEL_TYPE(msg_label, env) \
+		(((axis2_woden_msg_label_t *) msg_label)->ops->\
+         type (msg_label, env))
+
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+#endif /* AXIS2_WODEN_MSG_LABEL_H */

Added: webservices/axis2/trunk/c/woden/include/woden/wsdl20/extensions/axis2_woden_ext_registry.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/wsdl20/extensions/axis2_woden_ext_registry.h?rev=410214&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden/wsdl20/extensions/axis2_woden_ext_registry.h (added)
+++ webservices/axis2/trunk/c/woden/include/woden/wsdl20/extensions/axis2_woden_ext_registry.h Tue May 30 01:20:38 2006
@@ -0,0 +1,308 @@
+/*
+ * 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_EXT_REGISTRY_H
+#define AXIS2_WODEN_EXT_REGISTRY_H
+
+/**
+ * @file axis2_woden_ext_registry.h
+ * @brief Axis2 Extension Registry Interface
+ * 
+ */
+
+#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>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct axis2_woden_ext_registry axis2_woden_ext_registry_t;
+typedef struct axis2_woden_ext_registry_ops axis2_woden_ext_registry_ops_t;
+struct axis2_woden_wsdl_element;
+    
+/** @defgroup axis2_woden_ext_registry Extension Registry
+  * @ingroup axis2_wsdl
+  * @{
+  */
+
+struct axis2_woden_ext_registry_ops
+{
+	/** 
+     * Deallocate memory
+     * @return status code
+     */
+    axis2_status_t (AXIS2_CALL *
+    free) (
+            void *ext_registry,
+            axis2_env_t **env);
+ 
+    /**
+    * Declare that the specified deserializer should be used to deserialize
+    * all extensibility elements with a qname matching elementQN, when
+    * encountered as immediate children of the element represented by the
+    * specified parentType.
+    *
+    * @param parent type a class object indicating where in the WSDL
+    * document this extensibility element was encountered. For
+    * example, axis2_woden_binding would be used to indicate
+    * this element was encountered as an immediate child of
+    * a &lt;wsdl:binding&gt; element.
+    * @param element QN the qname of the extensibility element
+    * @param ed the extension deserializer to use
+    *
+    */
+    axis2_status_t (AXIS2_CALL *
+    register_deserializer) (
+            void *registry,
+            axis2_env_t **env,
+            axis2_char_t *parent_type,
+            axis2_qname_t *element_qtype,
+            void *ed);
+
+    /**
+    * Look up the deserializer for the extensibility element with the
+    * qname element QN, which was encountered as an immediate child
+    * of the element represented by the specified parentType.
+    *
+    * @param parent type a class object indicating where in the WSDL
+    * document this extensibility element was encountered. For
+    * example, axis2_woden_binding would be used to indicate
+    * this element was encountered as an immediate child of
+    * a &lt;wsdl:binding&gt; element.
+    * @param element QN the qname of the extensibility element
+    *
+    * @return the extension deserializer, if one was found. If none was
+    * found. TODO Decide what to do if no deserializer found
+    *
+    */
+    void *(AXIS2_CALL *
+    query_deserializer) (
+            void *registry,
+            axis2_env_t **env,
+            axis2_char_t *parent_type,
+            axis2_qname_t *element_type);
+
+    /**
+    * Look up the type of the extensibility element with the specified qname, which
+    * was defined as a child of the element represented by the specified parent class.
+    *
+    * @param parent type a class object indicating where in the WSDL
+    * document this extensibility attribute was encountered. For
+    * example, axis2_woden_binding would be used to indicate
+    * this attribute was defined on a &lt;wsdl:binding> element.
+    * @param attr name the qname of the extensibility attribute
+    *
+    * @return one of the constants defined on the Attribute Extensible class
+    *
+    */
+    void *(AXIS2_CALL *
+    query_ext_element_type) (
+            void *registry,
+            axis2_env_t **env,
+            axis2_char_t *parent_class,
+            axis2_qname_t *elem_qn);
+
+    /**
+    * Returns a set of QNames representing the extensibility elements
+    * that are allowed as children of the specified parent type.
+    * Basically, this method returns the keys associated with the set
+    * of extension deserializers registered for this parent type.
+    * Returns null if no extension deserializers are registered for
+    * this parent type.
+    */
+    axis2_array_list_t *(AXIS2_CALL *
+    get_allowable_exts) (
+            void *registry,
+            axis2_env_t **env,
+            axis2_char_t *parent_type);
+
+    /**
+    * Declare that the specified extensionType is the concrete
+    * class which should be used to represent extensibility elements
+    * with qnames matching elementQN, that are intended to exist as
+    * children of the specified parentType.
+    *
+    * @param parentType a class object indicating where in the WSDL
+    * definition this extension would exist. For example,
+    * axis2_woden_binding would be used to indicate
+    * this extensibility element would be added to the list of
+    * extensibility elements belonging to a javax.wsdl.Binding,
+    * after being instantiated.
+    * @param element QN the qname of the extensibility element
+    * @param extension type the concrete class which should be instantiated
+    *
+    */
+    axis2_status_t (AXIS2_CALL *
+    register_ext_element_type) (
+            void *registry,
+            axis2_env_t **env,
+            axis2_char_t *parent_type,
+            axis2_qname_t *element_qtype,
+            void *element);
+
+
+    /**
+    * Declare that the type of the specified extension attribute, when it occurs
+    * as an attribute of the specified parent type, should be assumed to be
+    * attrType.
+    *
+    * @param parent_type a class object indicating where in the WSDL
+    * document this extensibility attribute was encountered. For
+    * example, axis2_woden_bindin would be used to indicate
+    * this attribute was defined on a &lt;wsdl:binding> element.
+    * @param attr_qname the qname of the extensibility attribute
+    * @param attr_type one of the constants defined on the Attribute Extensible
+    * class
+    */
+    axis2_status_t (AXIS2_CALL *
+    register_ext_attr_type) (
+            void *registry,
+            axis2_env_t **env,
+            axis2_char_t *owner_class,
+            axis2_qname_t *attr_qname,
+            void *attr);
+
+    /**
+    * Look up the type of the extensibility attribute with the specified qname,
+    * which was defined on an element represented by the specified parent class.
+    *
+    * @param parentType a class object indicating where in the WSDL
+    * document this extensibility attribute was encountered. For
+    * example, axis2_woden_binding would be used to indicate
+    * this attribute was defined on a &lt;wsdl:binding> element.
+    * @param attr_qname the qname of the extensibility attribute
+    *
+    * @return one of the constants defined on the Attribute Extensible class
+    */
+    void *(AXIS2_CALL *
+    query_ext_attr_type) (
+            void *registry,
+            axis2_env_t **env,
+            axis2_char_t *parent_class,
+            axis2_qname_t *attr_qn);
+
+    /**
+    * Register the object that will represent extensions from a specified 
+    * namespace that will extend the specified WSDL component class.
+    * 
+    * @param parent_class the WSDL component class
+    * @param ext_namespace the extension namespace
+    * @param comp_ext_class the obj representing these extensions
+    */
+    axis2_status_t (AXIS2_CALL *
+    register_component_ext) (
+            void *registry,
+            axis2_env_t **env,
+            axis2_char_t *parent_class,
+            axis2_url_t *ext_namespc,
+            void *comp_ext);
+
+    /**
+    * Return the object that represents the extensions from the specified
+    * namespace that extend the specified WSDL component class.
+    * 
+    * @param parent_class the WSDL component
+    * @param ext_namespace the extension namespace
+    * @return the object of the component extensions
+    */
+    void *(AXIS2_CALL *
+    query_component_ext) (
+            void *registry,
+            axis2_env_t **env,
+            axis2_char_t *parent_class,
+            axis2_url_t *ext_namespc);
+
+    /**
+    * Return the extension namespaces registered for the specified WSDL Component class.
+    * 
+    * @param parentClass the class of WSDL component extended by these namespaces
+    * @return an array of namespace URIs
+    */
+    axis2_array_list_t *(AXIS2_CALL *
+    query_component_ext_namespaces) (
+            void *registry,
+            axis2_env_t **env,
+            axis2_char_t *parent_class);
+};
+
+struct axis2_woden_ext_registry
+{
+    axis2_woden_ext_registry_ops_t *ops;
+};
+
+AXIS2_DECLARE(axis2_woden_ext_registry_t *)
+axis2_woden_ext_registry_create(axis2_env_t **env);
+
+#define AXIS2_WODEN_EXT_REGISTRY_FREE(ext_registry, env) \
+		(((axis2_woden_ext_registry_t *) ext_registry)->ops->\
+         free (ext_registry, env))
+
+#define AXIS2_WODEN_EXT_REGISTRY_REGISTER_DESERIALIZER(ext_registry, env, parent_type, element_qtype, ed) \
+		(((axis2_woden_ext_registry_t *) ext_registry)->ops->\
+         register_deserializer (ext_registry, env, parent_type, element_qtype, ed))
+
+#define AXIS2_WODEN_EXT_REGISTRY_QUERY_DESERIALIZER(ext_registry, env, parent_type, element_type) \
+		(((axis2_woden_ext_registry_t *) ext_registry)->ops->\
+         query_deserializer (ext_registry, env, parent_type, element_type))
+
+#define AXIS2_WODEN_EXT_REGISTRY_QUERY_EXT_ELEMENT_TYPE(ext_registry, env, parent_class, elem_qn) \
+		(((axis2_woden_ext_registry_t *) ext_registry)->ops->\
+         query_ext_element_type (ext_registry, env, parent_class, elem_qn))
+
+#define AXIS2_WODEN_EXT_REGISTRY_GET_ALLOWABLE_EXTS(ext_registry, env, parent_type) \
+		(((axis2_woden_ext_registry_t *) ext_registry)->ops->\
+         get_allowable_exts (ext_registry, env, parent_type))
+
+#define AXIS2_WODEN_EXT_REGISTRY_REGISTER_EXT_ELEMENT_TYPE(ext_registry, env, parent_type, element_qtype, element) \
+		(((axis2_woden_ext_registry_t *) ext_registry)->ops->\
+         register_ext_element_type (ext_registry, env, parent_type, element_qtype, element))
+
+#define AXIS2_WODEN_EXT_REGISTRY_REGISTER_EXT_ATTR_TYPE(ext_registry, env, owner_class, attr_qname, attr) \
+		(((axis2_woden_ext_registry_t *) ext_registry)->ops->\
+         register_ext_attr_type (ext_registry, env, owner_class, attr_qname, attr))
+
+#define AXIS2_WODEN_EXT_REGISTRY_QUERY_EXT_ATTR_TYPE(ext_registry, env, parent_class, attr_qn) \
+		(((axis2_woden_ext_registry_t *) ext_registry)->ops->\
+         query_ext_attr_type (ext_registry, env, parent_class, attr_qn))
+
+#define AXIS2_WODEN_EXT_REGISTRY_REGISTER_COMPONENT_EXT(ext_registry, env, parent_class, ext_namespc, comp_ext) \
+		(((axis2_woden_ext_registry_t *) ext_registry)->ops->\
+         register_component_ext (ext_registry, env, parent_class, ext_namespc, comp_ext))
+
+#define AXIS2_WODEN_EXT_REGISTRY_QUERY_COMPONENT_EXT(ext_registry, env, parent_class, ext_namespc) \
+		(((axis2_woden_ext_registry_t *) ext_registry)->ops->\
+         query_component_ext (ext_registry, env, parent_class, ext_namespc))
+
+#define AXIS2_WODEN_EXT_REGISTRY_QUERY_COMPONENT_EXT_NAMESPACES(ext_registry, env, parent_class) \
+		(((axis2_woden_ext_registry_t *) ext_registry)->ops->\
+         query_component_ext_namespaces (ext_registry, env, parent_class))
+
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+#endif /* AXIS2_WODEN_EXT_REGISTRY_H */

Modified: webservices/axis2/trunk/c/woden/include/woden/wsdl20/xml/axis2_woden_interface_element.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/wsdl20/xml/axis2_woden_interface_element.h?rev=410214&r1=410213&r2=410214&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden/wsdl20/xml/axis2_woden_interface_element.h (original)
+++ webservices/axis2/trunk/c/woden/include/woden/wsdl20/xml/axis2_woden_interface_element.h Tue May 30 01:20:38 2006
@@ -63,16 +63,6 @@
             void *interface_element,
             axis2_env_t **env);
  
-    axis2_status_t (AXIS2_CALL *
-    to_interface_element_free) (
-            void *interface_element,
-            axis2_env_t **env);
-    
-    axis2_hash_t *(AXIS2_CALL *
-    super_objs) (
-            void *interface_element,
-            axis2_env_t **env);
- 
     axis2_woden_obj_types_t (AXIS2_CALL *
     type) (
             void *interface_element,
@@ -162,14 +152,6 @@
 #define AXIS2_WODEN_INTERFACE_ELEMENT_FREE(interface_element, env) \
 		(((axis2_woden_interface_element_t *) interface_element)->ops->\
          free (interface_element, env))
-
-#define AXIS2_WODEN_INTERFACE_ELEMENT_TO_INTERFACE_ELEMENT_FREE(interface_element, env) \
-		(((axis2_woden_interface_element_t *) interface_element)->ops->\
-         to_interface_element_free (interface_element, env))
-
-#define AXIS2_WODEN_INTERFACE_ELEMENT_SUPER_OBJS(interface_element, env) \
-		(((axis2_woden_interface_element_t *) interface_element)->ops->\
-         super_objs (interface_element, env))
 
 #define AXIS2_WODEN_INTERFACE_ELEMENT_TYPE(interface_element, env) \
 		(((axis2_woden_interface_element_t *) interface_element)->ops->\

Added: webservices/axis2/trunk/c/woden/include/woden/wsdl20/xml/axis2_woden_svc_element.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden/wsdl20/xml/axis2_woden_svc_element.h?rev=410214&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden/wsdl20/xml/axis2_woden_svc_element.h (added)
+++ webservices/axis2/trunk/c/woden/include/woden/wsdl20/xml/axis2_woden_svc_element.h Tue May 30 01:20:38 2006
@@ -0,0 +1,181 @@
+/*
+ * 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_SVC_ELEMENT_H
+#define AXIS2_WODEN_SVC_ELEMENT_H
+
+/**
+ * @file axis2_woden_svc_element.h
+ * @brief Axis2 Service Element Interface
+ * This interface represents the &lt;service&gt; element. 
+ *
+ */
+
+#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 <woden/axis2_woden.h>
+#include <woden/wsdl20/xml/axis2_woden_documentable_element.h>
+#include <woden/wsdl20/xml/axis2_woden_configurable_element.h>
+#include <woden/wsdl20/xml/axis2_woden_nested_element.h>
+#include <woden/types/woden_nc_name.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct axis2_woden_svc_element axis2_woden_svc_element_t;
+typedef struct axis2_woden_svc_element_ops axis2_woden_svc_element_ops_t;
+typedef union axis2_woden_svc_element_base axis2_woden_svc_element_base_t;
+
+/** @defgroup axis2_woden_svc_element Service Element
+  * @ingroup axis2_wsdl
+  * @{
+  */
+
+struct axis2_woden_svc_element_ops
+{
+	/** 
+     * Deallocate memory
+     * @return status code
+     */
+    axis2_status_t (AXIS2_CALL *
+    free) (
+            void *svc_el,
+            axis2_env_t **env);
+    
+    axis2_status_t (AXIS2_CALL *
+    to_svc_element_free) (
+            void *svc_el,
+            axis2_env_t **env);
+    
+    axis2_woden_obj_types_t (AXIS2_CALL *
+    type) (
+            void *svc_el,
+            axis2_env_t **env);
+    
+    axis2_status_t (AXIS2_CALL *
+    set_qname) (
+            void *svc_el,
+            axis2_env_t **env,
+            axis2_qname_t *qname);
+
+    axis2_qname_t *(AXIS2_CALL *
+    get_qname) (
+            void *svc_el,
+            axis2_env_t **env);
+
+    axis2_status_t (AXIS2_CALL *
+    set_interface_qname) (
+            void *svc_el,
+            axis2_env_t **env,
+            axis2_qname_t *qname);
+
+    axis2_qname_t *(AXIS2_CALL *
+    get_interface_qname) (
+            void *svc_el,
+            axis2_env_t **env);
+
+    void *(AXIS2_CALL *
+    get_interface_element) (
+            void *svc_el,
+            axis2_env_t **env);
+
+    axis2_status_t (AXIS2_CALL *
+    add_endpoint_element) (
+            void *svc_el,
+            axis2_env_t **env,
+            void *interface);
+
+    axis2_array_list_t *(AXIS2_CALL *
+    get_endpoint_elements) (
+            void *svc_el,
+            axis2_env_t **env);
+
+};
+
+union axis2_woden_svc_element_base
+{
+    axis2_woden_documentable_element_t documentable_element;
+    axis2_woden_configurable_element_t configurable_element;
+    axis2_woden_nested_element_t nested_element;
+};
+
+struct axis2_woden_svc_element
+{
+    axis2_woden_svc_element_base_t base;
+    axis2_woden_svc_element_ops_t *ops;
+};
+
+/************************Woden C Internal Methods******************************/
+axis2_status_t AXIS2_CALL
+axis2_woden_svc_element_resolve_methods(
+        axis2_woden_svc_element_t *svc_element,
+        axis2_env_t **env,
+        axis2_hash_t *methods);
+/************************End of Woden C Internal Methods***********************/
+
+#define AXIS2_WODEN_SVC_ELEMENT_FREE(svc_el, env) \
+		(((axis2_woden_svc_element_t *) svc_el)->ops->\
+         free (svc_el, env))
+
+#define AXIS2_WODEN_SVC_ELEMENT_TO_SVC_ELEMENT_FREE(svc_el, env) \
+		(((axis2_woden_svc_element_t *) svc_el)->ops->\
+         to_svc_element_free (svc_el, env))
+
+#define AXIS2_WODEN_SVC_ELEMENT_TYPE(svc_el, env) \
+		(((axis2_woden_svc_element_t *) svc_el)->ops->\
+         type (svc_el, env))
+
+#define AXIS2_WODEN_SVC_ELEMENT_SET_QNAME(svc_el, env, name) \
+		(((axis2_woden_svc_element_t *) svc_el)->ops->\
+         set_qname(svc_el, env, qname))
+
+#define AXIS2_WODEN_SVC_ELEMENT_GET_QNAME(svc_el, env) \
+		(((axis2_woden_svc_element_t *) svc_el)->ops->\
+         get_qname(svc_el, env))
+
+#define AXIS2_WODEN_SVC_ELEMENT_SET_INTERFACE_QNAME(svc_el, env, qname) \
+		(((axis2_woden_svc_element_t *) svc_el)->ops->\
+         set_interface_qname(svc_el, env, qname))
+
+#define AXIS2_WODEN_SVC_ELEMENT_GET_INTERFACE_QNAME(svc_el, env) \
+		(((axis2_woden_svc_element_t *) svc_el)->ops->\
+         get_interface_qname(svc_el, env))
+
+#define AXIS2_WODEN_SVC_ELEMENT_GET_INTERFACE_ELEMENT(svc_el, env) \
+		(((axis2_woden_svc_element_t *) svc_el)->ops->\
+         get_interface_element(svc_el, env))
+
+#define AXIS2_WODEN_SVC_ELEMENT_ADD_ENDPOINT_ELEMENT(svc_el, env, uri) \
+		(((axis2_woden_svc_element_t *) svc_el)->ops->\
+         add_endpoint_element(svc_el, env, endpoint))
+
+#define AXIS2_WODEN_SVC_ELEMENT_GET_ENDPOINT_ELEMENTS(svc_el, env) \
+		(((axis2_woden_svc_element_t *) svc_el)->ops->\
+         get_endpoint_elements(svc_el, env))
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+#endif /* AXIS2_WODEN_SVC_ELEMENT_H */

Modified: webservices/axis2/trunk/c/woden/src/types/nc_name.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/types/nc_name.c?rev=410214&r1=410213&r2=410214&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/types/nc_name.c (original)
+++ webservices/axis2/trunk/c/woden/src/types/nc_name.c Tue May 30 01:20:38 2006
@@ -147,7 +147,7 @@
 
     if(AXIS2_TRUE != woden_nc_name_is_valid(nc_name, env, value))
     {
-        AXIS2_ERROR_SET((*env)->error, STRING_DOES_NOT_REPRESENT_A_VALID_NC_NAME, 
+        AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_STRING_DOES_NOT_REPRESENT_A_VALID_NC_NAME, 
                 AXIS2_FAILURE);
     }
     if(nc_name_impl->f_value)



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