You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2006/07/05 07:41:05 UTC
svn commit: r419167 [8/8] - in /webservices/axis2/trunk/c/woden: include/
samples/wsdl10/ src/builder/wsdl10/ src/wsdl10/ src/wsdl10/extensions/soap/
src/wsdl10/xml/ src/wsdl20/
Modified: webservices/axis2/trunk/c/woden/src/wsdl10/msg_ref.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/msg_ref.c?rev=419167&r1=419166&r2=419167&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/msg_ref.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/msg_ref.c Tue Jul 4 22:41:04 2006
@@ -15,9 +15,9 @@
*/
#include <woden_wsdl_obj.h>
-#include <woden_wsdl10_msg_ref.h>
-#include <woden_wsdl10_part.h>
-#include <woden_wsdl10_part_element.h>
+#include <woden_msg_ref.h>
+#include <woden_part.h>
+#include <woden_part_element.h>
#include <woden_nested_configurable.h>
#include <woden_ext_element.h>
#include <woden_component_exts.h>
@@ -25,15 +25,15 @@
#include <woden_documentation_element.h>
#include <xml_schema_element.h>
-typedef struct woden_wsdl10_msg_ref_impl woden_wsdl10_msg_ref_impl_t;
+typedef struct woden_msg_ref_impl woden_msg_ref_impl_t;
/**
* @brief Interface Operation Struct Impl
* Axis2 Interface Operation
*/
-struct woden_wsdl10_msg_ref_impl
+struct woden_msg_ref_impl
{
- woden_wsdl10_msg_ref_t msg_ref;
+ woden_msg_ref_t msg_ref;
woden_nested_configurable_t *nested_configurable;
woden_obj_types_t obj_type;
axis2_hash_t *super;
@@ -43,25 +43,25 @@
void *f_part;
};
-#define INTF_TO_IMPL(msg_ref) ((woden_wsdl10_msg_ref_impl_t *) msg_ref)
+#define INTF_TO_IMPL(msg_ref) ((woden_msg_ref_impl_t *) msg_ref)
axis2_status_t AXIS2_CALL
-woden_wsdl10_msg_ref_free(
+woden_msg_ref_free(
void *msg_ref,
const axis2_env_t *env);
axis2_hash_t *AXIS2_CALL
-woden_wsdl10_msg_ref_super_objs(
+woden_msg_ref_super_objs(
void *msg_ref,
const axis2_env_t *env);
woden_obj_types_t AXIS2_CALL
-woden_wsdl10_msg_ref_type(
+woden_msg_ref_type(
void *msg_ref,
const axis2_env_t *env);
woden_nested_configurable_t *AXIS2_CALL
-woden_wsdl10_msg_ref_get_base_impl(
+woden_msg_ref_get_base_impl(
void *msg_ref,
const axis2_env_t *env);
@@ -70,12 +70,12 @@
* ************************************************************/
axis2_qname_t *AXIS2_CALL
-woden_wsdl10_msg_ref_get_qname(
+woden_msg_ref_get_qname(
void *msg_ref,
const axis2_env_t *env);
void *AXIS2_CALL
-woden_wsdl10_msg_ref_to_element(
+woden_msg_ref_to_element(
void *msg_ref,
const axis2_env_t *env);
@@ -84,72 +84,72 @@
* ************************************************************/
axis2_status_t AXIS2_CALL
-woden_wsdl10_msg_ref_set_qname(
+woden_msg_ref_set_qname(
void *msg_ref,
const axis2_env_t *env,
axis2_qname_t *qname);
axis2_status_t AXIS2_CALL
-woden_wsdl10_msg_ref_set_part(
+woden_msg_ref_set_part(
void *msg_ref,
const axis2_env_t *env,
void *part);
void *AXIS2_CALL
-woden_wsdl10_msg_ref_get_part(
+woden_msg_ref_get_part(
void *msg_ref,
const axis2_env_t *env);
-static woden_wsdl10_msg_ref_t *
+static woden_msg_ref_t *
create(const axis2_env_t *env);
static axis2_status_t
-woden_wsdl10_msg_ref_free_ops(
+woden_msg_ref_free_ops(
void *msg_ref,
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(
+AXIS2_EXTERN woden_msg_ref_t * AXIS2_CALL
+woden_msg_ref_to_msg_ref_element(
void *msg_ref,
const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if(!msg_ref)
{
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) create(env);
+ msg_ref_impl = (woden_msg_ref_impl_t *) create(env);
}
else
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) msg_ref;
+ msg_ref_impl = (woden_msg_ref_impl_t *) msg_ref;
- woden_wsdl10_msg_ref_free_ops(msg_ref, env);
+ woden_msg_ref_free_ops(msg_ref, env);
msg_ref_impl->msg_ref.base.msg_ref_element.ops =
AXIS2_MALLOC(env->allocator,
- sizeof(woden_wsdl10_msg_ref_element_ops_t));
- woden_wsdl10_msg_ref_element_resolve_methods(&(msg_ref_impl->msg_ref.base.
+ sizeof(woden_msg_ref_element_ops_t));
+ woden_msg_ref_element_resolve_methods(&(msg_ref_impl->msg_ref.base.
msg_ref_element), env, msg_ref_impl->methods);
return msg_ref;
}
-AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
-woden_wsdl10_msg_ref_to_nested_configurable(
+AXIS2_EXTERN woden_msg_ref_t * AXIS2_CALL
+woden_msg_ref_to_nested_configurable(
void *msg_ref,
const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if(!msg_ref)
{
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) create(env);
+ msg_ref_impl = (woden_msg_ref_impl_t *) create(env);
}
else
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) msg_ref;
+ msg_ref_impl = (woden_msg_ref_impl_t *) msg_ref;
- woden_wsdl10_msg_ref_free_ops(msg_ref, env);
+ woden_msg_ref_free_ops(msg_ref, env);
msg_ref_impl->msg_ref.base.nested_configurable.ops =
AXIS2_MALLOC(env->allocator,
@@ -160,22 +160,22 @@
return msg_ref;
}
-AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
-woden_wsdl10_msg_ref_to_nested_component(
+AXIS2_EXTERN woden_msg_ref_t * AXIS2_CALL
+woden_msg_ref_to_nested_component(
void *msg_ref,
const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if(!msg_ref)
{
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) create(env);
+ msg_ref_impl = (woden_msg_ref_impl_t *) create(env);
}
else
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) msg_ref;
+ msg_ref_impl = (woden_msg_ref_impl_t *) msg_ref;
- woden_wsdl10_msg_ref_free_ops(msg_ref, env);
+ woden_msg_ref_free_ops(msg_ref, env);
msg_ref_impl->msg_ref.base.nested_configurable.base.nested_component.ops =
AXIS2_MALLOC(env->allocator,
@@ -185,23 +185,23 @@
return msg_ref;
}
-AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
-woden_wsdl10_msg_ref_to_configurable(
+AXIS2_EXTERN woden_msg_ref_t * AXIS2_CALL
+woden_msg_ref_to_configurable(
void *msg_ref,
const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
void *configurable = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if(!msg_ref)
{
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) create(env);
+ msg_ref_impl = (woden_msg_ref_impl_t *) create(env);
}
else
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) msg_ref;
+ msg_ref_impl = (woden_msg_ref_impl_t *) msg_ref;
- woden_wsdl10_msg_ref_free_ops(msg_ref, env);
+ woden_msg_ref_free_ops(msg_ref, env);
msg_ref_impl->msg_ref.base.nested_configurable.base.configurable.ops =
AXIS2_MALLOC(env->allocator,
@@ -213,22 +213,22 @@
return msg_ref;
}
-AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
-woden_wsdl10_msg_ref_to_nested_element(
+AXIS2_EXTERN woden_msg_ref_t * AXIS2_CALL
+woden_msg_ref_to_nested_element(
void *msg_ref,
const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if(!msg_ref)
{
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) create(env);
+ msg_ref_impl = (woden_msg_ref_impl_t *) create(env);
}
else
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) msg_ref;
+ msg_ref_impl = (woden_msg_ref_impl_t *) msg_ref;
- woden_wsdl10_msg_ref_free_ops(msg_ref, env);
+ woden_msg_ref_free_ops(msg_ref, env);
msg_ref_impl->msg_ref.base.msg_ref_element.base.nested_element.ops =
AXIS2_MALLOC(env->allocator,
@@ -239,22 +239,22 @@
}
-AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
-woden_wsdl10_msg_ref_to_configurable_element(
+AXIS2_EXTERN woden_msg_ref_t * AXIS2_CALL
+woden_msg_ref_to_configurable_element(
void *msg_ref,
const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if(!msg_ref)
{
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) create(env);
+ msg_ref_impl = (woden_msg_ref_impl_t *) create(env);
}
else
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) msg_ref;
+ msg_ref_impl = (woden_msg_ref_impl_t *) msg_ref;
- woden_wsdl10_msg_ref_free_ops(msg_ref, env);
+ woden_msg_ref_free_ops(msg_ref, env);
msg_ref_impl->msg_ref.base.msg_ref_element.base.configurable_element.ops =
AXIS2_MALLOC(env->allocator,
@@ -264,22 +264,22 @@
return msg_ref;
}
-AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
-woden_wsdl10_msg_ref_to_documentable_element(
+AXIS2_EXTERN woden_msg_ref_t * AXIS2_CALL
+woden_msg_ref_to_documentable_element(
void *msg_ref,
const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if(!msg_ref)
{
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) create(env);
+ msg_ref_impl = (woden_msg_ref_impl_t *) create(env);
}
else
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) msg_ref;
+ msg_ref_impl = (woden_msg_ref_impl_t *) msg_ref;
- woden_wsdl10_msg_ref_free_ops(msg_ref, env);
+ woden_msg_ref_free_ops(msg_ref, env);
msg_ref_impl->msg_ref.base.msg_ref_element.base.documentable_element.ops =
AXIS2_MALLOC(env->allocator,
@@ -290,22 +290,22 @@
return msg_ref;
}
-AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
-woden_wsdl10_msg_ref_to_documentable(
+AXIS2_EXTERN woden_msg_ref_t * AXIS2_CALL
+woden_msg_ref_to_documentable(
void *msg_ref,
const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if(!msg_ref)
{
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) create(env);
+ msg_ref_impl = (woden_msg_ref_impl_t *) create(env);
}
else
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) msg_ref;
+ msg_ref_impl = (woden_msg_ref_impl_t *) msg_ref;
- woden_wsdl10_msg_ref_free_ops(msg_ref, env);
+ woden_msg_ref_free_ops(msg_ref, env);
msg_ref_impl->msg_ref.base.nested_configurable.base.
configurable.base.documentable.ops = AXIS2_MALLOC(env->allocator,
@@ -316,22 +316,22 @@
return msg_ref;
}
-AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
-woden_wsdl10_msg_ref_to_attr_extensible(
+AXIS2_EXTERN woden_msg_ref_t * AXIS2_CALL
+woden_msg_ref_to_attr_extensible(
void *msg_ref,
const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if(!msg_ref)
{
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) create(env);
+ msg_ref_impl = (woden_msg_ref_impl_t *) create(env);
}
else
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) msg_ref;
+ msg_ref_impl = (woden_msg_ref_impl_t *) msg_ref;
- woden_wsdl10_msg_ref_free_ops(msg_ref, env);
+ woden_msg_ref_free_ops(msg_ref, env);
msg_ref_impl->msg_ref.base.msg_ref_element.base.documentable_element.
wsdl_element.base.attr_extensible.ops =
@@ -344,22 +344,22 @@
}
-AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
-woden_wsdl10_msg_ref_to_element_extensible(
+AXIS2_EXTERN woden_msg_ref_t * AXIS2_CALL
+woden_msg_ref_to_element_extensible(
void *msg_ref,
const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if(!msg_ref)
{
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) create(env);
+ msg_ref_impl = (woden_msg_ref_impl_t *) create(env);
}
else
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) msg_ref;
+ msg_ref_impl = (woden_msg_ref_impl_t *) msg_ref;
- woden_wsdl10_msg_ref_free_ops(msg_ref, env);
+ woden_msg_ref_free_ops(msg_ref, env);
msg_ref_impl->msg_ref.base.msg_ref_element.base.documentable_element.
wsdl_element.base.element_extensible.ops =
@@ -373,16 +373,16 @@
/************************End of Woden C Internal Methods***********************/
-static woden_wsdl10_msg_ref_t *
+static woden_msg_ref_t *
create(const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
msg_ref_impl = AXIS2_MALLOC(env->allocator,
- sizeof(woden_wsdl10_msg_ref_impl_t));
+ sizeof(woden_msg_ref_impl_t));
- msg_ref_impl->obj_type= WODEN_WSDL10_MSG_REF;
+ msg_ref_impl->obj_type= WODEN_MSG_REF;
msg_ref_impl->super = NULL;
msg_ref_impl->methods = NULL;
msg_ref_impl->f_qname = NULL;
@@ -408,17 +408,17 @@
documentable_element.wsdl_element.base.element_extensible.ops = NULL;
msg_ref_impl->msg_ref.ops = AXIS2_MALLOC(env->allocator,
- sizeof(woden_wsdl10_msg_ref_ops_t));
+ sizeof(woden_msg_ref_ops_t));
- msg_ref_impl->msg_ref.ops->free = woden_wsdl10_msg_ref_free;
- msg_ref_impl->msg_ref.ops->super_objs = woden_wsdl10_msg_ref_super_objs;
- msg_ref_impl->msg_ref.ops->type = woden_wsdl10_msg_ref_type;
- msg_ref_impl->msg_ref.ops->get_base_impl = woden_wsdl10_msg_ref_get_base_impl;
+ msg_ref_impl->msg_ref.ops->free = woden_msg_ref_free;
+ msg_ref_impl->msg_ref.ops->super_objs = woden_msg_ref_super_objs;
+ msg_ref_impl->msg_ref.ops->type = woden_msg_ref_type;
+ msg_ref_impl->msg_ref.ops->get_base_impl = woden_msg_ref_get_base_impl;
msg_ref_impl->msg_ref.ops->get_qname =
- woden_wsdl10_msg_ref_get_qname;
+ woden_msg_ref_get_qname;
msg_ref_impl->msg_ref.ops->to_element =
- woden_wsdl10_msg_ref_to_element;
+ woden_msg_ref_to_element;
msg_ref_impl->methods = axis2_hash_make(env);
if(!msg_ref_impl->methods)
@@ -427,39 +427,39 @@
return NULL;
}
axis2_hash_set(msg_ref_impl->methods, "free", AXIS2_HASH_KEY_STRING,
- woden_wsdl10_msg_ref_free);
+ woden_msg_ref_free);
axis2_hash_set(msg_ref_impl->methods, "super_objs",
- AXIS2_HASH_KEY_STRING, woden_wsdl10_msg_ref_super_objs);
+ AXIS2_HASH_KEY_STRING, woden_msg_ref_super_objs);
axis2_hash_set(msg_ref_impl->methods, "type",
- AXIS2_HASH_KEY_STRING, woden_wsdl10_msg_ref_type);
+ AXIS2_HASH_KEY_STRING, woden_msg_ref_type);
axis2_hash_set(msg_ref_impl->methods, "get_qname",
AXIS2_HASH_KEY_STRING,
- woden_wsdl10_msg_ref_get_qname);
+ woden_msg_ref_get_qname);
axis2_hash_set(msg_ref_impl->methods, "to_element",
AXIS2_HASH_KEY_STRING,
- woden_wsdl10_msg_ref_to_element);
+ woden_msg_ref_to_element);
axis2_hash_set(msg_ref_impl->methods, "set_qname",
AXIS2_HASH_KEY_STRING,
- woden_wsdl10_msg_ref_set_qname);
+ woden_msg_ref_set_qname);
axis2_hash_set(msg_ref_impl->methods, "set_part",
AXIS2_HASH_KEY_STRING,
- woden_wsdl10_msg_ref_set_part);
+ woden_msg_ref_set_part);
axis2_hash_set(msg_ref_impl->methods, "get_part",
AXIS2_HASH_KEY_STRING,
- woden_wsdl10_msg_ref_get_part);
+ woden_msg_ref_get_part);
return &(msg_ref_impl->msg_ref);
}
-AXIS2_EXTERN woden_wsdl10_msg_ref_t * AXIS2_CALL
-woden_wsdl10_msg_ref_create(const axis2_env_t *env)
+AXIS2_EXTERN woden_msg_ref_t * AXIS2_CALL
+woden_msg_ref_create(const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
void *configurable = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- msg_ref_impl = (woden_wsdl10_msg_ref_impl_t *) create(env);
+ msg_ref_impl = (woden_msg_ref_impl_t *) create(env);
msg_ref_impl->nested_configurable = woden_nested_configurable_create(env);
@@ -469,7 +469,7 @@
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- axis2_hash_set(msg_ref_impl->super, "WODEN_WSDL10_MSG_REF",
+ axis2_hash_set(msg_ref_impl->super, "WODEN_MSG_REF",
AXIS2_HASH_KEY_STRING,
&(msg_ref_impl->msg_ref));
axis2_hash_set(msg_ref_impl->super, "WODEN_NESTED_CONFIGURABLE",
@@ -484,11 +484,11 @@
}
static axis2_status_t
-woden_wsdl10_msg_ref_free_ops(
+woden_msg_ref_free_ops(
void *msg_ref,
const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
msg_ref_impl = INTF_TO_IMPL(msg_ref);
@@ -588,11 +588,11 @@
axis2_status_t AXIS2_CALL
-woden_wsdl10_msg_ref_free(
+woden_msg_ref_free(
void *msg_ref,
const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
msg_ref_impl = INTF_TO_IMPL(msg_ref);
@@ -605,7 +605,7 @@
if(msg_ref_impl->f_part)
{
- WODEN_WSDL10_PART_FREE(msg_ref_impl->f_part, env);
+ WODEN_PART_FREE(msg_ref_impl->f_part, env);
msg_ref_impl->f_part = NULL;
}
@@ -628,7 +628,7 @@
msg_ref_impl->nested_configurable = NULL;
}
- woden_wsdl10_msg_ref_free_ops(msg_ref, env);
+ woden_msg_ref_free_ops(msg_ref, env);
if((&(msg_ref_impl->msg_ref))->ops)
{
@@ -645,11 +645,11 @@
}
axis2_hash_t *AXIS2_CALL
-woden_wsdl10_msg_ref_super_objs(
+woden_msg_ref_super_objs(
void *msg_ref,
const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
msg_ref_impl = INTF_TO_IMPL(msg_ref);
@@ -658,11 +658,11 @@
}
woden_obj_types_t AXIS2_CALL
-woden_wsdl10_msg_ref_type(
+woden_msg_ref_type(
void *msg_ref,
const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
msg_ref_impl = INTF_TO_IMPL(msg_ref);
@@ -671,11 +671,11 @@
}
woden_nested_configurable_t *AXIS2_CALL
-woden_wsdl10_msg_ref_get_base_impl(
+woden_msg_ref_get_base_impl(
void *msg_ref,
const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
AXIS2_ENV_CHECK(env, NULL);
msg_ref_impl = INTF_TO_IMPL(msg_ref);
@@ -684,13 +684,13 @@
}
axis2_status_t AXIS2_CALL
-woden_wsdl10_msg_ref_resolve_methods(
- woden_wsdl10_msg_ref_t *msg_ref,
+woden_msg_ref_resolve_methods(
+ woden_msg_ref_t *msg_ref,
const axis2_env_t *env,
- woden_wsdl10_msg_ref_t *msg_ref_impl,
+ woden_msg_ref_t *msg_ref_impl,
axis2_hash_t *methods)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl_l = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl_l = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
@@ -723,33 +723,33 @@
* ************************************************************/
axis2_qname_t *AXIS2_CALL
-woden_wsdl10_msg_ref_get_qname(
+woden_msg_ref_get_qname(
void *msg_ref,
const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
axis2_hash_t *super = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- super = WODEN_WSDL10_MSG_REF_SUPER_OBJS(msg_ref, env);
+ super = WODEN_MSG_REF_SUPER_OBJS(msg_ref, env);
msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super,
- "WODEN_WSDL10_MSG_REF", AXIS2_HASH_KEY_STRING));
+ "WODEN_MSG_REF", AXIS2_HASH_KEY_STRING));
return msg_ref_impl->f_qname;
}
void *AXIS2_CALL
-woden_wsdl10_msg_ref_to_element(
+woden_msg_ref_to_element(
void *msg_ref,
const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
axis2_hash_t *super = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- super = WODEN_WSDL10_MSG_REF_SUPER_OBJS(msg_ref, env);
+ super = WODEN_MSG_REF_SUPER_OBJS(msg_ref, env);
msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super,
- "WODEN_WSDL10_MSG_REF", AXIS2_HASH_KEY_STRING));
+ "WODEN_MSG_REF", AXIS2_HASH_KEY_STRING));
return &(msg_ref_impl->msg_ref);
}
@@ -759,19 +759,19 @@
* ************************************************************/
axis2_status_t AXIS2_CALL
-woden_wsdl10_msg_ref_set_qname(
+woden_msg_ref_set_qname(
void *msg_ref,
const axis2_env_t *env,
axis2_qname_t *qname)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
axis2_hash_t *super = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE);
- super = WODEN_WSDL10_MSG_REF_SUPER_OBJS(msg_ref, env);
+ super = WODEN_MSG_REF_SUPER_OBJS(msg_ref, env);
msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super,
- "WODEN_WSDL10_MSG_REF", AXIS2_HASH_KEY_STRING));
+ "WODEN_MSG_REF", AXIS2_HASH_KEY_STRING));
if(msg_ref_impl->f_qname)
{
@@ -784,19 +784,19 @@
}
axis2_status_t AXIS2_CALL
-woden_wsdl10_msg_ref_set_part(
+woden_msg_ref_set_part(
void *msg_ref,
const axis2_env_t *env,
void *part)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
axis2_hash_t *super = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, part, AXIS2_FAILURE);
- super = WODEN_WSDL10_MSG_REF_SUPER_OBJS(msg_ref, env);
+ super = WODEN_MSG_REF_SUPER_OBJS(msg_ref, env);
msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super,
- "WODEN_WSDL10_MSG_REF", AXIS2_HASH_KEY_STRING));
+ "WODEN_MSG_REF", AXIS2_HASH_KEY_STRING));
if(!msg_ref_impl->f_part)
{
@@ -809,17 +809,17 @@
}
void *AXIS2_CALL
-woden_wsdl10_msg_ref_get_part(
+woden_msg_ref_get_part(
void *msg_ref,
const axis2_env_t *env)
{
- woden_wsdl10_msg_ref_impl_t *msg_ref_impl = NULL;
+ woden_msg_ref_impl_t *msg_ref_impl = NULL;
axis2_hash_t *super = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- super = WODEN_WSDL10_MSG_REF_SUPER_OBJS(msg_ref, env);
+ super = WODEN_MSG_REF_SUPER_OBJS(msg_ref, env);
msg_ref_impl = INTF_TO_IMPL(axis2_hash_get(super,
- "WODEN_WSDL10_MSG_REF", AXIS2_HASH_KEY_STRING));
+ "WODEN_MSG_REF", AXIS2_HASH_KEY_STRING));
return msg_ref_impl->f_part;
}
Modified: webservices/axis2/trunk/c/woden/src/wsdl10/part.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/part.c?rev=419167&r1=419166&r2=419167&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/part.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/part.c Tue Jul 4 22:41:04 2006
@@ -15,7 +15,7 @@
*/
#include <woden_wsdl_obj.h>
-#include <woden_wsdl10_part.h>
+#include <woden_part.h>
#include <woden_types.h>
#include <woden_nested_configurable.h>
#include <woden_ext_element.h>
@@ -26,15 +26,15 @@
#include <xml_schema_element.h>
#include <woden_element_decl.h>
-typedef struct woden_wsdl10_part_impl woden_wsdl10_part_impl_t;
+typedef struct woden_part_impl woden_part_impl_t;
/**
* @brief Interface Message Reference Struct Impl
* Axis2 Interface Message Reference
*/
-struct woden_wsdl10_part_impl
+struct woden_part_impl
{
- woden_wsdl10_part_t part;
+ woden_part_t part;
woden_nested_configurable_t *nested_configurable;
woden_obj_types_t obj_type;
axis2_hash_t *super;
@@ -46,25 +46,25 @@
void *f_types;
};
-#define INTF_TO_IMPL(part) ((woden_wsdl10_part_impl_t *) part)
+#define INTF_TO_IMPL(part) ((woden_part_impl_t *) part)
axis2_status_t AXIS2_CALL
-woden_wsdl10_part_free(
+woden_part_free(
void *part,
const axis2_env_t *env);
axis2_hash_t *AXIS2_CALL
-woden_wsdl10_part_super_objs(
+woden_part_super_objs(
void *part,
const axis2_env_t *env);
woden_obj_types_t AXIS2_CALL
-woden_wsdl10_part_type(
+woden_part_type(
void *part,
const axis2_env_t *env);
woden_nested_configurable_t *AXIS2_CALL
-woden_wsdl10_part_get_base_impl(
+woden_part_get_base_impl(
void *part,
const axis2_env_t *env);
@@ -73,17 +73,17 @@
* ************************************************************/
axis2_qname_t *AXIS2_CALL
-woden_wsdl10_part_get_qname(
+woden_part_get_qname(
void *part,
const axis2_env_t *env);
void *AXIS2_CALL
-woden_wsdl10_part_get_element_declaration(
+woden_part_get_element_declaration(
void *part,
const axis2_env_t *env);
void *AXIS2_CALL
-woden_wsdl10_part_to_element(
+woden_part_to_element(
void *part,
const axis2_env_t *env);
@@ -92,24 +92,24 @@
* ************************************************************/
axis2_status_t AXIS2_CALL
-woden_wsdl10_part_set_qname(
+woden_part_set_qname(
void *part,
const axis2_env_t *env,
axis2_qname_t *qname);
axis2_status_t AXIS2_CALL
-woden_wsdl10_part_set_element_qname(
+woden_part_set_element_qname(
void *part,
const axis2_env_t *env,
axis2_qname_t *element);
axis2_qname_t *AXIS2_CALL
-woden_wsdl10_part_get_element_qname(
+woden_part_get_element_qname(
void *part,
const axis2_env_t *env);
void *AXIS2_CALL
-woden_wsdl10_part_get_element(
+woden_part_get_element(
void *part,
const axis2_env_t *env);
@@ -117,68 +117,68 @@
* Non-API implementation methods
* ************************************************************/
axis2_status_t AXIS2_CALL
-woden_wsdl10_part_set_element_declaration(
+woden_part_set_element_declaration(
void *part,
const axis2_env_t *env,
void *element);
axis2_status_t AXIS2_CALL
-woden_wsdl10_part_set_types(
+woden_part_set_types(
void *part,
const axis2_env_t *env,
void *types);
-static woden_wsdl10_part_t *
+static woden_part_t *
create(const axis2_env_t *env);
static axis2_status_t
-woden_wsdl10_part_free_ops(
+woden_part_free_ops(
void *part,
const axis2_env_t *env);
/************************Woden C Internal Methods******************************/
-AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
-woden_wsdl10_part_to_part_element(
+AXIS2_EXTERN woden_part_t * AXIS2_CALL
+woden_part_to_part_element(
void *part,
const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if(!part)
{
- part_impl = (woden_wsdl10_part_impl_t *) create(env);
+ part_impl = (woden_part_impl_t *) create(env);
}
else
- part_impl = (woden_wsdl10_part_impl_t *) part;
+ part_impl = (woden_part_impl_t *) part;
- woden_wsdl10_part_free_ops(part, env);
+ woden_part_free_ops(part, env);
part_impl->part.base.part_element.ops =
AXIS2_MALLOC(env->allocator,
- sizeof(woden_wsdl10_part_element_ops_t));
- woden_wsdl10_part_element_resolve_methods(&(part_impl->part.base.
+ sizeof(woden_part_element_ops_t));
+ woden_part_element_resolve_methods(&(part_impl->part.base.
part_element), env, part_impl->methods);
return part;
}
-AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
-woden_wsdl10_part_to_nested_configurable(
+AXIS2_EXTERN woden_part_t * AXIS2_CALL
+woden_part_to_nested_configurable(
void *part,
const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if(!part)
{
- part_impl = (woden_wsdl10_part_impl_t *) create(env);
+ part_impl = (woden_part_impl_t *) create(env);
}
else
- part_impl = (woden_wsdl10_part_impl_t *) part;
+ part_impl = (woden_part_impl_t *) part;
- woden_wsdl10_part_free_ops(part, env);
+ woden_part_free_ops(part, env);
part_impl->part.base.nested_configurable.ops =
AXIS2_MALLOC(env->allocator,
@@ -189,23 +189,23 @@
return part;
}
-AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
-woden_wsdl10_part_to_configurable(
+AXIS2_EXTERN woden_part_t * AXIS2_CALL
+woden_part_to_configurable(
void *part,
const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
void *configurable = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if(!part)
{
- part_impl = (woden_wsdl10_part_impl_t *) create(env);
+ part_impl = (woden_part_impl_t *) create(env);
}
else
- part_impl = (woden_wsdl10_part_impl_t *) part;
+ part_impl = (woden_part_impl_t *) part;
- woden_wsdl10_part_free_ops(part, env);
+ woden_part_free_ops(part, env);
part_impl->part.base.nested_configurable.base.configurable.ops =
AXIS2_MALLOC(env->allocator,
@@ -217,22 +217,22 @@
return part;
}
-AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
-woden_wsdl10_part_to_nested_element(
+AXIS2_EXTERN woden_part_t * AXIS2_CALL
+woden_part_to_nested_element(
void *part,
const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if(!part)
{
- part_impl = (woden_wsdl10_part_impl_t *) create(env);
+ part_impl = (woden_part_impl_t *) create(env);
}
else
- part_impl = (woden_wsdl10_part_impl_t *) part;
+ part_impl = (woden_part_impl_t *) part;
- woden_wsdl10_part_free_ops(part, env);
+ woden_part_free_ops(part, env);
part_impl->part.base.part_element.base.nested_element.ops =
AXIS2_MALLOC(env->allocator,
@@ -243,22 +243,22 @@
}
-AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
-woden_wsdl10_part_to_configurable_element(
+AXIS2_EXTERN woden_part_t * AXIS2_CALL
+woden_part_to_configurable_element(
void *part,
const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if(!part)
{
- part_impl = (woden_wsdl10_part_impl_t *) create(env);
+ part_impl = (woden_part_impl_t *) create(env);
}
else
- part_impl = (woden_wsdl10_part_impl_t *) part;
+ part_impl = (woden_part_impl_t *) part;
- woden_wsdl10_part_free_ops(part, env);
+ woden_part_free_ops(part, env);
part_impl->part.base.part_element.base.configurable_element.ops =
AXIS2_MALLOC(env->allocator,
@@ -268,22 +268,22 @@
return part;
}
-AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
-woden_wsdl10_part_to_documentable_element(
+AXIS2_EXTERN woden_part_t * AXIS2_CALL
+woden_part_to_documentable_element(
void *part,
const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if(!part)
{
- part_impl = (woden_wsdl10_part_impl_t *) create(env);
+ part_impl = (woden_part_impl_t *) create(env);
}
else
- part_impl = (woden_wsdl10_part_impl_t *) part;
+ part_impl = (woden_part_impl_t *) part;
- woden_wsdl10_part_free_ops(part, env);
+ woden_part_free_ops(part, env);
part_impl->part.base.part_element.base.documentable_element.ops =
AXIS2_MALLOC(env->allocator,
@@ -294,22 +294,22 @@
return part;
}
-AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
-woden_wsdl10_part_to_documentable(
+AXIS2_EXTERN woden_part_t * AXIS2_CALL
+woden_part_to_documentable(
void *part,
const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if(!part)
{
- part_impl = (woden_wsdl10_part_impl_t *) create(env);
+ part_impl = (woden_part_impl_t *) create(env);
}
else
- part_impl = (woden_wsdl10_part_impl_t *) part;
+ part_impl = (woden_part_impl_t *) part;
- woden_wsdl10_part_free_ops(part, env);
+ woden_part_free_ops(part, env);
part_impl->part.base.nested_configurable.base.
configurable.base.documentable.ops = AXIS2_MALLOC(env->allocator,
@@ -320,22 +320,22 @@
return part;
}
-AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
-woden_wsdl10_part_to_attr_extensible(
+AXIS2_EXTERN woden_part_t * AXIS2_CALL
+woden_part_to_attr_extensible(
void *part,
const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if(!part)
{
- part_impl = (woden_wsdl10_part_impl_t *) create(env);
+ part_impl = (woden_part_impl_t *) create(env);
}
else
- part_impl = (woden_wsdl10_part_impl_t *) part;
+ part_impl = (woden_part_impl_t *) part;
- woden_wsdl10_part_free_ops(part, env);
+ woden_part_free_ops(part, env);
part_impl->part.base.part_element.base.documentable_element.
wsdl_element.base.attr_extensible.ops =
@@ -348,22 +348,22 @@
}
-AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
-woden_wsdl10_part_to_element_extensible(
+AXIS2_EXTERN woden_part_t * AXIS2_CALL
+woden_part_to_element_extensible(
void *part,
const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
if(!part)
{
- part_impl = (woden_wsdl10_part_impl_t *) create(env);
+ part_impl = (woden_part_impl_t *) create(env);
}
else
- part_impl = (woden_wsdl10_part_impl_t *) part;
+ part_impl = (woden_part_impl_t *) part;
- woden_wsdl10_part_free_ops(part, env);
+ woden_part_free_ops(part, env);
part_impl->part.base.part_element.base.documentable_element.
wsdl_element.base.element_extensible.ops =
@@ -377,16 +377,16 @@
/************************End of Woden C Internal Methods***********************/
-static woden_wsdl10_part_t *
+static woden_part_t *
create(const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
part_impl = AXIS2_MALLOC(env->allocator,
- sizeof(woden_wsdl10_part_impl_t));
+ sizeof(woden_part_impl_t));
- part_impl->obj_type= WODEN_WSDL10_PART;
+ part_impl->obj_type= WODEN_PART;
part_impl->super = NULL;
part_impl->methods = NULL;
part_impl->f_qname = NULL;
@@ -413,23 +413,23 @@
part_impl->part.ops = AXIS2_MALLOC(env->allocator,
- sizeof(woden_wsdl10_part_ops_t));
+ sizeof(woden_part_ops_t));
- part_impl->part.ops->free = woden_wsdl10_part_free;
- part_impl->part.ops->super_objs = woden_wsdl10_part_super_objs;
- part_impl->part.ops->type = woden_wsdl10_part_type;
- part_impl->part.ops->get_base_impl = woden_wsdl10_part_get_base_impl;
+ part_impl->part.ops->free = woden_part_free;
+ part_impl->part.ops->super_objs = woden_part_super_objs;
+ part_impl->part.ops->type = woden_part_type;
+ part_impl->part.ops->get_base_impl = woden_part_get_base_impl;
part_impl->part.ops->get_qname =
- woden_wsdl10_part_get_qname;
+ woden_part_get_qname;
part_impl->part.ops->get_element_declaration =
- woden_wsdl10_part_get_element_declaration;
+ woden_part_get_element_declaration;
part_impl->part.ops->to_element =
- woden_wsdl10_part_to_element;
+ woden_part_to_element;
part_impl->part.ops->set_element_declaration =
- woden_wsdl10_part_set_element_declaration;
+ woden_part_set_element_declaration;
part_impl->part.ops->set_types =
- woden_wsdl10_part_set_types;
+ woden_part_set_types;
part_impl->methods = axis2_hash_make(env);
if(!part_impl->methods)
@@ -438,51 +438,51 @@
return NULL;
}
axis2_hash_set(part_impl->methods, "free", AXIS2_HASH_KEY_STRING,
- woden_wsdl10_part_free);
+ woden_part_free);
axis2_hash_set(part_impl->methods, "super_objs",
- AXIS2_HASH_KEY_STRING, woden_wsdl10_part_super_objs);
+ AXIS2_HASH_KEY_STRING, woden_part_super_objs);
axis2_hash_set(part_impl->methods, "type",
- AXIS2_HASH_KEY_STRING, woden_wsdl10_part_type);
+ AXIS2_HASH_KEY_STRING, woden_part_type);
axis2_hash_set(part_impl->methods, "get_qname",
AXIS2_HASH_KEY_STRING,
- woden_wsdl10_part_get_qname);
+ woden_part_get_qname);
axis2_hash_set(part_impl->methods, "get_element_declaration",
AXIS2_HASH_KEY_STRING,
- woden_wsdl10_part_get_element_declaration);
+ woden_part_get_element_declaration);
axis2_hash_set(part_impl->methods, "to_element",
AXIS2_HASH_KEY_STRING,
- woden_wsdl10_part_to_element);
+ woden_part_to_element);
axis2_hash_set(part_impl->methods, "set_element_qname",
AXIS2_HASH_KEY_STRING,
- woden_wsdl10_part_set_element_qname);
+ woden_part_set_element_qname);
axis2_hash_set(part_impl->methods, "get_element_qname",
AXIS2_HASH_KEY_STRING,
- woden_wsdl10_part_get_element_qname);
+ woden_part_get_element_qname);
axis2_hash_set(part_impl->methods, "get_element",
AXIS2_HASH_KEY_STRING,
- woden_wsdl10_part_get_element);
+ woden_part_get_element);
axis2_hash_set(part_impl->methods, "set_qname",
AXIS2_HASH_KEY_STRING,
- woden_wsdl10_part_set_qname);
+ woden_part_set_qname);
axis2_hash_set(part_impl->methods, "set_element_declaration",
AXIS2_HASH_KEY_STRING,
- woden_wsdl10_part_set_element_declaration);
+ woden_part_set_element_declaration);
axis2_hash_set(part_impl->methods, "set_types",
AXIS2_HASH_KEY_STRING,
- woden_wsdl10_part_set_types);
+ woden_part_set_types);
return &(part_impl->part);
}
-AXIS2_EXTERN woden_wsdl10_part_t * AXIS2_CALL
-woden_wsdl10_part_create(const axis2_env_t *env)
+AXIS2_EXTERN woden_part_t * AXIS2_CALL
+woden_part_create(const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
void *configurable = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- part_impl = (woden_wsdl10_part_impl_t *) create(env);
+ part_impl = (woden_part_impl_t *) create(env);
part_impl->nested_configurable = woden_nested_configurable_create(env);
@@ -492,7 +492,7 @@
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- axis2_hash_set(part_impl->super, "WODEN_WSDL10_PART",
+ axis2_hash_set(part_impl->super, "WODEN_PART",
AXIS2_HASH_KEY_STRING,
&(part_impl->part));
axis2_hash_set(part_impl->super, "WODEN_NESTED_CONFIGURABLE",
@@ -507,11 +507,11 @@
}
static axis2_status_t
-woden_wsdl10_part_free_ops(
+woden_part_free_ops(
void *part,
const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
part_impl = INTF_TO_IMPL(part);
@@ -600,10 +600,10 @@
axis2_status_t AXIS2_CALL
-woden_wsdl10_part_free(void *part,
+woden_part_free(void *part,
const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
part_impl = INTF_TO_IMPL(part);
@@ -651,7 +651,7 @@
part_impl->nested_configurable = NULL;
}
- woden_wsdl10_part_free_ops(part, env);
+ woden_part_free_ops(part, env);
if((&(part_impl->part))->ops)
{
@@ -668,11 +668,11 @@
}
axis2_hash_t *AXIS2_CALL
-woden_wsdl10_part_super_objs(
+woden_part_super_objs(
void *part,
const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
part_impl = INTF_TO_IMPL(part);
@@ -681,11 +681,11 @@
}
woden_obj_types_t AXIS2_CALL
-woden_wsdl10_part_type(
+woden_part_type(
void *part,
const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
part_impl = INTF_TO_IMPL(part);
@@ -694,11 +694,11 @@
}
woden_nested_configurable_t *AXIS2_CALL
-woden_wsdl10_part_get_base_impl(
+woden_part_get_base_impl(
void *part,
const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
AXIS2_ENV_CHECK(env, NULL);
part_impl = INTF_TO_IMPL(part);
@@ -707,13 +707,13 @@
}
axis2_status_t AXIS2_CALL
-woden_wsdl10_part_resolve_methods(
- woden_wsdl10_part_t *part,
+woden_part_resolve_methods(
+ woden_part_t *part,
const axis2_env_t *env,
- woden_wsdl10_part_t *part_impl,
+ woden_part_t *part_impl,
axis2_hash_t *methods)
{
- woden_wsdl10_part_impl_t *part_impl_l = NULL;
+ woden_part_impl_t *part_impl_l = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, methods, AXIS2_FAILURE);
@@ -764,49 +764,49 @@
* ************************************************************/
axis2_qname_t *AXIS2_CALL
-woden_wsdl10_part_get_qname(
+woden_part_get_qname(
void *part,
const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
axis2_hash_t *super = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- super = WODEN_WSDL10_PART_SUPER_OBJS(part, env);
+ super = WODEN_PART_SUPER_OBJS(part, env);
part_impl = INTF_TO_IMPL(axis2_hash_get(super,
- "WODEN_WSDL10_PART", AXIS2_HASH_KEY_STRING));
+ "WODEN_PART", AXIS2_HASH_KEY_STRING));
return part_impl->f_qname;
}
void *AXIS2_CALL
-woden_wsdl10_part_get_element_declaration(
+woden_part_get_element_declaration(
void *part,
const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
axis2_hash_t *super = NULL;
AXIS2_ENV_CHECK(env, NULL);
- super = WODEN_WSDL10_PART_SUPER_OBJS(part, env);
+ super = WODEN_PART_SUPER_OBJS(part, env);
part_impl = INTF_TO_IMPL(axis2_hash_get(super,
- "WODEN_WSDL10_PART", AXIS2_HASH_KEY_STRING));
+ "WODEN_PART", AXIS2_HASH_KEY_STRING));
return part_impl->f_element_decl;
}
void *AXIS2_CALL
-woden_wsdl10_part_to_element(
+woden_part_to_element(
void *part,
const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
axis2_hash_t *super = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- super = WODEN_WSDL10_PART_SUPER_OBJS(part, env);
+ super = WODEN_PART_SUPER_OBJS(part, env);
part_impl = INTF_TO_IMPL(axis2_hash_get(super,
- "WODEN_WSDL10_PART", AXIS2_HASH_KEY_STRING));
+ "WODEN_PART", AXIS2_HASH_KEY_STRING));
return &(part_impl->part);
}
@@ -816,19 +816,19 @@
* ************************************************************/
axis2_status_t AXIS2_CALL
-woden_wsdl10_part_set_qname(
+woden_part_set_qname(
void *part,
const axis2_env_t *env,
axis2_qname_t *qname)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
axis2_hash_t *super = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, qname, AXIS2_FAILURE);
- super = WODEN_WSDL10_PART_SUPER_OBJS(part, env);
+ super = WODEN_PART_SUPER_OBJS(part, env);
part_impl = INTF_TO_IMPL(axis2_hash_get(super,
- "WODEN_WSDL10_PART", AXIS2_HASH_KEY_STRING));
+ "WODEN_PART", AXIS2_HASH_KEY_STRING));
if(part_impl->f_qname)
{
@@ -842,19 +842,19 @@
}
axis2_status_t AXIS2_CALL
-woden_wsdl10_part_set_element_qname(
+woden_part_set_element_qname(
void *part,
const axis2_env_t *env,
axis2_qname_t *element)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
axis2_hash_t *super = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, element, AXIS2_FAILURE);
- super = WODEN_WSDL10_PART_SUPER_OBJS(part, env);
+ super = WODEN_PART_SUPER_OBJS(part, env);
part_impl = INTF_TO_IMPL(axis2_hash_get(super,
- "WODEN_WSDL10_PART", AXIS2_HASH_KEY_STRING));
+ "WODEN_PART", AXIS2_HASH_KEY_STRING));
if(part_impl->f_element_qname)
{
@@ -865,34 +865,34 @@
}
axis2_qname_t *AXIS2_CALL
-woden_wsdl10_part_get_element_qname(
+woden_part_get_element_qname(
void *part,
const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
axis2_hash_t *super = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- super = WODEN_WSDL10_PART_SUPER_OBJS(part, env);
+ super = WODEN_PART_SUPER_OBJS(part, env);
part_impl = INTF_TO_IMPL(axis2_hash_get(super,
- "WODEN_WSDL10_PART", AXIS2_HASH_KEY_STRING));
+ "WODEN_PART", AXIS2_HASH_KEY_STRING));
return part_impl->f_element_qname;
}
void *AXIS2_CALL
-woden_wsdl10_part_get_element(
+woden_part_get_element(
void *part,
const axis2_env_t *env)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
axis2_hash_t *super = NULL;
xml_schema_element_t *xse = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- super = WODEN_WSDL10_PART_SUPER_OBJS(part, env);
+ super = WODEN_PART_SUPER_OBJS(part, env);
part_impl = INTF_TO_IMPL(axis2_hash_get(super,
- "WODEN_WSDL10_PART", AXIS2_HASH_KEY_STRING));
+ "WODEN_PART", AXIS2_HASH_KEY_STRING));
if(part_impl->f_types)
{
@@ -909,19 +909,19 @@
* Non-API implementation methods
* ************************************************************/
axis2_status_t AXIS2_CALL
-woden_wsdl10_part_set_element_declaration(
+woden_part_set_element_declaration(
void *part,
const axis2_env_t *env,
void *element)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
axis2_hash_t *super = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, element, AXIS2_FAILURE);
- super = WODEN_WSDL10_PART_SUPER_OBJS(part, env);
+ super = WODEN_PART_SUPER_OBJS(part, env);
part_impl = INTF_TO_IMPL(axis2_hash_get(super,
- "WODEN_WSDL10_PART", AXIS2_HASH_KEY_STRING));
+ "WODEN_PART", AXIS2_HASH_KEY_STRING));
if(!part_impl->f_element_decl)
{
@@ -933,19 +933,19 @@
}
axis2_status_t AXIS2_CALL
-woden_wsdl10_part_set_types(
+woden_part_set_types(
void *part,
const axis2_env_t *env,
void *types)
{
- woden_wsdl10_part_impl_t *part_impl = NULL;
+ woden_part_impl_t *part_impl = NULL;
axis2_hash_t *super = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, types, AXIS2_FAILURE);
- super = WODEN_WSDL10_PART_SUPER_OBJS(part, env);
+ super = WODEN_PART_SUPER_OBJS(part, env);
part_impl = INTF_TO_IMPL(axis2_hash_get(super,
- "WODEN_WSDL10_PART", AXIS2_HASH_KEY_STRING));
+ "WODEN_PART", AXIS2_HASH_KEY_STRING));
if(!part_impl->f_types)
{
Modified: webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_msg_ref_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_msg_ref_element.c?rev=419167&r1=419166&r2=419167&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_msg_ref_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_msg_ref_element.c Tue Jul 4 22:41:04 2006
@@ -14,11 +14,11 @@
* limitations under the License.
*/
-#include <woden_wsdl10_binding_msg_ref_element.h>
+#include <woden_binding_msg_ref_element.h>
axis2_status_t AXIS2_CALL
-woden_wsdl10_binding_msg_ref_element_resolve_methods(
- woden_wsdl10_binding_msg_ref_element_t *binding_msg_ref_element,
+woden_binding_msg_ref_element_resolve_methods(
+ woden_binding_msg_ref_element_t *binding_msg_ref_element,
const axis2_env_t *env,
axis2_hash_t *methods)
{
Modified: webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_op_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_op_element.c?rev=419167&r1=419166&r2=419167&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_op_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/binding_op_element.c Tue Jul 4 22:41:04 2006
@@ -14,11 +14,11 @@
* limitations under the License.
*/
-#include <woden_wsdl10_binding_op_element.h>
+#include <woden_binding_op_element.h>
axis2_status_t AXIS2_CALL
-woden_wsdl10_binding_op_element_resolve_methods(
- woden_wsdl10_binding_op_element_t *binding_op_element,
+woden_binding_op_element_resolve_methods(
+ woden_binding_op_element_t *binding_op_element,
const axis2_env_t *env,
axis2_hash_t *methods)
{
@@ -30,12 +30,12 @@
binding_op_element->ops->type = axis2_hash_get(methods, "type",
AXIS2_HASH_KEY_STRING);
- binding_op_element->ops->set_qname =
- axis2_hash_get(methods, "set_qname",
+ binding_op_element->ops->set_ref =
+ axis2_hash_get(methods, "set_ref",
AXIS2_HASH_KEY_STRING);
- binding_op_element->ops->get_qname =
- axis2_hash_get(methods, "get_qname",
+ binding_op_element->ops->get_ref =
+ axis2_hash_get(methods, "get_ref",
AXIS2_HASH_KEY_STRING);
binding_op_element->ops->get_interface_op_element =
Modified: webservices/axis2/trunk/c/woden/src/wsdl10/xml/desc_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/desc_element.c?rev=419167&r1=419166&r2=419167&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/desc_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/desc_element.c Tue Jul 4 22:41:04 2006
@@ -14,11 +14,11 @@
* limitations under the License.
*/
-#include <woden_wsdl10_desc_element.h>
+#include <woden_desc_element.h>
axis2_status_t AXIS2_CALL
-woden_wsdl10_desc_element_resolve_methods(
- woden_wsdl10_desc_element_t *desc_element,
+woden_desc_element_resolve_methods(
+ woden_desc_element_t *desc_element,
const axis2_env_t *env,
axis2_hash_t *methods)
{
Modified: webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_fault_ref_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_fault_ref_element.c?rev=419167&r1=419166&r2=419167&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_fault_ref_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_fault_ref_element.c Tue Jul 4 22:41:04 2006
@@ -14,11 +14,11 @@
* limitations under the License.
*/
-#include <woden_wsdl10_interface_fault_ref_element.h>
+#include <woden_interface_fault_ref_element.h>
axis2_status_t AXIS2_CALL
-woden_wsdl10_interface_fault_ref_element_resolve_methods(
- woden_wsdl10_interface_fault_ref_element_t *interface_fault_ref_element,
+woden_interface_fault_ref_element_resolve_methods(
+ woden_interface_fault_ref_element_t *interface_fault_ref_element,
const axis2_env_t *env,
axis2_hash_t *methods)
{
@@ -30,12 +30,20 @@
interface_fault_ref_element->ops->type = axis2_hash_get(methods, "type",
AXIS2_HASH_KEY_STRING);
- interface_fault_ref_element->ops->set_qname =
- axis2_hash_get(methods, "set_qname",
+ interface_fault_ref_element->ops->set_ref =
+ axis2_hash_get(methods, "set_ref",
AXIS2_HASH_KEY_STRING);
- interface_fault_ref_element->ops->get_qname =
- axis2_hash_get(methods, "get_qname",
+ interface_fault_ref_element->ops->get_ref =
+ axis2_hash_get(methods, "get_ref",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_fault_ref_element->ops->set_msg_label =
+ axis2_hash_get(methods, "set_msg_label",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_fault_ref_element->ops->get_msg_label =
+ axis2_hash_get(methods, "get_msg_label",
AXIS2_HASH_KEY_STRING);
interface_fault_ref_element->ops->set_msg_qname =
Modified: webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_msg_ref_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_msg_ref_element.c?rev=419167&r1=419166&r2=419167&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_msg_ref_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/interface_msg_ref_element.c Tue Jul 4 22:41:04 2006
@@ -14,11 +14,11 @@
* limitations under the License.
*/
-#include <woden_wsdl10_interface_msg_ref_element.h>
+#include <woden_interface_msg_ref_element.h>
axis2_status_t AXIS2_CALL
-woden_wsdl10_interface_msg_ref_element_resolve_methods(
- woden_wsdl10_interface_msg_ref_element_t *interface_msg_ref_element,
+woden_interface_msg_ref_element_resolve_methods(
+ woden_interface_msg_ref_element_t *interface_msg_ref_element,
const axis2_env_t *env,
axis2_hash_t *methods)
{
@@ -36,6 +36,14 @@
interface_msg_ref_element->ops->get_qname =
axis2_hash_get(methods, "get_qname",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_msg_ref_element->ops->set_msg_label =
+ axis2_hash_get(methods, "set_msg_label",
+ AXIS2_HASH_KEY_STRING);
+
+ interface_msg_ref_element->ops->get_msg_label =
+ axis2_hash_get(methods, "get_msg_label",
AXIS2_HASH_KEY_STRING);
interface_msg_ref_element->ops->set_msg =
Modified: webservices/axis2/trunk/c/woden/src/wsdl10/xml/msg_ref_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/msg_ref_element.c?rev=419167&r1=419166&r2=419167&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/msg_ref_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/msg_ref_element.c Tue Jul 4 22:41:04 2006
@@ -14,11 +14,11 @@
* limitations under the License.
*/
-#include <woden_wsdl10_msg_ref_element.h>
+#include <woden_msg_ref_element.h>
axis2_status_t AXIS2_CALL
-woden_wsdl10_msg_ref_element_resolve_methods(
- woden_wsdl10_msg_ref_element_t *msg_ref_element,
+woden_msg_ref_element_resolve_methods(
+ woden_msg_ref_element_t *msg_ref_element,
const axis2_env_t *env,
axis2_hash_t *methods)
{
Modified: webservices/axis2/trunk/c/woden/src/wsdl10/xml/part_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl10/xml/part_element.c?rev=419167&r1=419166&r2=419167&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl10/xml/part_element.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl10/xml/part_element.c Tue Jul 4 22:41:04 2006
@@ -14,11 +14,11 @@
* limitations under the License.
*/
-#include <woden_wsdl10_part_element.h>
+#include <woden_part_element.h>
axis2_status_t AXIS2_CALL
-woden_wsdl10_part_element_resolve_methods(
- woden_wsdl10_part_element_t *part_element,
+woden_part_element_resolve_methods(
+ woden_part_element_t *part_element,
const axis2_env_t *env,
axis2_hash_t *methods)
{
Modified: webservices/axis2/trunk/c/woden/src/wsdl20/desc.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/woden/src/wsdl20/desc.c?rev=419167&r1=419166&r2=419167&view=diff
==============================================================================
--- webservices/axis2/trunk/c/woden/src/wsdl20/desc.c (original)
+++ webservices/axis2/trunk/c/woden/src/wsdl20/desc.c Tue Jul 4 22:41:04 2006
@@ -130,7 +130,7 @@
void *desc,
const axis2_env_t *env);
-axis2_array_list_t *AXIS2_CALL
+void *AXIS2_CALL
woden_desc_get_element_decl(
void *desc,
const axis2_env_t *env,
@@ -1221,7 +1221,7 @@
return desc_impl->f_all_element_decls;
}
-axis2_array_list_t *AXIS2_CALL
+void *AXIS2_CALL
woden_desc_get_element_decl(
void *desc,
const axis2_env_t *env,
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org