axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r415503 [2/9] - in /webservices/axis2/trunk/c/woden: ./ include/ src/builder/ src/builder/wsdl10/ src/util/ src/wsdl10/ src/wsdl10/xml/ src/wsdl20/ src/wsdl20/extensions/soap/
Date Tue, 20 Jun 2006 04:48:14 GMT
Added: webservices/axis2/trunk/c/woden/include/woden_wsdl10_interface_msg_ref_element.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden_wsdl10_interface_msg_ref_element.h?rev=415503&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden_wsdl10_interface_msg_ref_element.h (added)
+++ webservices/axis2/trunk/c/woden/include/woden_wsdl10_interface_msg_ref_element.h Mon Jun
19 21:48:12 2006
@@ -0,0 +1,171 @@
+/*
+ * 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_INTERFACE_MSG_REF_ELEMENT_H
+#define WODEN_WSDL10_INTERFACE_MSG_REF_ELEMENT_H
+
+/**
+ * @file woden_wsdl10_interface_msg_ref_element.h
+ * @brief Axis2 Interface Msg Reference Element Interface
+ * This interface represents the <input> and <output> 
+ * child elements of interface operation. 
+ */
+
+#include <axis2_allocator.h>
+#include <axis2_env.h>
+#include <axis2_error.h>
+#include <axis2_string.h>
+#include <axis2_utils.h>
+#include <axis2_hash.h>
+#include <axis2_qname.h>
+#include <axis2_uri.h>
+#include <axis2_array_list.h>
+#include <woden.h>
+#include <woden_documentable_element.h>
+#include <woden_configurable_element.h>
+#include <woden_nested_element.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct woden_wsdl10_interface_msg_ref_element woden_wsdl10_interface_msg_ref_element_t;
+typedef struct woden_wsdl10_interface_msg_ref_element_ops woden_wsdl10_interface_msg_ref_element_ops_t;
+typedef union woden_wsdl10_interface_msg_ref_element_base woden_wsdl10_interface_msg_ref_element_base_t;
+
+/** @defgroup woden_wsdl10_interface_msg_ref_element Interface Msg Reference Element
+  * @ingroup axis2_interface
+  * @{
+  */
+
+struct woden_wsdl10_interface_msg_ref_element_ops
+{
+   /** 
+     * Deallocate memory
+     * @return status code
+     */
+    axis2_status_t (AXIS2_CALL *
+    free) (
+            void *interface_msg_ref_element,
+            const axis2_env_t *env);
+ 
+    woden_obj_types_t (AXIS2_CALL *
+    type) (
+            void *interface_msg_ref_element,
+            const axis2_env_t *env);
+    
+    axis2_status_t (AXIS2_CALL *
+    set_qname) (
+            void *iface_fault_ele,
+            const axis2_env_t *env,
+            axis2_qname_t *qname);
+
+    axis2_qname_t *(AXIS2_CALL *
+    get_qname) (
+            void *iface_fault_ele,
+            const axis2_env_t *env);
+    
+    axis2_status_t (AXIS2_CALL *
+    set_msg_qname) (
+            void *iface_fault_ele,
+            const axis2_env_t *env,
+            axis2_qname_t *element);
+
+    axis2_qname_t *(AXIS2_CALL *
+    get_msg_qname) (
+            void *iface_fault_ele,
+            const axis2_env_t *env);
+    
+    axis2_status_t (AXIS2_CALL *
+    set_direction) (
+            void *iface_fault_ele,
+            const axis2_env_t *env,
+            void *dir);
+
+    void *(AXIS2_CALL *
+    get_direction) (
+            void *iface_fault_ele,
+            const axis2_env_t *env);
+    
+
+};
+
+union woden_wsdl10_interface_msg_ref_element_base
+{
+    woden_documentable_element_t documentable_element;
+    woden_configurable_element_t configurable_element;
+    woden_nested_element_t nested_element;
+};
+
+struct woden_wsdl10_interface_msg_ref_element
+{
+    woden_wsdl10_interface_msg_ref_element_base_t base;
+    woden_wsdl10_interface_msg_ref_element_ops_t *ops;
+};
+
+AXIS2_EXTERN woden_wsdl10_interface_msg_ref_element_t * AXIS2_CALL
+woden_wsdl10_interface_msg_ref_element_create(
+        const axis2_env_t *env);
+
+/************************Woden C Internal Methods******************************/
+AXIS2_EXTERN 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);
+/************************End of Woden C Internal Methods***********************/
+
+#define WODEN_WSDL10_INTERFACE_MSG_REF_ELEMENT_FREE(interface_msg_ref_element, env) \
+      (((woden_wsdl10_interface_msg_ref_element_t *) interface_msg_ref_element)->ops->\
+         free (interface_msg_ref_element, env))
+
+#define WODEN_WSDL10_INTERFACE_MSG_REF_ELEMENT_TYPE(interface_msg_ref_element, env) \
+      (((woden_wsdl10_interface_msg_ref_element_t *) interface_msg_ref_element)->ops->\
+         type (interface_msg_ref_element, env))
+
+#define WODEN_WSDL10_INTERFACE_MSG_REF_ELEMENT_SET_QNAME(interface_msg_ref_element, env,
qname) \
+      (((woden_wsdl10_interface_msg_ref_element_t *) interface_msg_ref_element)->ops->\
+        set_qname  (interface_msg_ref_element, env, qname))
+
+#define WODEN_WSDL10_INTERFACE_MSG_REF_ELEMENT_GET_QNAME(interface_msg_ref_element, env)
\
+      (((woden_wsdl10_interface_msg_ref_element_t *) interface_msg_ref_element)->ops->\
+        get_qname  (interface_msg_ref_element, env))
+
+#define WODEN_WSDL10_INTERFACE_MSG_REF_ELEMENT_SET_MSG_QNAME(interface_msg_ref_element, env,
element) \
+      (((woden_wsdl10_interface_msg_ref_element_t *) interface_msg_ref_element)->ops->\
+        set_msg_qname  (interface_msg_ref_element, env, element))
+
+#define WODEN_WSDL10_INTERFACE_MSG_REF_ELEMENT_GET_MSG_QNAME(interface_msg_ref_element, env)
\
+      (((woden_wsdl10_interface_msg_ref_element_t *) interface_msg_ref_element)->ops->\
+        get_msg_qname  (interface_msg_ref_element, env))
+
+#define WODEN_WSDL10_INTERFACE_MSG_REF_ELEMENT_SET_DIRECTION(interface_msg_ref_element, env,
dir) \
+      (((woden_wsdl10_interface_msg_ref_element_t *) interface_msg_ref_element)->ops->\
+         set_direction (interface_msg_ref_element, env, dir))
+
+#define WODEN_WSDL10_INTERFACE_MSG_REF_ELEMENT_GET_DIRECTION(interface_msg_ref_element, env)
\
+      (((woden_wsdl10_interface_msg_ref_element_t *) interface_msg_ref_element)->ops->\
+         get_direction (interface_msg_ref_element, env))
+
+
+
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+#endif /* WODEN_WSDL10_INTERFACE_MSG_REF_ELEMENT_H */

Added: webservices/axis2/trunk/c/woden/include/woden_wsdl10_msg_ref.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden_wsdl10_msg_ref.h?rev=415503&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden_wsdl10_msg_ref.h (added)
+++ webservices/axis2/trunk/c/woden/include/woden_wsdl10_msg_ref.h Mon Jun 19 21:48:12 2006
@@ -0,0 +1,183 @@
+/*
+ * 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_MSG_REF_H
+#define WODEN_WSDL10_MSG_REF_H
+
+/**
+ * @file woden_wsdl10_msg_ref.h
+ * @brief Axis2 Interface Message Reference Interface Message Reference
+ * 
+ */
+
+#include <woden.h>
+#include <woden_wsdl10_msg_ref_element.h>
+#include <woden_nested_configurable.h>
+#include <axis2_qname.h>
+
+/** @defgroup woden_wsdl10_msg_ref Interface Message Reference
+  * @ingroup axis2_wsdl
+  * @{
+  */
+
+typedef union woden_wsdl10_msg_ref_base woden_wsdl10_msg_ref_base_t;
+typedef struct woden_wsdl10_msg_ref woden_wsdl10_msg_ref_t;
+typedef struct woden_wsdl10_msg_ref_ops woden_wsdl10_msg_ref_ops_t;
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+struct woden_wsdl10_msg_ref_ops
+{
+   /** 
+     * Deallocate memory
+     * @return status code
+     */
+    axis2_status_t (AXIS2_CALL *
+    free) (void *msg_ref,
+            const axis2_env_t *env);
+
+    axis2_hash_t *(AXIS2_CALL *
+    super_objs) (void *msg_ref,
+            const axis2_env_t *env);
+
+    woden_obj_types_t (AXIS2_CALL *
+    type) (void *msg_ref,
+            const axis2_env_t *env);
+    /**
+     * @return the base implementation class
+     */
+    struct woden_nested_configurable *(AXIS2_CALL *
+    get_base_impl) (
+            void *msg_ref,
+            const axis2_env_t *env);
+
+    axis2_qname_t *(AXIS2_CALL *
+    get_qname) (
+            void *interface_op,
+            const axis2_env_t *env);
+
+    void *(AXIS2_CALL *
+    to_element) (
+            void *interface_op,
+            const axis2_env_t *env);
+
+};
+
+union woden_wsdl10_msg_ref_base
+{
+    woden_nested_configurable_t nested_configurable;
+    woden_wsdl10_msg_ref_element_t msg_ref_element;
+};
+
+struct woden_wsdl10_msg_ref
+{
+    woden_wsdl10_msg_ref_base_t base;
+    woden_wsdl10_msg_ref_ops_t *ops;
+};
+
+AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
+woden_wsdl10_msg_ref_create(
+        const axis2_env_t *env);
+
+
+/***************************Woden C Internal Methods***************************/
+AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
+woden_wsdl10_msg_ref_to_msg_ref_element(
+        void *msg_ref,
+        const axis2_env_t *env);
+
+AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
+woden_wsdl10_msg_ref_to_nested_configurable(
+        void *msg_ref,
+        const axis2_env_t *env);
+
+AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
+woden_wsdl10_msg_ref_to_configurable(
+        void *msg_ref,
+        const axis2_env_t *env);
+
+AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
+woden_wsdl10_msg_ref_to_nested_element(
+        void *msg_ref,
+        const axis2_env_t *env);
+
+AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
+woden_wsdl10_msg_ref_to_configurable_element(
+        void *msg_ref,
+        const axis2_env_t *env);
+
+AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
+woden_wsdl10_msg_ref_to_documentable_element(
+        void *msg_ref,
+        const axis2_env_t *env);
+
+AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
+woden_wsdl10_msg_ref_to_documentable(
+        void *msg_ref,
+        const axis2_env_t *env);
+
+AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
+woden_wsdl10_msg_ref_to_attr_extensible(
+        void *msg_ref,
+        const axis2_env_t *env);
+
+AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
+woden_wsdl10_msg_ref_to_element_extensible(
+        void *msg_ref,
+        const axis2_env_t *env);
+
+
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
+woden_wsdl10_msg_ref_resolve_methods(
+        woden_wsdl10_msg_ref_t *msg_ref,
+        const axis2_env_t *env,
+        woden_wsdl10_msg_ref_t *msg_ref_impl,
+        axis2_hash_t *methods);
+/************************End of Woden C Internal Methods***********************/
+
+#define WODEN_WSDL10_MSG_REF_FREE(msg_ref, env) \
+      (((woden_wsdl10_msg_ref_t *) msg_ref)->ops->\
+       free(msg_ref, env))
+
+#define WODEN_WSDL10_MSG_REF_SUPER_OBJS(msg_ref, env) \
+      (((woden_wsdl10_msg_ref_t *) msg_ref)->ops->\
+       super_objs(msg_ref, env))
+
+#define WODEN_WSDL10_MSG_REF_TYPE(msg_ref, env) \
+      (((woden_wsdl10_msg_ref_t *) msg_ref)->ops->\
+       type(msg_ref, env))
+
+#define WODEN_WSDL10_MSG_REF_GET_BASE_IMPL(msg_ref, env) \
+      (((woden_wsdl10_msg_ref_t *) msg_ref)->ops->\
+       get_base_impl(msg_ref, env))
+
+#define WODEN_WSDL10_MSG_REF_GET_QNAME(msg_ref, env) \
+      (((woden_wsdl10_msg_ref_t *) msg_ref)->ops->\
+         get_qname(msg_ref, env))
+
+#define WODEN_WSDL10_MSG_REF_TO_ELEMENT(msg_ref, env) \
+      (((woden_wsdl10_msg_ref_t *) msg_ref)->ops->\
+         to_element(msg_ref, env))
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+#endif /* WODEN_WSDL10_MSG_REF_H */

Added: webservices/axis2/trunk/c/woden/include/woden_wsdl10_part.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden_wsdl10_part.h?rev=415503&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden_wsdl10_part.h (added)
+++ webservices/axis2/trunk/c/woden/include/woden_wsdl10_part.h Mon Jun 19 21:48:12 2006
@@ -0,0 +1,214 @@
+/*
+ * 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_PART_H
+#define WODEN_WSDL10_PART_H
+
+/**
+ * @file woden_wsdl10_part.h
+ * @brief Woden Part Interface Message Reference
+ * 
+ */
+
+#include <woden.h>
+#include <woden_wsdl10_part_element.h>
+#include <woden_nested_configurable.h>
+#include <axis2_qname.h>
+
+/** @defgroup woden_wsdl10_part Interface Message Reference
+  * @ingroup axis2_wsdl
+  * @{
+  */
+
+typedef union woden_wsdl10_part_base woden_wsdl10_part_base_t;
+typedef struct woden_wsdl10_part woden_wsdl10_part_t;
+typedef struct woden_wsdl10_part_ops woden_wsdl10_part_ops_t;
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+struct woden_wsdl10_part_ops
+{
+   /** 
+     * Deallocate memory
+     * @return status code
+     */
+    axis2_status_t (AXIS2_CALL *
+    free) (void *part,
+            const axis2_env_t *env);
+
+    axis2_hash_t *(AXIS2_CALL *
+    super_objs) (void *part,
+            const axis2_env_t *env);
+
+    woden_obj_types_t (AXIS2_CALL *
+    type) (void *part,
+            const axis2_env_t *env);
+    /**
+     * @return the base implementation class
+     */
+    struct woden_nested_configurable *(AXIS2_CALL *
+    get_base_impl) (
+            void *part,
+            const axis2_env_t *env);
+
+    axis2_qname_t *(AXIS2_CALL *
+    get_qname) (
+            void *part,
+            const axis2_env_t *env);
+
+    void *(AXIS2_CALL *
+    get_element_declaration) (
+            void *part,
+            const axis2_env_t *env);
+
+    void *(AXIS2_CALL *
+    to_element)  (
+            void *part,
+            const axis2_env_t *env);
+
+/* ************************************************************
+ *  Non-API implementation methods
+ * ************************************************************/
+    axis2_status_t (AXIS2_CALL *
+    set_element_declaration) (
+            void *part,
+            const axis2_env_t *env,
+            void *element);
+
+    axis2_status_t (AXIS2_CALL *
+    set_types) (
+            void *part,
+            const axis2_env_t *env,
+            void *types);
+};
+
+union woden_wsdl10_part_base
+{
+    woden_nested_configurable_t nested_configurable;
+    woden_wsdl10_part_element_t part_element;
+};
+
+struct woden_wsdl10_part
+{
+    woden_wsdl10_part_base_t base;
+    woden_wsdl10_part_ops_t *ops;
+};
+
+AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
+woden_wsdl10_part_create(
+        const axis2_env_t *env);
+
+
+/***************************Woden C Internal Methods***************************/
+AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
+woden_wsdl10_part_to_part_element(
+        void *part,
+        const axis2_env_t *env);
+
+AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
+woden_wsdl10_part_to_nested_configurable(
+        void *part,
+        const axis2_env_t *env);
+
+AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
+woden_wsdl10_part_to_configurable(
+        void *part,
+        const axis2_env_t *env);
+
+AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
+woden_wsdl10_part_to_nested_element(
+        void *part,
+        const axis2_env_t *env);
+
+AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
+woden_wsdl10_part_to_configurable_element(
+        void *part,
+        const axis2_env_t *env);
+
+AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
+woden_wsdl10_part_to_documentable_element(
+        void *part,
+        const axis2_env_t *env);
+
+AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
+woden_wsdl10_part_to_documentable(
+        void *part,
+        const axis2_env_t *env);
+
+AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
+woden_wsdl10_part_to_attr_extensible(
+        void *part,
+        const axis2_env_t *env);
+
+AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
+woden_wsdl10_part_to_element_extensible(
+        void *part,
+        const axis2_env_t *env);
+
+
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
+woden_wsdl10_part_resolve_methods(
+        woden_wsdl10_part_t *part,
+        const axis2_env_t *env,
+        woden_wsdl10_part_t *part_impl,
+        axis2_hash_t *methods);
+/************************End of Woden C Internal Methods***********************/
+
+#define WODEN_WSDL10_PART_FREE(part, env) \
+      (((woden_wsdl10_part_t *) part)->ops->\
+       free(part, env))
+
+#define WODEN_WSDL10_PART_SUPER_OBJS(part, env) \
+      (((woden_wsdl10_part_t *) part)->ops->\
+       super_objs(part, env))
+
+#define WODEN_WSDL10_PART_TYPE(part, env) \
+      (((woden_wsdl10_part_t *) part)->ops->\
+       type(part, env))
+
+#define WODEN_WSDL10_PART_GET_BASE_IMPL(part, env) \
+      (((woden_wsdl10_part_t *) part)->ops->\
+       get_base_impl(part, env))
+
+#define WODEN_WSDL10_PART_GET_QNAME(part, env) \
+      (((woden_wsdl10_part_t *) part)->ops->\
+         get_qname(part, env))
+
+#define WODEN_WSDL10_PART_GET_ELEMENT_DECLARATION(part, env) \
+      (((woden_wsdl10_part_t *) part)->ops->\
+         get_element_declaration(part, env))
+
+#define WODEN_WSDL10_PART_TO_ELEMENT(part, env) \
+      (((woden_wsdl10_part_t *) part)->ops->\
+         to_element(part, env))
+
+#define WODEN_WSDL10_PART_SET_ELEMENT_DECLARATION(part, env, element) \
+      (((woden_wsdl10_part_t *) part)->ops->\
+         set_element_declaration(part, env, element))
+
+#define WODEN_WSDL10_PART_SET_TYPES(part, env, types) \
+      (((woden_wsdl10_part_t *) part)->ops->\
+         set_types(part, env, types))
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+#endif /* WODEN_WSDL10_PART_H */

Added: webservices/axis2/trunk/c/woden/include/woden_wsdl10_part_element.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/include/woden_wsdl10_part_element.h?rev=415503&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/include/woden_wsdl10_part_element.h (added)
+++ webservices/axis2/trunk/c/woden/include/woden_wsdl10_part_element.h Mon Jun 19 21:48:12
2006
@@ -0,0 +1,178 @@
+/*
+ * 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_PART_ELEMENT_H
+#define WODEN_WSDL10_PART_ELEMENT_H
+
+/**
+ * @file woden_wsdl10_part_element.h
+ * @brief Axis2 Interface Msg Reference Element Interface
+ * This interface represents the &lt;input&gt; and &lt;output&gt; 
+ * child elements of interface operation. 
+ */
+
+#include <axis2_allocator.h>
+#include <axis2_env.h>
+#include <axis2_error.h>
+#include <axis2_string.h>
+#include <axis2_utils.h>
+#include <axis2_hash.h>
+#include <axis2_qname.h>
+#include <axis2_uri.h>
+#include <axis2_array_list.h>
+#include <woden.h>
+#include <woden_documentable_element.h>
+#include <woden_configurable_element.h>
+#include <woden_nested_element.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+typedef struct woden_wsdl10_part_element woden_wsdl10_part_element_t;
+typedef struct woden_wsdl10_part_element_ops woden_wsdl10_part_element_ops_t;
+typedef union woden_wsdl10_part_element_base woden_wsdl10_part_element_base_t;
+
+/** @defgroup woden_wsdl10_part_element Interface Msg Reference Element
+  * @ingroup axis2_interface
+  * @{
+  */
+
+struct woden_wsdl10_part_element_ops
+{
+   /** 
+     * Deallocate memory
+     * @return status code
+     */
+    axis2_status_t (AXIS2_CALL *
+    free) (
+            void *part_element,
+            const axis2_env_t *env);
+ 
+    woden_obj_types_t (AXIS2_CALL *
+    type) (
+            void *part_element,
+            const axis2_env_t *env);
+    
+    /**
+     * Set the QName that represents the 'element' attribute of the interface 
+     * operation &lt;input&gt; or &lt;output&gt; element. This identifies
a Schema 
+     * element declaration.
+     * 
+     * @param qname the QName that identifies a Schema element declaration
+     */
+    axis2_status_t (AXIS2_CALL *
+    set_element_qname) (
+            void *iface_fault_ele,
+            const axis2_env_t *env,
+            axis2_qname_t *element);
+
+    axis2_qname_t *(AXIS2_CALL *
+    get_element_qname) (
+            void *iface_fault_ele,
+            const axis2_env_t *env);
+    
+    /**
+     * Returns the Schema element declaration identified by the QName in the 'element' 
+     * attribute of the interface operation &lt;input&gt; or &lt;output&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 XmlSchemaElement identified by the 'element' attribute
+     */
+    void *(AXIS2_CALL *
+    get_element) (
+            void *iface_fault_ele,
+            const axis2_env_t *env);
+    
+    axis2_status_t (AXIS2_CALL *
+    set_qname) (
+            void *iface_fault_ele,
+            const axis2_env_t *env,
+            axis2_qname_t *qname);
+
+    axis2_qname_t *(AXIS2_CALL *
+    get_qname) (
+            void *iface_fault_ele,
+            const axis2_env_t *env);
+    
+
+};
+
+union woden_wsdl10_part_element_base
+{
+    woden_documentable_element_t documentable_element;
+    woden_configurable_element_t configurable_element;
+    woden_nested_element_t nested_element;
+};
+
+struct woden_wsdl10_part_element
+{
+    woden_wsdl10_part_element_base_t base;
+    woden_wsdl10_part_element_ops_t *ops;
+};
+
+AXIS2_EXTERN woden_wsdl10_part_element_t * AXIS2_CALL
+woden_wsdl10_part_element_create(
+        const axis2_env_t *env);
+
+/************************Woden C Internal Methods******************************/
+AXIS2_EXTERN 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);
+/************************End of Woden C Internal Methods***********************/
+
+#define WODEN_WSDL10_PART_ELEMENT_FREE(part_element, env) \
+      (((woden_wsdl10_part_element_t *) part_element)->ops->\
+         free (part_element, env))
+
+#define WODEN_WSDL10_PART_ELEMENT_TYPE(part_element, env) \
+      (((woden_wsdl10_part_element_t *) part_element)->ops->\
+         type (part_element, env))
+
+#define WODEN_WSDL10_PART_ELEMENT_SET_ELEMENT_QNAME(part_element, env, element) \
+      (((woden_wsdl10_part_element_t *) part_element)->ops->\
+        set_element_qname  (part_element, env, element))
+
+#define WODEN_WSDL10_PART_ELEMENT_GET_ELEMENT_QNAME(part_element, env) \
+      (((woden_wsdl10_part_element_t *) part_element)->ops->\
+        get_element_qname  (part_element, env))
+
+#define WODEN_WSDL10_PART_ELEMENT_GET_ELEMENT(part_element, env) \
+      (((woden_wsdl10_part_element_t *) part_element)->ops->\
+        get_element  (part_element, env))
+
+#define WODEN_WSDL10_PART_ELEMENT_SET_QNAME(part_element, env, qname) \
+      (((woden_wsdl10_part_element_t *) part_element)->ops->\
+         set_qname (part_element, env, qname))
+
+#define WODEN_WSDL10_PART_ELEMENT_GET_QNAME(part_element, env) \
+      (((woden_wsdl10_part_element_t *) part_element)->ops->\
+         get_qname (part_element, env))
+
+
+
+
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+#endif /* WODEN_WSDL10_PART_ELEMENT_H */

Modified: webservices/axis2/trunk/c/woden/src/builder/reader.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/builder/reader.c?rev=415503&r1=415502&r2=415503&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/builder/reader.c (original)
+++ webservices/axis2/trunk/c/woden/src/builder/reader.c Mon Jun 19 21:48:12 2006
@@ -99,7 +99,7 @@
 #include <woden_ext_deserializer.h>
 
 #include "../wsdl20/woden_constants.h"
-#include "../wsdl20/woden_om_util.h"
+#include "../util/woden_om_util.h"
 
 #include <xml_schema.h>
 #include <xml_schema_collection.h>

Added: webservices/axis2/trunk/c/woden/src/builder/wsdl10/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/builder/wsdl10/Makefile.am?rev=415503&view=auto
==============================================================================
--- webservices/axis2/trunk/c/woden/src/builder/wsdl10/Makefile.am (added)
+++ webservices/axis2/trunk/c/woden/src/builder/wsdl10/Makefile.am Mon Jun 19 21:48:12 2006
@@ -0,0 +1,9 @@
+noinst_LTLIBRARIES = libwoden_wsdl10_builder.la
+
+libwoden_wsdl10_builder_la_SOURCES = \
+								wsdl10_reader.c
+
+INCLUDES = -I$(top_builddir)/include \
+			@AXIOMINC@ \
+			@UTILINC@ \
+			@XMLSCHEMAINC@



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


Mime
View raw message