You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2006/06/04 05:09:41 UTC
svn commit: r411506 [17/27] - in /webservices/axis2/trunk/c: axiom/include/
axiom/src/attachments/ axiom/src/om/ axiom/src/parser/guththila/
axiom/src/parser/libxml2/ axiom/src/soap/ axiom/test/om/ axiom/test/soap/
guththila/src/ include/ modules/core/...
Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_binding.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_binding.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_binding.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_binding.c Sat Jun 3 20:09:08 2006
@@ -19,24 +19,24 @@
/**
* @brief Wsdl Extension Soap Binding struct impl
- * Wsdl Extention Soap Binding
+ * Wsdl Extention Soap Binding
*/
typedef struct axis2_wsdl_ext_soap_binding_impl
{
- axis2_wsdl_ext_soap_binding_t ext_soap_binding;
+ axis2_wsdl_ext_soap_binding_t ext_soap_binding;
axis2_char_t *style;
axis2_char_t *transport_uri;
} axis2_wsdl_ext_soap_binding_impl_t;
#define AXIS2_INTF_TO_IMPL(ext_soap_binding) \
- ((axis2_wsdl_ext_soap_binding_impl_t *)ext_soap_binding)
+ ((axis2_wsdl_ext_soap_binding_impl_t *)ext_soap_binding)
/************************* Function prototypes ********************************/
axis2_status_t AXIS2_CALL
- axis2_wsdl_ext_soap_binding_free (axis2_wsdl_ext_soap_binding_t *ext_soap_binding,
- const axis2_env_t *env);
+ axis2_wsdl_ext_soap_binding_free (axis2_wsdl_ext_soap_binding_t *ext_soap_binding,
+ const axis2_env_t *env);
axis2_char_t *AXIS2_CALL
axis2_wsdl_ext_soap_binding_get_style(axis2_wsdl_ext_soap_binding_t *ext_soap_binding,
@@ -64,13 +64,13 @@
{
axis2_wsdl_ext_soap_binding_impl_t *ext_soap_binding_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- ext_soap_binding_impl = (axis2_wsdl_ext_soap_binding_impl_t *) AXIS2_MALLOC(env->allocator,
- sizeof(axis2_wsdl_ext_soap_binding_impl_t));
-
-
- if(NULL == ext_soap_binding_impl)
+ AXIS2_ENV_CHECK(env, NULL);
+
+ ext_soap_binding_impl = (axis2_wsdl_ext_soap_binding_impl_t *) AXIS2_MALLOC(env->allocator,
+ sizeof(axis2_wsdl_ext_soap_binding_impl_t));
+
+
+ if(NULL == ext_soap_binding_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -80,7 +80,7 @@
ext_soap_binding_impl->transport_uri = NULL;
ext_soap_binding_impl->ext_soap_binding.ops = NULL;
ext_soap_binding_impl->ext_soap_binding.ext_element = NULL;
-
+
ext_soap_binding_impl->ext_soap_binding.ext_element =
axis2_wsdl_extensible_element_create(env);
if(NULL == ext_soap_binding_impl->ext_soap_binding.ext_element)
@@ -90,12 +90,12 @@
return NULL;
}
- ext_soap_binding_impl->ext_soap_binding.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_ext_soap_binding_ops_t));
- if(NULL == ext_soap_binding_impl->ext_soap_binding.ops)
+ ext_soap_binding_impl->ext_soap_binding.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_ext_soap_binding_ops_t));
+ if(NULL == ext_soap_binding_impl->ext_soap_binding.ops)
{
axis2_wsdl_ext_soap_binding_free(&(ext_soap_binding_impl->ext_soap_binding), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
if(!qtype)
@@ -106,17 +106,17 @@
AXIS2_WSDL_EXTENSIBLE_ELEMENT_SET_TYPE(
(&(ext_soap_binding_impl->ext_soap_binding))->ext_element, env, qtype);
- ext_soap_binding_impl->ext_soap_binding.ops->free = axis2_wsdl_ext_soap_binding_free;
- ext_soap_binding_impl->ext_soap_binding.ops->get_style =
+ ext_soap_binding_impl->ext_soap_binding.ops->free = axis2_wsdl_ext_soap_binding_free;
+ ext_soap_binding_impl->ext_soap_binding.ops->get_style =
axis2_wsdl_ext_soap_binding_get_style;
ext_soap_binding_impl->ext_soap_binding.ops->set_style =
axis2_wsdl_ext_soap_binding_set_style;
- ext_soap_binding_impl->ext_soap_binding.ops->get_transport_uri =
+ ext_soap_binding_impl->ext_soap_binding.ops->get_transport_uri =
axis2_wsdl_ext_soap_binding_get_transport_uri;
ext_soap_binding_impl->ext_soap_binding.ops->set_transport_uri =
axis2_wsdl_ext_soap_binding_set_transport_uri;
-
- return &(ext_soap_binding_impl->ext_soap_binding);
+
+ return &(ext_soap_binding_impl->ext_soap_binding);
}
/***************************Function implementation****************************/
@@ -131,7 +131,7 @@
exp_soap_binding_impl = AXIS2_INTF_TO_IMPL(ext_soap_binding);
- if(NULL != ext_soap_binding->ops)
+ if(NULL != ext_soap_binding->ops)
AXIS2_FREE(env->allocator, ext_soap_binding->ops);
if(NULL != exp_soap_binding_impl->style)
@@ -155,7 +155,7 @@
AXIS2_FREE(env->allocator, exp_soap_binding_impl);
exp_soap_binding_impl = NULL;
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_char_t *AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_body.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_body.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_body.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_body.c Sat Jun 3 20:09:08 2006
@@ -19,24 +19,24 @@
/**
* @brief Wsdl Extension Soap Body struct impl
- * Wsdl Extention Soap Body
+ * Wsdl Extention Soap Body
*/
typedef struct axis2_wsdl_ext_soap_body_impl
{
- axis2_wsdl_ext_soap_body_t ext_soap_body;
+ axis2_wsdl_ext_soap_body_t ext_soap_body;
axis2_char_t *use;
axis2_char_t *namespc_uri;
} axis2_wsdl_ext_soap_body_impl_t;
#define AXIS2_INTF_TO_IMPL(ext_soap_body) \
- ((axis2_wsdl_ext_soap_body_impl_t *)ext_soap_body)
+ ((axis2_wsdl_ext_soap_body_impl_t *)ext_soap_body)
/************************* Function prototypes ********************************/
axis2_status_t AXIS2_CALL
- axis2_wsdl_ext_soap_body_free (axis2_wsdl_ext_soap_body_t *ext_soap_body,
- const axis2_env_t *env);
+ axis2_wsdl_ext_soap_body_free (axis2_wsdl_ext_soap_body_t *ext_soap_body,
+ const axis2_env_t *env);
axis2_char_t *AXIS2_CALL
axis2_wsdl_ext_soap_body_get_use(axis2_wsdl_ext_soap_body_t *ext_soap_body,
@@ -64,13 +64,13 @@
{
axis2_wsdl_ext_soap_body_impl_t *ext_soap_body_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- ext_soap_body_impl = (axis2_wsdl_ext_soap_body_impl_t *) AXIS2_MALLOC(env->allocator,
- sizeof(axis2_wsdl_ext_soap_body_impl_t));
-
-
- if(NULL == ext_soap_body_impl)
+ AXIS2_ENV_CHECK(env, NULL);
+
+ ext_soap_body_impl = (axis2_wsdl_ext_soap_body_impl_t *) AXIS2_MALLOC(env->allocator,
+ sizeof(axis2_wsdl_ext_soap_body_impl_t));
+
+
+ if(NULL == ext_soap_body_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -80,7 +80,7 @@
ext_soap_body_impl->namespc_uri = NULL;
ext_soap_body_impl->ext_soap_body.ops = NULL;
ext_soap_body_impl->ext_soap_body.ext_element = NULL;
-
+
ext_soap_body_impl->ext_soap_body.ext_element =
axis2_wsdl_extensible_element_create(env);
if(NULL == ext_soap_body_impl->ext_soap_body.ext_element)
@@ -90,12 +90,12 @@
return NULL;
}
- ext_soap_body_impl->ext_soap_body.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_ext_soap_body_ops_t));
- if(NULL == ext_soap_body_impl->ext_soap_body.ops)
+ ext_soap_body_impl->ext_soap_body.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_ext_soap_body_ops_t));
+ if(NULL == ext_soap_body_impl->ext_soap_body.ops)
{
axis2_wsdl_ext_soap_body_free(&(ext_soap_body_impl->ext_soap_body), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
if(!qtype)
@@ -106,17 +106,17 @@
AXIS2_WSDL_EXTENSIBLE_ELEMENT_SET_TYPE(
(&(ext_soap_body_impl->ext_soap_body))->ext_element, env, qtype);
- ext_soap_body_impl->ext_soap_body.ops->free = axis2_wsdl_ext_soap_body_free;
- ext_soap_body_impl->ext_soap_body.ops->get_use =
+ ext_soap_body_impl->ext_soap_body.ops->free = axis2_wsdl_ext_soap_body_free;
+ ext_soap_body_impl->ext_soap_body.ops->get_use =
axis2_wsdl_ext_soap_body_get_use;
ext_soap_body_impl->ext_soap_body.ops->set_use =
axis2_wsdl_ext_soap_body_set_use;
- ext_soap_body_impl->ext_soap_body.ops->get_namespc_uri =
+ ext_soap_body_impl->ext_soap_body.ops->get_namespc_uri =
axis2_wsdl_ext_soap_body_get_namespc_uri;
ext_soap_body_impl->ext_soap_body.ops->set_namespc_uri =
axis2_wsdl_ext_soap_body_set_namespc_uri;
-
- return &(ext_soap_body_impl->ext_soap_body);
+
+ return &(ext_soap_body_impl->ext_soap_body);
}
/***************************Function implementation****************************/
@@ -131,7 +131,7 @@
exp_soap_body_impl = AXIS2_INTF_TO_IMPL(ext_soap_body);
- if(NULL != ext_soap_body->ops)
+ if(NULL != ext_soap_body->ops)
AXIS2_FREE(env->allocator, ext_soap_body->ops);
if(NULL != exp_soap_body_impl->use)
@@ -155,7 +155,7 @@
AXIS2_FREE(env->allocator, exp_soap_body_impl);
exp_soap_body_impl = NULL;
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_char_t *AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_header.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_header.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_header.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_header.c Sat Jun 3 20:09:08 2006
@@ -20,11 +20,11 @@
/**
* @brief Wsdl Extension Soap Header struct impl
- * Wsdl Extention Soap Header
+ * Wsdl Extention Soap Header
*/
typedef struct axis2_wsdl_ext_soap_header_impl
{
- axis2_wsdl_ext_soap_header_t ext_soap_header;
+ axis2_wsdl_ext_soap_header_t ext_soap_header;
axis2_qname_t *msg_qname;
axis2_char_t *part;
@@ -32,13 +32,13 @@
} axis2_wsdl_ext_soap_header_impl_t;
#define AXIS2_INTF_TO_IMPL(ext_soap_header) \
- ((axis2_wsdl_ext_soap_header_impl_t *)ext_soap_header)
+ ((axis2_wsdl_ext_soap_header_impl_t *)ext_soap_header)
/************************* Function prototypes ********************************/
axis2_status_t AXIS2_CALL
- axis2_wsdl_ext_soap_header_free (axis2_wsdl_ext_soap_header_t *ext_soap_header,
- const axis2_env_t *env);
+ axis2_wsdl_ext_soap_header_free (axis2_wsdl_ext_soap_header_t *ext_soap_header,
+ const axis2_env_t *env);
axis2_char_t *AXIS2_CALL
axis2_wsdl_ext_soap_header_get_part(axis2_wsdl_ext_soap_header_t *ext_soap_header,
@@ -75,13 +75,13 @@
{
axis2_wsdl_ext_soap_header_impl_t *ext_soap_header_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- ext_soap_header_impl = (axis2_wsdl_ext_soap_header_impl_t *) AXIS2_MALLOC(env->allocator,
- sizeof(axis2_wsdl_ext_soap_header_impl_t));
-
-
- if(NULL == ext_soap_header_impl)
+ AXIS2_ENV_CHECK(env, NULL);
+
+ ext_soap_header_impl = (axis2_wsdl_ext_soap_header_impl_t *) AXIS2_MALLOC(env->allocator,
+ sizeof(axis2_wsdl_ext_soap_header_impl_t));
+
+
+ if(NULL == ext_soap_header_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -92,7 +92,7 @@
ext_soap_header_impl->qelement = NULL;
ext_soap_header_impl->ext_soap_header.ops = NULL;
ext_soap_header_impl->ext_soap_header.ext_soap_body = NULL;
-
+
ext_soap_header_impl->ext_soap_header.ext_soap_body =
axis2_wsdl_ext_soap_body_create(env, NULL);
if(NULL == ext_soap_header_impl->ext_soap_header.ext_soap_body)
@@ -102,12 +102,12 @@
return NULL;
}
- ext_soap_header_impl->ext_soap_header.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_ext_soap_header_ops_t));
- if(NULL == ext_soap_header_impl->ext_soap_header.ops)
+ ext_soap_header_impl->ext_soap_header.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_ext_soap_header_ops_t));
+ if(NULL == ext_soap_header_impl->ext_soap_header.ops)
{
axis2_wsdl_ext_soap_header_free(&(ext_soap_header_impl->ext_soap_header), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
if(!qtype)
@@ -119,21 +119,21 @@
(&(ext_soap_header_impl->ext_soap_header))->ext_soap_body->ext_element,
env, qtype);
- ext_soap_header_impl->ext_soap_header.ops->free = axis2_wsdl_ext_soap_header_free;
- ext_soap_header_impl->ext_soap_header.ops->get_part =
+ ext_soap_header_impl->ext_soap_header.ops->free = axis2_wsdl_ext_soap_header_free;
+ ext_soap_header_impl->ext_soap_header.ops->get_part =
axis2_wsdl_ext_soap_header_get_part;
ext_soap_header_impl->ext_soap_header.ops->set_part =
axis2_wsdl_ext_soap_header_set_part;
- ext_soap_header_impl->ext_soap_header.ops->get_msg_qname =
+ ext_soap_header_impl->ext_soap_header.ops->get_msg_qname =
axis2_wsdl_ext_soap_header_get_msg_qname;
ext_soap_header_impl->ext_soap_header.ops->set_msg_qname =
axis2_wsdl_ext_soap_header_set_msg_qname;
- ext_soap_header_impl->ext_soap_header.ops->get_qelement =
+ ext_soap_header_impl->ext_soap_header.ops->get_qelement =
axis2_wsdl_ext_soap_header_get_qelement;
ext_soap_header_impl->ext_soap_header.ops->set_qelement =
axis2_wsdl_ext_soap_header_set_qelement;
-
- return &(ext_soap_header_impl->ext_soap_header);
+
+ return &(ext_soap_header_impl->ext_soap_header);
}
/***************************Function implementation****************************/
@@ -148,7 +148,7 @@
exp_soap_header_impl = AXIS2_INTF_TO_IMPL(ext_soap_header);
- if(NULL != ext_soap_header->ops)
+ if(NULL != ext_soap_header->ops)
AXIS2_FREE(env->allocator, ext_soap_header->ops);
if(NULL != exp_soap_header_impl->part)
@@ -178,7 +178,7 @@
AXIS2_FREE(env->allocator, exp_soap_header_impl);
exp_soap_header_impl = NULL;
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_char_t *AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_op.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_op.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_op.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_ext_soap_op.c Sat Jun 3 20:09:08 2006
@@ -19,24 +19,24 @@
/**
* @brief Wsdl Extension Soap Operation struct impl
- * Wsdl Extention Soap Operation
+ * Wsdl Extention Soap Operation
*/
typedef struct axis2_wsdl_ext_soap_op_impl
{
- axis2_wsdl_ext_soap_op_t ext_soap_op;
+ axis2_wsdl_ext_soap_op_t ext_soap_op;
axis2_char_t *soap_action;
axis2_char_t *style;
} axis2_wsdl_ext_soap_op_impl_t;
#define AXIS2_INTF_TO_IMPL(ext_soap_op) \
- ((axis2_wsdl_ext_soap_op_impl_t *)ext_soap_op)
+ ((axis2_wsdl_ext_soap_op_impl_t *)ext_soap_op)
/************************* Function prototypes ********************************/
axis2_status_t AXIS2_CALL
- axis2_wsdl_ext_soap_op_free (axis2_wsdl_ext_soap_op_t *ext_soap_op,
- const axis2_env_t *env);
+ axis2_wsdl_ext_soap_op_free (axis2_wsdl_ext_soap_op_t *ext_soap_op,
+ const axis2_env_t *env);
axis2_char_t *AXIS2_CALL
axis2_wsdl_ext_soap_op_get_soap_action(axis2_wsdl_ext_soap_op_t *ext_soap_op,
@@ -64,13 +64,13 @@
{
axis2_wsdl_ext_soap_op_impl_t *ext_soap_op_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- ext_soap_op_impl = (axis2_wsdl_ext_soap_op_impl_t *) AXIS2_MALLOC(env->allocator,
- sizeof(axis2_wsdl_ext_soap_op_impl_t));
-
-
- if(NULL == ext_soap_op_impl)
+ AXIS2_ENV_CHECK(env, NULL);
+
+ ext_soap_op_impl = (axis2_wsdl_ext_soap_op_impl_t *) AXIS2_MALLOC(env->allocator,
+ sizeof(axis2_wsdl_ext_soap_op_impl_t));
+
+
+ if(NULL == ext_soap_op_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -80,7 +80,7 @@
ext_soap_op_impl->style = NULL;
ext_soap_op_impl->ext_soap_op.ops = NULL;
ext_soap_op_impl->ext_soap_op.ext_element = NULL;
-
+
ext_soap_op_impl->ext_soap_op.ext_element =
axis2_wsdl_extensible_element_create(env);
if(NULL == ext_soap_op_impl->ext_soap_op.ext_element)
@@ -90,12 +90,12 @@
return NULL;
}
- ext_soap_op_impl->ext_soap_op.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_ext_soap_op_ops_t));
- if(NULL == ext_soap_op_impl->ext_soap_op.ops)
+ ext_soap_op_impl->ext_soap_op.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_ext_soap_op_ops_t));
+ if(NULL == ext_soap_op_impl->ext_soap_op.ops)
{
axis2_wsdl_ext_soap_op_free(&(ext_soap_op_impl->ext_soap_op), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
if(!qtype)
@@ -106,17 +106,17 @@
AXIS2_WSDL_EXTENSIBLE_ELEMENT_SET_TYPE(
(&(ext_soap_op_impl->ext_soap_op))->ext_element, env, qtype);
- ext_soap_op_impl->ext_soap_op.ops->free = axis2_wsdl_ext_soap_op_free;
- ext_soap_op_impl->ext_soap_op.ops->get_soap_action =
+ ext_soap_op_impl->ext_soap_op.ops->free = axis2_wsdl_ext_soap_op_free;
+ ext_soap_op_impl->ext_soap_op.ops->get_soap_action =
axis2_wsdl_ext_soap_op_get_soap_action;
ext_soap_op_impl->ext_soap_op.ops->set_soap_action =
axis2_wsdl_ext_soap_op_set_soap_action;
- ext_soap_op_impl->ext_soap_op.ops->get_style =
+ ext_soap_op_impl->ext_soap_op.ops->get_style =
axis2_wsdl_ext_soap_op_get_style;
ext_soap_op_impl->ext_soap_op.ops->set_style =
axis2_wsdl_ext_soap_op_set_style;
-
- return &(ext_soap_op_impl->ext_soap_op);
+
+ return &(ext_soap_op_impl->ext_soap_op);
}
/***************************Function implementation****************************/
@@ -131,7 +131,7 @@
exp_soap_op_impl = AXIS2_INTF_TO_IMPL(ext_soap_op);
- if(NULL != ext_soap_op->ops)
+ if(NULL != ext_soap_op->ops)
AXIS2_FREE(env->allocator, ext_soap_op->ops);
if(NULL != exp_soap_op_impl->soap_action)
@@ -155,7 +155,7 @@
AXIS2_FREE(env->allocator, exp_soap_op_impl);
exp_soap_op_impl = NULL;
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_char_t *AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_attribute.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_attribute.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_attribute.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_attribute.c Sat Jun 3 20:09:08 2006
@@ -18,11 +18,11 @@
/**
* @brief Wsdl extensible attribute struct impl
- * Wsdl extensible attribute
+ * Wsdl extensible attribute
*/
typedef struct axis2_wsdl_extensible_attribute_impl
{
- axis2_wsdl_extensible_attribute_t extensible_attribute;
+ axis2_wsdl_extensible_attribute_t extensible_attribute;
axis2_qname_t *key;
axis2_qname_t *value;
@@ -31,14 +31,14 @@
} axis2_wsdl_extensible_attribute_impl_t;
#define AXIS2_INTF_TO_IMPL(extensible_attribute) \
- ((axis2_wsdl_extensible_attribute_impl_t *)extensible_attribute)
+ ((axis2_wsdl_extensible_attribute_impl_t *)extensible_attribute)
/************************* Function prototypes ********************************/
axis2_status_t AXIS2_CALL
- axis2_wsdl_extensible_attribute_free (
+ axis2_wsdl_extensible_attribute_free (
axis2_wsdl_extensible_attribute_t *extensible_attribute,
- const axis2_env_t *env);
+ const axis2_env_t *env);
axis2_qname_t *AXIS2_CALL
axis2_wsdl_extensible_attribute_get_key(
@@ -69,13 +69,13 @@
{
axis2_wsdl_extensible_attribute_impl_t *extensible_attribute_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- extensible_attribute_impl = (axis2_wsdl_extensible_attribute_impl_t *)
+ AXIS2_ENV_CHECK(env, NULL);
+
+ extensible_attribute_impl = (axis2_wsdl_extensible_attribute_impl_t *)
AXIS2_MALLOC(env->allocator, sizeof(axis2_wsdl_extensible_attribute_impl_t));
-
-
- if(NULL == extensible_attribute_impl)
+
+
+ if(NULL == extensible_attribute_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -85,30 +85,30 @@
extensible_attribute_impl->value = NULL;
extensible_attribute_impl->extensible_attribute.ops = NULL;
- extensible_attribute_impl->extensible_attribute.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_extensible_attribute_ops_t));
- if(NULL == extensible_attribute_impl->extensible_attribute.ops)
+ extensible_attribute_impl->extensible_attribute.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_extensible_attribute_ops_t));
+ if(NULL == extensible_attribute_impl->extensible_attribute.ops)
{
axis2_wsdl_extensible_attribute_free(&(extensible_attribute_impl->
extensible_attribute), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
extensible_attribute_impl->extensible_attribute.ops->free =
axis2_wsdl_extensible_attribute_free;
- extensible_attribute_impl->extensible_attribute.ops->get_key =
+ extensible_attribute_impl->extensible_attribute.ops->get_key =
axis2_wsdl_extensible_attribute_get_key;
- extensible_attribute_impl->extensible_attribute.ops->set_key =
+ extensible_attribute_impl->extensible_attribute.ops->set_key =
axis2_wsdl_extensible_attribute_set_key;
- extensible_attribute_impl->extensible_attribute.ops->get_value =
+ extensible_attribute_impl->extensible_attribute.ops->get_value =
axis2_wsdl_extensible_attribute_get_value;
- extensible_attribute_impl->extensible_attribute.ops->set_value =
+ extensible_attribute_impl->extensible_attribute.ops->set_value =
axis2_wsdl_extensible_attribute_set_value;
-
+
- return &(extensible_attribute_impl->extensible_attribute);
+ return &(extensible_attribute_impl->extensible_attribute);
}
/***************************Function implementation****************************/
@@ -119,7 +119,7 @@
const axis2_env_t *env)
{
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- if(NULL != extensible_attribute->ops)
+ if(NULL != extensible_attribute->ops)
AXIS2_FREE(env->allocator, extensible_attribute->ops);
if(NULL != AXIS2_INTF_TO_IMPL(extensible_attribute)->key)
@@ -138,7 +138,7 @@
AXIS2_FREE(env->allocator, AXIS2_INTF_TO_IMPL(extensible_attribute));
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_qname_t *AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_component.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_component.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_component.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_component.c Sat Jun 3 20:09:08 2006
@@ -18,11 +18,11 @@
/**
* @brief Wsdl extensible component struct impl
- * Wsdl extensible component
+ * Wsdl extensible component
*/
typedef struct axis2_wsdl_extensible_component_impl
{
- axis2_wsdl_extensible_component_t extensible_component;
+ axis2_wsdl_extensible_component_t extensible_component;
/**
* Field features
@@ -37,14 +37,14 @@
} axis2_wsdl_extensible_component_impl_t;
#define AXIS2_INTF_TO_IMPL(extensible_component) \
- ((axis2_wsdl_extensible_component_impl_t *)extensible_component)
+ ((axis2_wsdl_extensible_component_impl_t *)extensible_component)
/************************* Function prototypes ********************************/
axis2_status_t AXIS2_CALL
- axis2_wsdl_extensible_component_free (
+ axis2_wsdl_extensible_component_free (
axis2_wsdl_extensible_component_t *extensible_component,
- const axis2_env_t *env);
+ const axis2_env_t *env);
axis2_status_t AXIS2_CALL
axis2_wsdl_extensible_component_add_feature(
@@ -75,18 +75,18 @@
{
axis2_wsdl_extensible_component_impl_t *extensible_component_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- extensible_component_impl = (axis2_wsdl_extensible_component_impl_t *)
+ AXIS2_ENV_CHECK(env, NULL);
+
+ extensible_component_impl = (axis2_wsdl_extensible_component_impl_t *)
AXIS2_MALLOC(env->allocator, sizeof(axis2_wsdl_extensible_component_impl_t));
-
-
- if(NULL == extensible_component_impl)
+
+
+ if(NULL == extensible_component_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
-
+
extensible_component_impl->extensible_component.ops = NULL;
extensible_component_impl->properties = NULL;
extensible_component_impl->features = NULL;
@@ -121,29 +121,29 @@
}
- extensible_component_impl->extensible_component.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_extensible_component_ops_t));
- if(NULL == extensible_component_impl->extensible_component.ops)
+ extensible_component_impl->extensible_component.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_extensible_component_ops_t));
+ if(NULL == extensible_component_impl->extensible_component.ops)
{
axis2_wsdl_extensible_component_free(&(extensible_component_impl->
extensible_component), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- extensible_component_impl->extensible_component.ops->free =
+ extensible_component_impl->extensible_component.ops->free =
axis2_wsdl_extensible_component_free;
- extensible_component_impl->extensible_component.ops->add_feature =
+ extensible_component_impl->extensible_component.ops->add_feature =
axis2_wsdl_extensible_component_add_feature;
- extensible_component_impl->extensible_component.ops->get_features =
+ extensible_component_impl->extensible_component.ops->get_features =
axis2_wsdl_extensible_component_get_features;
- extensible_component_impl->extensible_component.ops->add_property =
+ extensible_component_impl->extensible_component.ops->add_property =
axis2_wsdl_extensible_component_add_property;
extensible_component_impl->extensible_component.ops->get_properties =
axis2_wsdl_extensible_component_get_properties;
-
-
- return &(extensible_component_impl->extensible_component);
+
+
+ return &(extensible_component_impl->extensible_component);
}
/***************************Function implementation****************************/
@@ -159,7 +159,7 @@
extensible_component_impl = AXIS2_INTF_TO_IMPL(extensible_component);
- if(NULL != extensible_component->ops)
+ if(NULL != extensible_component->ops)
{
AXIS2_FREE(env->allocator, extensible_component->ops);
extensible_component->ops = NULL;
@@ -217,7 +217,7 @@
AXIS2_FREE(env->allocator, extensible_component_impl);
extensible_component_impl = NULL;
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_status_t AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_element.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_element.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_extensible_element.c Sat Jun 3 20:09:08 2006
@@ -18,11 +18,11 @@
/**
* @brief Wsdl extensible element struct impl
- * Wsdl extensible element
+ * Wsdl extensible element
*/
typedef struct axis2_wsdl_extensible_element_impl
{
- axis2_wsdl_extensible_element_t extensible_element;
+ axis2_wsdl_extensible_element_t extensible_element;
axis2_qname_t *type;
@@ -31,14 +31,14 @@
} axis2_wsdl_extensible_element_impl_t;
#define AXIS2_INTF_TO_IMPL(extensible_element) \
- ((axis2_wsdl_extensible_element_impl_t *)extensible_element)
+ ((axis2_wsdl_extensible_element_impl_t *)extensible_element)
/************************* Function prototypes ********************************/
axis2_status_t AXIS2_CALL
- axis2_wsdl_extensible_element_free (
+ axis2_wsdl_extensible_element_free (
axis2_wsdl_extensible_element_t *extensible_element,
- const axis2_env_t *env);
+ const axis2_env_t *env);
axis2_bool_t AXIS2_CALL
axis2_wsdl_extensible_element_is_required(
@@ -69,13 +69,13 @@
{
axis2_wsdl_extensible_element_impl_t *extensible_element_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- extensible_element_impl = (axis2_wsdl_extensible_element_impl_t *)
+ AXIS2_ENV_CHECK(env, NULL);
+
+ extensible_element_impl = (axis2_wsdl_extensible_element_impl_t *)
AXIS2_MALLOC(env->allocator, sizeof(axis2_wsdl_extensible_element_impl_t));
-
-
- if(NULL == extensible_element_impl)
+
+
+ if(NULL == extensible_element_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -84,30 +84,30 @@
extensible_element_impl->type = NULL;
extensible_element_impl->extensible_element.ops = NULL;
- extensible_element_impl->extensible_element.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_extensible_element_ops_t));
- if(NULL == extensible_element_impl->extensible_element.ops)
+ extensible_element_impl->extensible_element.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_extensible_element_ops_t));
+ if(NULL == extensible_element_impl->extensible_element.ops)
{
axis2_wsdl_extensible_element_free(&(extensible_element_impl->
extensible_element), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
extensible_element_impl->extensible_element.ops->free =
axis2_wsdl_extensible_element_free;
- extensible_element_impl->extensible_element.ops->is_required =
+ extensible_element_impl->extensible_element.ops->is_required =
axis2_wsdl_extensible_element_is_required;
- extensible_element_impl->extensible_element.ops->set_required =
+ extensible_element_impl->extensible_element.ops->set_required =
axis2_wsdl_extensible_element_set_required;
- extensible_element_impl->extensible_element.ops->get_type =
+ extensible_element_impl->extensible_element.ops->get_type =
axis2_wsdl_extensible_element_get_type;
- extensible_element_impl->extensible_element.ops->set_type =
+ extensible_element_impl->extensible_element.ops->set_type =
axis2_wsdl_extensible_element_set_type;
-
+
- return &(extensible_element_impl->extensible_element);
+ return &(extensible_element_impl->extensible_element);
}
/***************************Function implementation****************************/
@@ -118,7 +118,7 @@
const axis2_env_t *env)
{
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- if(NULL != extensible_element->ops)
+ if(NULL != extensible_element->ops)
AXIS2_FREE(env->allocator, extensible_element->ops);
if(NULL != AXIS2_INTF_TO_IMPL(extensible_element)->type)
@@ -131,7 +131,7 @@
AXIS2_FREE(env->allocator, AXIS2_INTF_TO_IMPL(extensible_element));
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_bool_t AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_fault_ref.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_fault_ref.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_fault_ref.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_fault_ref.c Sat Jun 3 20:09:08 2006
@@ -44,13 +44,13 @@
} axis2_wsdl_fault_ref_impl_t;
#define AXIS2_INTF_TO_IMPL(fault_ref) \
- ((axis2_wsdl_fault_ref_impl_t *)fault_ref)
+ ((axis2_wsdl_fault_ref_impl_t *)fault_ref)
/************************* Function prototypes ********************************/
axis2_status_t AXIS2_CALL
- axis2_wsdl_fault_ref_free (axis2_wsdl_fault_ref_t *fault_ref,
- const axis2_env_t *env);
+ axis2_wsdl_fault_ref_free (axis2_wsdl_fault_ref_t *fault_ref,
+ const axis2_env_t *env);
axis2_char_t * AXIS2_CALL
axis2_wsdl_fault_ref_get_direction(axis2_wsdl_fault_ref_t *fault_ref,
@@ -86,12 +86,12 @@
{
axis2_wsdl_fault_ref_impl_t *fault_ref_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- fault_ref_impl = (axis2_wsdl_fault_ref_impl_t *) AXIS2_MALLOC(env->
+ AXIS2_ENV_CHECK(env, NULL);
+
+ fault_ref_impl = (axis2_wsdl_fault_ref_impl_t *) AXIS2_MALLOC(env->
allocator, sizeof(axis2_wsdl_fault_ref_impl_t));
-
- if(NULL == fault_ref_impl)
+
+ if(NULL == fault_ref_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -102,44 +102,44 @@
fault_ref_impl->ref = NULL;
fault_ref_impl->fault_ref.wsdl_component = NULL;
fault_ref_impl->fault_ref.ops = NULL;
-
+
fault_ref_impl->fault_ref.wsdl_component = axis2_wsdl_component_create(env);
if(NULL == fault_ref_impl->fault_ref.wsdl_component)
{
AXIS2_FREE(env->allocator, fault_ref_impl);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- fault_ref_impl->fault_ref.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_fault_ref_ops_t));
- if(NULL == fault_ref_impl->fault_ref.ops)
+ fault_ref_impl->fault_ref.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_fault_ref_ops_t));
+ if(NULL == fault_ref_impl->fault_ref.ops)
{
AXIS2_WSDL_COMPONENT_FREE(fault_ref_impl->fault_ref.wsdl_component, env);
AXIS2_FREE(env->allocator, fault_ref_impl);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- fault_ref_impl->fault_ref.ops->free = axis2_wsdl_fault_ref_free;
+ fault_ref_impl->fault_ref.ops->free = axis2_wsdl_fault_ref_free;
- fault_ref_impl->fault_ref.ops->get_direction =
+ fault_ref_impl->fault_ref.ops->get_direction =
axis2_wsdl_fault_ref_get_direction;
- fault_ref_impl->fault_ref.ops->set_direction =
+ fault_ref_impl->fault_ref.ops->set_direction =
axis2_wsdl_fault_ref_set_direction;
fault_ref_impl->fault_ref.ops->get_msg_label =
axis2_wsdl_fault_ref_get_msg_label;
- fault_ref_impl->fault_ref.ops->set_msg_label =
+ fault_ref_impl->fault_ref.ops->set_msg_label =
axis2_wsdl_fault_ref_set_msg_label;
fault_ref_impl->fault_ref.ops->get_ref = axis2_wsdl_fault_ref_get_ref;
- fault_ref_impl->fault_ref.ops->set_ref = axis2_wdsl_fault_ref_set_ref;
+ fault_ref_impl->fault_ref.ops->set_ref = axis2_wdsl_fault_ref_set_ref;
- return &(fault_ref_impl->fault_ref);
+ return &(fault_ref_impl->fault_ref);
}
/***************************Function implementation****************************/
@@ -154,7 +154,7 @@
fault_ref_impl = AXIS2_INTF_TO_IMPL(fault_ref);
- if(NULL != fault_ref->ops)
+ if(NULL != fault_ref->ops)
{
AXIS2_FREE(env->allocator, fault_ref->ops);
fault_ref->ops = NULL;
@@ -188,7 +188,7 @@
AXIS2_FREE(env->allocator, fault_ref_impl);
fault_ref_impl = NULL;
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_char_t * AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_feature.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_feature.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_feature.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_feature.c Sat Jun 3 20:09:08 2006
@@ -18,24 +18,24 @@
/**
* @brief Wsdl feature struct impl
- * Wsdl features
+ * Wsdl features
*/
typedef struct axis2_wsdl_feature_impl
{
axis2_wsdl_feature_t wsdl_feature;
axis2_char_t *name;
- axis2_bool_t required;
+ axis2_bool_t required;
} axis2_wsdl_feature_impl_t;
#define AXIS2_INTF_TO_IMPL(wsdl_feature) \
- ((axis2_wsdl_feature_impl_t *)wsdl_feature)
+ ((axis2_wsdl_feature_impl_t *)wsdl_feature)
/************************* Function prototypes ********************************/
axis2_status_t AXIS2_CALL
- axis2_wsdl_feature_free (axis2_wsdl_feature_t *wsdl_feature,
- const axis2_env_t *env);
+ axis2_wsdl_feature_free (axis2_wsdl_feature_t *wsdl_feature,
+ const axis2_env_t *env);
axis2_char_t *AXIS2_CALL
axis2_wsdl_feature_get_name(axis2_wsdl_feature_t *wsdl_feature,
@@ -62,13 +62,13 @@
{
axis2_wsdl_feature_impl_t *wsdl_feature_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- wsdl_feature_impl = (axis2_wsdl_feature_impl_t *) AXIS2_MALLOC(env->allocator,
- sizeof(axis2_wsdl_feature_impl_t));
-
-
- if(NULL == wsdl_feature_impl)
+ AXIS2_ENV_CHECK(env, NULL);
+
+ wsdl_feature_impl = (axis2_wsdl_feature_impl_t *) AXIS2_MALLOC(env->allocator,
+ sizeof(axis2_wsdl_feature_impl_t));
+
+
+ if(NULL == wsdl_feature_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -78,7 +78,7 @@
wsdl_feature_impl->required = AXIS2_FALSE;
wsdl_feature_impl->wsdl_feature.ops = NULL;
wsdl_feature_impl->wsdl_feature.wsdl_component = NULL;
-
+
wsdl_feature_impl->wsdl_feature.wsdl_component = axis2_wsdl_component_create(env);
if(NULL == wsdl_feature_impl->wsdl_feature.wsdl_component)
{
@@ -87,26 +87,26 @@
return NULL;
}
- wsdl_feature_impl->wsdl_feature.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_feature_ops_t));
- if(NULL == wsdl_feature_impl->wsdl_feature.ops)
+ wsdl_feature_impl->wsdl_feature.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_feature_ops_t));
+ if(NULL == wsdl_feature_impl->wsdl_feature.ops)
{
axis2_wsdl_feature_free(&(wsdl_feature_impl->wsdl_feature), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- wsdl_feature_impl->wsdl_feature.ops->free = axis2_wsdl_feature_free;
- wsdl_feature_impl->wsdl_feature.ops->get_name =
+ wsdl_feature_impl->wsdl_feature.ops->free = axis2_wsdl_feature_free;
+ wsdl_feature_impl->wsdl_feature.ops->get_name =
axis2_wsdl_feature_get_name;
wsdl_feature_impl->wsdl_feature.ops->set_name =
axis2_wsdl_feature_set_name;
- wsdl_feature_impl->wsdl_feature.ops->is_required =
+ wsdl_feature_impl->wsdl_feature.ops->is_required =
axis2_wsdl_feature_is_required;
wsdl_feature_impl->wsdl_feature.ops->set_required =
axis2_wsdl_feature_set_required;
-
- return &(wsdl_feature_impl->wsdl_feature);
+
+ return &(wsdl_feature_impl->wsdl_feature);
}
/***************************Function implementation****************************/
@@ -121,7 +121,7 @@
feature_impl = AXIS2_INTF_TO_IMPL(wsdl_feature);
- if(NULL != wsdl_feature->ops)
+ if(NULL != wsdl_feature->ops)
AXIS2_FREE(env->allocator, wsdl_feature->ops);
if(NULL != feature_impl->name)
@@ -139,7 +139,7 @@
AXIS2_FREE(env->allocator, feature_impl);
feature_impl = NULL;
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_char_t *AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_import.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_import.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_import.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_import.c Sat Jun 3 20:09:08 2006
@@ -18,7 +18,7 @@
/**
* @brief Wsdl import struct impl
- * Wsdl imports
+ * Wsdl imports
*/
typedef struct axis2_wsdl_import_impl
{
@@ -29,13 +29,13 @@
} axis2_wsdl_import_impl_t;
#define AXIS2_INTF_TO_IMPL(wsdl_import) \
- ((axis2_wsdl_import_impl_t *)wsdl_import)
+ ((axis2_wsdl_import_impl_t *)wsdl_import)
/************************* Function prototypes ********************************/
axis2_status_t AXIS2_CALL
axis2_wsdl_import_free (axis2_wsdl_import_t *wsdl_import,
- const axis2_env_t *env);
+ const axis2_env_t *env);
axis2_char_t *AXIS2_CALL
axis2_wsdl_import_get_namespace(axis2_wsdl_import_t *wsdl_import,
@@ -75,7 +75,7 @@
wsdl_import_impl->location = NULL;
wsdl_import_impl->wsdl_import.ops = NULL;
wsdl_import_impl->wsdl_import.wsdl_component = NULL;
-
+
wsdl_import_impl->wsdl_import.wsdl_component = axis2_wsdl_component_create(env);
if(NULL == wsdl_import_impl->wsdl_import.wsdl_component)
{
@@ -84,26 +84,26 @@
return NULL;
}
- wsdl_import_impl->wsdl_import.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_import_ops_t));
- if(NULL == wsdl_import_impl->wsdl_import.ops)
+ wsdl_import_impl->wsdl_import.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_import_ops_t));
+ if(NULL == wsdl_import_impl->wsdl_import.ops)
{
axis2_wsdl_import_free(&(wsdl_import_impl->wsdl_import), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- wsdl_import_impl->wsdl_import.ops->free = axis2_wsdl_import_free;
- wsdl_import_impl->wsdl_import.ops->get_namespace =
+ wsdl_import_impl->wsdl_import.ops->free = axis2_wsdl_import_free;
+ wsdl_import_impl->wsdl_import.ops->get_namespace =
axis2_wsdl_import_get_namespace;
wsdl_import_impl->wsdl_import.ops->set_namespace =
axis2_wsdl_import_set_namespace;
- wsdl_import_impl->wsdl_import.ops->get_location =
+ wsdl_import_impl->wsdl_import.ops->get_location =
axis2_wsdl_import_get_location;
wsdl_import_impl->wsdl_import.ops->set_location =
axis2_wsdl_import_set_location;
-
- return &(wsdl_import_impl->wsdl_import);
+
+ return &(wsdl_import_impl->wsdl_import);
}
/***************************Function implementation****************************/
@@ -118,7 +118,7 @@
import_impl = AXIS2_INTF_TO_IMPL(wsdl_import);
- if(NULL != wsdl_import->ops)
+ if(NULL != wsdl_import->ops)
AXIS2_FREE(env->allocator, wsdl_import->ops);
if(NULL != import_impl->namespace)
@@ -142,7 +142,7 @@
AXIS2_FREE(env->allocator, import_impl);
import_impl = NULL;
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_char_t *AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_include.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_include.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_include.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_include.c Sat Jun 3 20:09:08 2006
@@ -18,7 +18,7 @@
/**
* @brief Wsdl Include struct impl
- * Wsdl Includes
+ * Wsdl Includes
*/
typedef struct axis2_wsdl_include_impl
{
@@ -28,13 +28,13 @@
} axis2_wsdl_include_impl_t;
#define AXIS2_INTF_TO_IMPL(wsdl_include) \
- ((axis2_wsdl_include_impl_t *)wsdl_include)
+ ((axis2_wsdl_include_impl_t *)wsdl_include)
/************************* Function prototypes ********************************/
axis2_status_t AXIS2_CALL
- axis2_wsdl_include_free (axis2_wsdl_include_t *wsdl_include,
- const axis2_env_t *env);
+ axis2_wsdl_include_free (axis2_wsdl_include_t *wsdl_include,
+ const axis2_env_t *env);
axis2_char_t *AXIS2_CALL
axis2_wsdl_include_get_location(axis2_wsdl_include_t *wsdl_include,
@@ -52,13 +52,13 @@
{
axis2_wsdl_include_impl_t *wsdl_include_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- wsdl_include_impl = (axis2_wsdl_include_impl_t *) AXIS2_MALLOC(env->allocator,
- sizeof(axis2_wsdl_include_impl_t));
-
-
- if(NULL == wsdl_include_impl)
+ AXIS2_ENV_CHECK(env, NULL);
+
+ wsdl_include_impl = (axis2_wsdl_include_impl_t *) AXIS2_MALLOC(env->allocator,
+ sizeof(axis2_wsdl_include_impl_t));
+
+
+ if(NULL == wsdl_include_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -67,7 +67,7 @@
wsdl_include_impl->location = NULL;
wsdl_include_impl->wsdl_include.ops = NULL;
wsdl_include_impl->wsdl_include.wsdl_component = NULL;
-
+
wsdl_include_impl->wsdl_include.wsdl_component = axis2_wsdl_component_create(env);
if(NULL == wsdl_include_impl->wsdl_include.wsdl_component)
{
@@ -76,22 +76,22 @@
return NULL;
}
- wsdl_include_impl->wsdl_include.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_include_ops_t));
- if(NULL == wsdl_include_impl->wsdl_include.ops)
+ wsdl_include_impl->wsdl_include.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_include_ops_t));
+ if(NULL == wsdl_include_impl->wsdl_include.ops)
{
axis2_wsdl_include_free(&(wsdl_include_impl->wsdl_include), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- wsdl_include_impl->wsdl_include.ops->free = axis2_wsdl_include_free;
- wsdl_include_impl->wsdl_include.ops->get_location =
+ wsdl_include_impl->wsdl_include.ops->free = axis2_wsdl_include_free;
+ wsdl_include_impl->wsdl_include.ops->get_location =
axis2_wsdl_include_get_location;
wsdl_include_impl->wsdl_include.ops->set_location =
axis2_wsdl_include_set_location;
-
- return &(wsdl_include_impl->wsdl_include);
+
+ return &(wsdl_include_impl->wsdl_include);
}
/***************************Function implementation****************************/
@@ -106,7 +106,7 @@
include_impl = AXIS2_INTF_TO_IMPL(wsdl_include);
- if(NULL != wsdl_include->ops)
+ if(NULL != wsdl_include->ops)
AXIS2_FREE(env->allocator, wsdl_include->ops);
if(NULL != include_impl->location)
@@ -124,7 +124,7 @@
AXIS2_FREE(env->allocator, include_impl);
include_impl = NULL;
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_char_t *AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_interface.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_interface.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_interface.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_interface.c Sat Jun 3 20:09:08 2006
@@ -18,7 +18,7 @@
/**
* @brief Wsdl interface struct impl
- * Axis2 Wsdl Interface Implementation
+ * Axis2 Wsdl Interface Implementation
*/
typedef struct axis2_wsdl_interface_impl
{
@@ -47,12 +47,12 @@
} axis2_wsdl_interface_impl_t;
#define AXIS2_INTF_TO_IMPL(wsdl_interface) ((axis2_wsdl_interface_impl_t *)wsdl_interface)
-
+
/*************************** Function headers *********************************/
axis2_status_t AXIS2_CALL
axis2_wsdl_interface_free (axis2_wsdl_interface_t *wsdl_interface,
- const axis2_env_t *env);
+ const axis2_env_t *env);
axis2_hash_t *AXIS2_CALL
axis2_wsdl_interface_get_defined_ops(axis2_wsdl_interface_t *wsdl_interface,
@@ -127,7 +127,7 @@
const axis2_env_t *env,
axis2_char_t *style_default);
-/************************* End of function headers ****************************/
+/************************* End of function headers ****************************/
axis2_wsdl_interface_t * AXIS2_CALL
axis2_wsdl_interface_create (const axis2_env_t *env)
@@ -136,18 +136,18 @@
AXIS2_ENV_CHECK(env, NULL);
- wsdl_interface_impl = (axis2_wsdl_interface_impl_t *) AXIS2_MALLOC (env->
+ wsdl_interface_impl = (axis2_wsdl_interface_impl_t *) AXIS2_MALLOC (env->
allocator, sizeof (axis2_wsdl_interface_impl_t));
- if(NULL == wsdl_interface_impl)
- {
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ if(NULL == wsdl_interface_impl)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
wsdl_interface_impl->wsdl_interface.extensible_component = NULL;
wsdl_interface_impl->qname = NULL;
- wsdl_interface_impl->style_default = NULL;
+ wsdl_interface_impl->style_default = NULL;
wsdl_interface_impl->faults = NULL;
wsdl_interface_impl->super_interfaces = NULL;
wsdl_interface_impl->ops = NULL;
@@ -156,82 +156,82 @@
wsdl_interface_impl->wsdl_interface.extensible_component =
axis2_wsdl_extensible_component_create(env);
- if(NULL == wsdl_interface_impl->wsdl_interface.extensible_component)
- {
+ if(NULL == wsdl_interface_impl->wsdl_interface.extensible_component)
+ {
axis2_wsdl_interface_free(&(wsdl_interface_impl->wsdl_interface), env);
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
- wsdl_interface_impl->faults = axis2_linked_list_create(env);
- if(NULL == wsdl_interface_impl->faults)
- {
+ wsdl_interface_impl->faults = axis2_linked_list_create(env);
+ if(NULL == wsdl_interface_impl->faults)
+ {
axis2_wsdl_interface_free(&(wsdl_interface_impl->wsdl_interface), env);
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
- return NULL;
- }
+ return NULL;
+ }
- wsdl_interface_impl->super_interfaces = axis2_hash_make(env);
- if(NULL == wsdl_interface_impl->super_interfaces)
- {
+ wsdl_interface_impl->super_interfaces = axis2_hash_make(env);
+ if(NULL == wsdl_interface_impl->super_interfaces)
+ {
axis2_wsdl_interface_free(&(wsdl_interface_impl->wsdl_interface), env);
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
- return NULL;
- }
+ return NULL;
+ }
- wsdl_interface_impl->ops = axis2_hash_make(env);
- if(NULL == wsdl_interface_impl->ops)
- {
+ wsdl_interface_impl->ops = axis2_hash_make(env);
+ if(NULL == wsdl_interface_impl->ops)
+ {
axis2_wsdl_interface_free(&(wsdl_interface_impl->wsdl_interface), env);
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
- return NULL;
- }
+ return NULL;
+ }
wsdl_interface_impl->wsdl_interface.ops = AXIS2_MALLOC(env->allocator,
sizeof(axis2_wsdl_interface_ops_t));
- if(NULL == wsdl_interface_impl->wsdl_interface.ops)
- {
+ if(NULL == wsdl_interface_impl->wsdl_interface.ops)
+ {
axis2_wsdl_interface_free(&(wsdl_interface_impl->wsdl_interface), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
-
- wsdl_interface_impl->wsdl_interface.ops->free = axis2_wsdl_interface_free;
+ }
+
+ wsdl_interface_impl->wsdl_interface.ops->free = axis2_wsdl_interface_free;
- wsdl_interface_impl->wsdl_interface.ops->get_defined_ops =
+ wsdl_interface_impl->wsdl_interface.ops->get_defined_ops =
axis2_wsdl_interface_get_defined_ops;
- wsdl_interface_impl->wsdl_interface.ops->get_faults =
+ wsdl_interface_impl->wsdl_interface.ops->get_faults =
axis2_wsdl_interface_get_faults;
- wsdl_interface_impl->wsdl_interface.ops->get_name =
+ wsdl_interface_impl->wsdl_interface.ops->get_name =
axis2_wsdl_interface_get_name;
- wsdl_interface_impl->wsdl_interface.ops->get_ops =
+ wsdl_interface_impl->wsdl_interface.ops->get_ops =
axis2_wsdl_interface_get_ops;
wsdl_interface_impl->wsdl_interface.ops->get_op =
axis2_wsdl_interface_get_op;
- wsdl_interface_impl->wsdl_interface.ops->get_super_interfaces =
+ wsdl_interface_impl->wsdl_interface.ops->get_super_interfaces =
axis2_wsdl_interface_get_super_interfaces;
- wsdl_interface_impl->wsdl_interface.ops->get_super_interface =
+ wsdl_interface_impl->wsdl_interface.ops->get_super_interface =
axis2_wsdl_interface_get_super_interface;
- wsdl_interface_impl->wsdl_interface.ops->get_target_namespace =
+ wsdl_interface_impl->wsdl_interface.ops->get_target_namespace =
axis2_wsdl_interface_get_target_namespace;
wsdl_interface_impl->wsdl_interface.ops->set_faults =
axis2_wsdl_interface_set_faults;
- wsdl_interface_impl->wsdl_interface.ops->set_name =
+ wsdl_interface_impl->wsdl_interface.ops->set_name =
axis2_wsdl_interface_set_name;
- wsdl_interface_impl->wsdl_interface.ops->set_ops =
+ wsdl_interface_impl->wsdl_interface.ops->set_ops =
axis2_wsdl_interface_set_ops;
- wsdl_interface_impl->wsdl_interface.ops->set_op =
+ wsdl_interface_impl->wsdl_interface.ops->set_op =
axis2_wsdl_interface_set_op;
wsdl_interface_impl->wsdl_interface.ops->set_super_interfaces =
@@ -245,8 +245,8 @@
wsdl_interface_impl->wsdl_interface.ops->set_style_default =
axis2_wsdl_interface_set_style_default;
-
- return &(wsdl_interface_impl->wsdl_interface);
+
+ return &(wsdl_interface_impl->wsdl_interface);
}
/*************************Function implementations*****************************/
@@ -261,7 +261,7 @@
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
wsdl_interface_impl = AXIS2_INTF_TO_IMPL(wsdl_interface);
- if(wsdl_interface->ops)
+ if(wsdl_interface->ops)
{
AXIS2_FREE(env->allocator, wsdl_interface->ops);
wsdl_interface->ops = NULL;
@@ -318,7 +318,7 @@
AXIS2_FREE(env->allocator, wsdl_interface_impl);
wsdl_interface_impl = NULL;
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_hash_t *AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_msg_ref.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_msg_ref.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_msg_ref.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_msg_ref.c Sat Jun 3 20:09:08 2006
@@ -41,7 +41,7 @@
} axis2_wsdl_msg_ref_impl_t;
#define AXIS2_INTF_TO_IMPL(msg_ref) \
- ((axis2_wsdl_msg_ref_impl_t *)msg_ref)
+ ((axis2_wsdl_msg_ref_impl_t *)msg_ref)
/************************* Function prototypes ********************************/
@@ -83,15 +83,15 @@
{
axis2_wsdl_msg_ref_impl_t *msg_ref_impl = NULL;
AXIS2_ENV_CHECK(env, NULL);
-
+
msg_ref_impl = (axis2_wsdl_msg_ref_impl_t *) AXIS2_MALLOC(env->allocator,
sizeof(axis2_wsdl_msg_ref_impl_t));
-
+
if(NULL == msg_ref_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
msg_ref_impl->msg_label = NULL;
msg_ref_impl->direction = NULL;
msg_ref_impl->element = NULL;
@@ -101,7 +101,7 @@
if(NULL == msg_ref_impl->msg_ref.extensible_component)
{
AXIS2_WSDL_MSG_REF_FREE(&(msg_ref_impl->msg_ref), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
msg_ref_impl->msg_ref.ops =
@@ -160,7 +160,7 @@
}
if(msg_ref_impl)
{
- AXIS2_FREE(env->allocator, msg_ref_impl);
+ AXIS2_FREE(env->allocator, msg_ref_impl);
}
return AXIS2_SUCCESS;
}
Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_op.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_op.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_op.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_op.c Sat Jun 3 20:09:08 2006
@@ -20,7 +20,7 @@
/**
* @brief Wsdl Component struct impl
- * Axis2 Wsdl Component impl
+ * Axis2 Wsdl Component impl
*/
struct axis2_wsdl_op_impl
{
@@ -58,7 +58,7 @@
* value of parent if not specified
*/
axis2_bool_t safety;
-
+
};
#define AXIS2_INTF_TO_IMPL(wsdl_op) \
@@ -82,7 +82,7 @@
axis2_status_t AXIS2_CALL
axis2_wsdl_op_set_qname (axis2_wsdl_op_t *wsdl_op,
const axis2_env_t *env,
- axis2_qname_t *name);
+ axis2_qname_t *name);
axis2_qname_t * AXIS2_CALL
axis2_wsdl_op_get_qname (void *wsdl_op,
@@ -91,12 +91,12 @@
axis2_status_t AXIS2_CALL
axis2_wsdl_op_set_style (axis2_wsdl_op_t *wsdl_op,
const axis2_env_t *env,
- axis2_char_t *style);
+ axis2_char_t *style);
axis2_char_t * AXIS2_CALL
axis2_wsdl_op_get_style (axis2_wsdl_op_t *wsdl_op,
const axis2_env_t *env);
-
+
axis2_linked_list_t * AXIS2_CALL
axis2_wsdl_op_get_in_faults(axis2_wsdl_op_t *wsdl_op,
@@ -244,8 +244,8 @@
wsdl_op_impl->wsdl_op.ops->add_in_fault = axis2_wsdl_op_add_in_fault;
wsdl_op_impl->wsdl_op.ops->add_out_fault = axis2_wsdl_op_add_out_fault;
-
- return &(wsdl_op_impl->wsdl_op);
+
+ return &(wsdl_op_impl->wsdl_op);
}
/******************************************************************************/
@@ -342,7 +342,7 @@
wsdl_op_impl = NULL;
}
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_status_t AXIS2_CALL
@@ -360,13 +360,13 @@
axis2_status_t AXIS2_CALL
axis2_wsdl_op_set_msg_exchange_pattern (axis2_wsdl_op_t *wsdl_op,
const axis2_env_t *env,
- axis2_char_t *msg_exchange_pattern)
+ axis2_char_t *msg_exchange_pattern)
{
axis2_wsdl_op_impl_t *wsdl_op_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, msg_exchange_pattern, AXIS2_FAILURE);
-
+
wsdl_op_impl = AXIS2_INTF_TO_IMPL(wsdl_op);
if(wsdl_op_impl->msg_exchange_pattern)
@@ -374,14 +374,14 @@
AXIS2_FREE(env->allocator, wsdl_op_impl->msg_exchange_pattern);
wsdl_op_impl->msg_exchange_pattern = NULL;
}
- wsdl_op_impl->msg_exchange_pattern = AXIS2_STRDUP(msg_exchange_pattern, env);
+ wsdl_op_impl->msg_exchange_pattern = AXIS2_STRDUP(msg_exchange_pattern, env);
if(NULL == wsdl_op_impl->msg_exchange_pattern)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return AXIS2_FAILURE;
}
-
+
return AXIS2_SUCCESS;
}
@@ -389,15 +389,15 @@
axis2_wsdl_op_get_msg_exchange_pattern (axis2_wsdl_op_t *wsdl_op,
const axis2_env_t *env)
{
- AXIS2_ENV_CHECK(env, NULL);
+ AXIS2_ENV_CHECK(env, NULL);
- return AXIS2_INTF_TO_IMPL(wsdl_op)->msg_exchange_pattern;
+ return AXIS2_INTF_TO_IMPL(wsdl_op)->msg_exchange_pattern;
}
axis2_status_t AXIS2_CALL
axis2_wsdl_op_set_qname (axis2_wsdl_op_t *wsdl_op,
const axis2_env_t *env,
- axis2_qname_t *name)
+ axis2_qname_t *name)
{
axis2_wsdl_op_impl_t *wsdl_op_impl = NULL;
@@ -405,13 +405,13 @@
AXIS2_PARAM_CHECK(env->error, name, AXIS2_FAILURE);
wsdl_op_impl = AXIS2_INTF_TO_IMPL(wsdl_op);
-
+
if(wsdl_op_impl->name)
{
AXIS2_QNAME_FREE(wsdl_op_impl->name, env);
wsdl_op_impl->name = NULL;
}
- wsdl_op_impl->name = AXIS2_QNAME_CLONE(name, env);
+ wsdl_op_impl->name = AXIS2_QNAME_CLONE(name, env);
if(!wsdl_op_impl->name)
{
return AXIS2_FAILURE;
@@ -437,7 +437,7 @@
axis2_status_t AXIS2_CALL
axis2_wsdl_op_set_style (axis2_wsdl_op_t *wsdl_op,
const axis2_env_t *env,
- axis2_char_t *style)
+ axis2_char_t *style)
{
axis2_wsdl_op_impl_t *wsdl_op_impl = NULL;
@@ -451,23 +451,23 @@
AXIS2_FREE(env->allocator, wsdl_op_impl->style);
wsdl_op_impl->style = NULL;
}
- wsdl_op_impl->style = AXIS2_STRDUP(style, env);
+ wsdl_op_impl->style = AXIS2_STRDUP(style, env);
if(!wsdl_op_impl->style)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return AXIS2_FAILURE;
}
-
- return AXIS2_SUCCESS;
+
+ return AXIS2_SUCCESS;
}
axis2_char_t * AXIS2_CALL
axis2_wsdl_op_get_style (axis2_wsdl_op_t *wsdl_op,
const axis2_env_t *env)
{
- AXIS2_ENV_CHECK(env, NULL);
-
- return AXIS2_INTF_TO_IMPL(wsdl_op)->style;
+ AXIS2_ENV_CHECK(env, NULL);
+
+ return AXIS2_INTF_TO_IMPL(wsdl_op)->style;
}
axis2_linked_list_t * AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_property.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_property.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_property.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_property.c Sat Jun 3 20:09:08 2006
@@ -18,7 +18,7 @@
/**
* @brief Wsdl property struct impl
- * Wsdl properties
+ * Wsdl properties
*/
typedef struct axis2_wsdl_property_impl
{
@@ -30,13 +30,13 @@
} axis2_wsdl_property_impl_t;
#define AXIS2_INTF_TO_IMPL(wsdl_property) \
- ((axis2_wsdl_property_impl_t *)wsdl_property)
+ ((axis2_wsdl_property_impl_t *)wsdl_property)
/************************* Function prototypes ********************************/
axis2_status_t AXIS2_CALL
- axis2_wsdl_property_free (axis2_wsdl_property_t *wsdl_property,
- const axis2_env_t *env);
+ axis2_wsdl_property_free (axis2_wsdl_property_t *wsdl_property,
+ const axis2_env_t *env);
void * AXIS2_CALL
axis2_wsdl_property_get_constraint(axis2_wsdl_property_t *wsdl_property,
@@ -71,18 +71,18 @@
axis2_wsdl_property_create (const axis2_env_t *env)
{
axis2_wsdl_property_impl_t *wsdl_property_impl = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- wsdl_property_impl = (axis2_wsdl_property_impl_t *) AXIS2_MALLOC(env->
+ AXIS2_ENV_CHECK(env, NULL);
+
+ wsdl_property_impl = (axis2_wsdl_property_impl_t *) AXIS2_MALLOC(env->
allocator, sizeof(axis2_wsdl_property_impl_t));
-
-
- if(NULL == wsdl_property_impl)
+
+
+ if(NULL == wsdl_property_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
-
+
wsdl_property_impl->name = NULL;
wsdl_property_impl->constraint = NULL;
wsdl_property_impl->value = NULL;
@@ -92,34 +92,34 @@
if(NULL == wsdl_property_impl->wsdl_property.wsdl_component)
{
axis2_wsdl_property_free(&(wsdl_property_impl->wsdl_property), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- wsdl_property_impl->wsdl_property.ops = AXIS2_MALLOC (env->allocator,
+ wsdl_property_impl->wsdl_property.ops = AXIS2_MALLOC (env->allocator,
sizeof(axis2_wsdl_property_ops_t));
- if(NULL == wsdl_property_impl->wsdl_property.ops)
+ if(NULL == wsdl_property_impl->wsdl_property.ops)
{
axis2_wsdl_property_free(&(wsdl_property_impl->wsdl_property), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
- wsdl_property_impl->wsdl_property.ops->free = axis2_wsdl_property_free;
- wsdl_property_impl->wsdl_property.ops->get_constraint =
+ wsdl_property_impl->wsdl_property.ops->free = axis2_wsdl_property_free;
+ wsdl_property_impl->wsdl_property.ops->get_constraint =
axis2_wsdl_property_get_constraint;
- wsdl_property_impl->wsdl_property.ops->set_constraint =
+ wsdl_property_impl->wsdl_property.ops->set_constraint =
axis2_wsdl_property_set_constraint;
- wsdl_property_impl->wsdl_property.ops->get_name =
+ wsdl_property_impl->wsdl_property.ops->get_name =
axis2_wsdl_property_get_name;
wsdl_property_impl->wsdl_property.ops->set_name =
axis2_wsdl_property_set_name;
- wsdl_property_impl->wsdl_property.ops->get_value =
+ wsdl_property_impl->wsdl_property.ops->get_value =
axis2_wsdl_property_get_value;
wsdl_property_impl->wsdl_property.ops->set_value =
axis2_wsdl_property_set_value;
-
- return &(wsdl_property_impl->wsdl_property);
+
+ return &(wsdl_property_impl->wsdl_property);
}
/***************************Function implementation****************************/
@@ -131,7 +131,7 @@
axis2_wsdl_property_impl_t *property_impl = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
- if(NULL != wsdl_property->ops)
+ if(NULL != wsdl_property->ops)
AXIS2_FREE(env->allocator, wsdl_property->ops);
property_impl = AXIS2_INTF_TO_IMPL(wsdl_property);
@@ -154,7 +154,7 @@
AXIS2_FREE(env->allocator, property_impl);
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
void * AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_soap_op.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_soap_op.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_soap_op.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_soap_op.c Sat Jun 3 20:09:08 2006
@@ -18,7 +18,7 @@
/**
* @brief Wsdl soap op struct impl
- * Wsdl soap element
+ * Wsdl soap element
*/
typedef struct axis2_wsdl_soap_op_impl
{
@@ -29,13 +29,13 @@
} axis2_wsdl_soap_op_impl_t;
#define AXIS2_INTF_TO_IMPL(soap_op) \
- ((axis2_wsdl_soap_op_impl_t *)soap_op)
+ ((axis2_wsdl_soap_op_impl_t *)soap_op)
/************************* Function prototypes ********************************/
axis2_status_t AXIS2_CALL
axis2_wsdl_soap_op_free (axis2_wsdl_soap_op_t *soap_op,
- const axis2_env_t *env);
+ const axis2_env_t *env);
axis2_char_t *AXIS2_CALL
axis2_wsdl_soap_op_get_style(axis2_wsdl_soap_op_t *soap_op,
@@ -64,9 +64,9 @@
axis2_wsdl_soap_op_impl_t *soap_op_impl = NULL;
axis2_qname_t *type_l = NULL;
AXIS2_ENV_CHECK(env, NULL);
-
+
soap_op_impl = (axis2_wsdl_soap_op_impl_t *)
- AXIS2_MALLOC(env->allocator, sizeof(axis2_wsdl_soap_op_impl_t));
+ AXIS2_MALLOC(env->allocator, sizeof(axis2_wsdl_soap_op_impl_t));
if(NULL == soap_op_impl)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
@@ -83,29 +83,29 @@
AXIS2_WSDL_EXTENSIBLE_ELEMENT_SET_TYPE(soap_op_impl->soap_op.
extensible_element, env, type_l);
- soap_op_impl->soap_op.ops =
- AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_soap_op_ops_t));
- if(NULL == soap_op_impl->soap_op.ops)
+ soap_op_impl->soap_op.ops =
+ AXIS2_MALLOC (env->allocator, sizeof(axis2_wsdl_soap_op_ops_t));
+ if(NULL == soap_op_impl->soap_op.ops)
{
axis2_wsdl_soap_op_free(&(soap_op_impl->
soap_op), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
}
soap_op_impl->soap_op.ops->free =
axis2_wsdl_soap_op_free;
- soap_op_impl->soap_op.ops->get_style =
+ soap_op_impl->soap_op.ops->get_style =
axis2_wsdl_soap_op_get_style;
- soap_op_impl->soap_op.ops->set_style =
+ soap_op_impl->soap_op.ops->set_style =
axis2_wsdl_soap_op_set_style;
- soap_op_impl->soap_op.ops->get_soap_action =
+ soap_op_impl->soap_op.ops->get_soap_action =
axis2_wsdl_soap_op_get_soap_action;
- soap_op_impl->soap_op.ops->set_soap_action =
+ soap_op_impl->soap_op.ops->set_soap_action =
axis2_wsdl_soap_op_set_soap_action;
- return &(soap_op_impl->soap_op);
+ return &(soap_op_impl->soap_op);
}
axis2_wsdl_soap_op_t * AXIS2_CALL
@@ -141,7 +141,7 @@
soap_op_impl = AXIS2_INTF_TO_IMPL(soap_op);
- if(NULL != soap_op->ops)
+ if(NULL != soap_op->ops)
{
AXIS2_FREE(env->allocator, soap_op->ops);
soap_op->ops = NULL;
@@ -163,7 +163,7 @@
AXIS2_FREE(env->allocator, soap_op_impl);
soap_op_impl = NULL;
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_char_t *AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_svc.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_svc.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_svc.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_svc.c Sat Jun 3 20:09:08 2006
@@ -18,7 +18,7 @@
/**
* @brief Wsdl Service struct impl
- * Axis2 Wsdl Service impl
+ * Axis2 Wsdl Service impl
*/
typedef struct axis2_wsdl_svc_impl axis2_wsdl_svc_impl_t;
@@ -98,13 +98,13 @@
AXIS2_ENV_CHECK(env, NULL);
- wsdl_svc_impl = (axis2_wsdl_svc_impl_t *) AXIS2_MALLOC (env->allocator,
+ wsdl_svc_impl = (axis2_wsdl_svc_impl_t *) AXIS2_MALLOC (env->allocator,
sizeof(axis2_wsdl_svc_impl_t));
- if(NULL == wsdl_svc_impl)
- {
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ if(NULL == wsdl_svc_impl)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
wsdl_svc_impl->svc_interface = NULL;
wsdl_svc_impl->wsdl_svc.wsdl_component = NULL;
@@ -114,7 +114,7 @@
wsdl_svc_impl->wsdl_svc.wsdl_component = axis2_wsdl_component_create(env);
if(NULL == wsdl_svc_impl->wsdl_svc.wsdl_component)
- {
+ {
axis2_wsdl_svc_free(&(wsdl_svc_impl->wsdl_svc), env);
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY,AXIS2_FAILURE);
return NULL;
@@ -128,17 +128,17 @@
return NULL;
}
- wsdl_svc_impl->wsdl_svc.ops = (axis2_wsdl_svc_ops_t *) AXIS2_MALLOC (env->
+ wsdl_svc_impl->wsdl_svc.ops = (axis2_wsdl_svc_ops_t *) AXIS2_MALLOC (env->
allocator, sizeof(axis2_wsdl_svc_ops_t));
- if(NULL == wsdl_svc_impl->wsdl_svc.ops)
- {
+ if(NULL == wsdl_svc_impl->wsdl_svc.ops)
+ {
axis2_wsdl_svc_free(&(wsdl_svc_impl->wsdl_svc), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
- wsdl_svc_impl->wsdl_svc.ops->free = axis2_wsdl_svc_free;
+ wsdl_svc_impl->wsdl_svc.ops->free = axis2_wsdl_svc_free;
wsdl_svc_impl->wsdl_svc.ops->get_qname = axis2_wsdl_svc_get_qname;
wsdl_svc_impl->wsdl_svc.ops->set_qname = axis2_wsdl_svc_set_qname;
wsdl_svc_impl->wsdl_svc.ops->get_endpoints = axis2_wsdl_svc_get_endpoints;
@@ -149,7 +149,7 @@
wsdl_svc_impl->wsdl_svc.ops->get_svc_interface = axis2_wsdl_svc_get_svc_interface;
wsdl_svc_impl->wsdl_svc.ops->set_svc_interface = axis2_wsdl_svc_set_svc_interface;
- return &(wsdl_svc_impl->wsdl_svc);
+ return &(wsdl_svc_impl->wsdl_svc);
}
/******************************************************************************/
@@ -159,7 +159,7 @@
const axis2_env_t *env)
{
axis2_wsdl_svc_impl_t *wsdl_svc_impl = NULL;
- AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
+ AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
wsdl_svc_impl = AXIS2_INTF_TO_IMPL(wsdl_svc);
@@ -209,10 +209,10 @@
}
if(wsdl_svc_impl)
- AXIS2_FREE(env->allocator, wsdl_svc_impl);
+ AXIS2_FREE(env->allocator, wsdl_svc_impl);
wsdl_svc_impl = NULL;
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
axis2_qname_t * AXIS2_CALL
Modified: webservices/axis2/trunk/c/modules/wsdl/wsdl_types.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/wsdl/wsdl_types.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/wsdl_types.c (original)
+++ webservices/axis2/trunk/c/modules/wsdl/wsdl_types.c Sat Jun 3 20:09:08 2006
@@ -20,21 +20,21 @@
/**
* @brief Wsdl Types struct impl
- * Axis2 Wsdl Types Implementation
+ * Axis2 Wsdl Types Implementation
*/
typedef struct axis2_wsdl_types_impl
{
- axis2_wsdl_types_t wsdl_types;
+ axis2_wsdl_types_t wsdl_types;
} axis2_wsdl_types_impl_t;
#define AXIS2_INTF_TO_IMPL(wsdl_types) ((axis2_wsdl_types_impl_t *)wsdl_types)
-
+
/*************************** Function headers *********************************/
axis2_status_t AXIS2_CALL
axis2_wsdl_types_free (axis2_wsdl_types_t *wsdl_types,
- const axis2_env_t *env);
+ const axis2_env_t *env);
/**
* Adds the <code>ExtensionElement</code> to the map keyed with the
@@ -60,7 +60,7 @@
const axis2_env_t *env,
axis2_qname_t *qname);
-/************************* End of function headers ****************************/
+/************************* End of function headers ****************************/
axis2_wsdl_types_t * AXIS2_CALL
axis2_wsdl_types_create (const axis2_env_t *env)
@@ -69,41 +69,41 @@
AXIS2_ENV_CHECK(env, NULL);
- wsdl_types_impl = (axis2_wsdl_types_impl_t *) AXIS2_MALLOC (env->
+ wsdl_types_impl = (axis2_wsdl_types_impl_t *) AXIS2_MALLOC (env->
allocator, sizeof (axis2_wsdl_types_impl_t));
- if(NULL == wsdl_types_impl)
- {
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ if(NULL == wsdl_types_impl)
+ {
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
wsdl_types_impl->wsdl_types.ops = NULL;
wsdl_types_impl->wsdl_types.ext_component =
axis2_wsdl_extensible_component_create(env);
- if(NULL == wsdl_types_impl->wsdl_types.ext_component)
- {
+ if(NULL == wsdl_types_impl->wsdl_types.ext_component)
+ {
axis2_wsdl_types_free(&(wsdl_types_impl->wsdl_types), env);
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
+ }
wsdl_types_impl->wsdl_types.ops = AXIS2_MALLOC(env->allocator,
sizeof(axis2_wsdl_types_ops_t));
- if(NULL == wsdl_types_impl->wsdl_types.ops)
- {
+ if(NULL == wsdl_types_impl->wsdl_types.ops)
+ {
axis2_wsdl_types_free(&(wsdl_types_impl->wsdl_types), env);
- AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
+ AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
- }
-
- wsdl_types_impl->wsdl_types.ops->free = axis2_wsdl_types_free;
+ }
+
+ wsdl_types_impl->wsdl_types.ops->free = axis2_wsdl_types_free;
wsdl_types_impl->wsdl_types.ops->add_element = axis2_wsdl_types_add_element;
wsdl_types_impl->wsdl_types.ops->get_first_element =
axis2_wsdl_types_get_first_element;
- return &(wsdl_types_impl->wsdl_types);
+ return &(wsdl_types_impl->wsdl_types);
}
/*************************Function implementations*****************************/
@@ -118,7 +118,7 @@
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
wsdl_types_impl = AXIS2_INTF_TO_IMPL(wsdl_types);
- if(wsdl_types->ops)
+ if(wsdl_types->ops)
{
AXIS2_FREE(env->allocator, wsdl_types->ops);
wsdl_types->ops = NULL;
@@ -134,7 +134,7 @@
AXIS2_FREE(env->allocator, wsdl_types_impl);
wsdl_types_impl = NULL;
- return AXIS2_SUCCESS;
+ return AXIS2_SUCCESS;
}
Modified: webservices/axis2/trunk/c/samples/client/echo/echo.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/echo/echo.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/echo/echo.c (original)
+++ webservices/axis2/trunk/c/samples/client/echo/echo.c Sat Jun 3 20:09:08 2006
@@ -76,7 +76,7 @@
{
printf("Error creating service client\n");
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:"
- " %d :: %s", env->error->error_number,
+ " %d :: %s", env->error->error_number,
AXIS2_ERROR_GET_MESSAGE(env->error));
}
@@ -102,8 +102,8 @@
}
else
{
- AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:"
- " %d :: %s", env->error->error_number,
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:"
+ " %d :: %s", env->error->error_number,
AXIS2_ERROR_GET_MESSAGE(env->error));
printf("echo client invoke FAILED!\n");
}
Modified: webservices/axis2/trunk/c/samples/client/google/google_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/google/google_client.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/google/google_client.c (original)
+++ webservices/axis2/trunk/c/samples/client/google/google_client.c Sat Jun 3 20:09:08 2006
@@ -88,7 +88,7 @@
{
printf("Error creating service client\n");
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:"
- " %d :: %s", env->error->error_number,
+ " %d :: %s", env->error->error_number,
AXIS2_ERROR_GET_MESSAGE(env->error));
}
@@ -134,8 +134,8 @@
}
else
{
- AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:"
- " %d :: %s", env->error->error_number,
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:"
+ " %d :: %s", env->error->error_number,
AXIS2_ERROR_GET_MESSAGE(env->error));
printf("Google client invoke FAILED!\n");
}
@@ -183,8 +183,8 @@
AXIS2_OM_ELEMENT_ADD_ATTRIBUTE(text_om_ele, env,attri1, text_om_node);
AXIS2_OM_ELEMENT_SET_TEXT(text_om_ele, env, word_to_spell, text_om_node);
- buffer = AXIS2_OM_NODE_TO_STRING(google_om_node, env);
- printf("%s\n", buffer);
+ buffer = AXIS2_OM_NODE_TO_STRING(google_om_node, env);
+ printf("%s\n", buffer);
return google_om_node;
}
Modified: webservices/axis2/trunk/c/samples/client/math/axis2_math_stub.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/math/axis2_math_stub.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/math/axis2_math_stub.c (original)
+++ webservices/axis2/trunk/c/samples/client/math/axis2_math_stub.c Sat Jun 3 20:09:08 2006
@@ -25,7 +25,7 @@
axis2_stub_t *stub = NULL;
AXIS2_ENV_CHECK(env, NULL);
-
+
stub = (axis2_stub_t *)
axis2_stub_create_with_endpoint_ref_and_client_home(env, endpoint_ref,
client_home);
@@ -80,12 +80,12 @@
{
axis2_stub_t *stub = NULL;
- AXIS2_ENV_CHECK(env, NULL);
-
- stub = (axis2_stub_t *)
+ AXIS2_ENV_CHECK(env, NULL);
+
+ stub = (axis2_stub_t *)
axis2_stub_create_with_endpoint_uri_and_client_home(env, endpoint_uri,
client_home);
- if(NULL == stub)
+ if(NULL == stub)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
return NULL;
@@ -93,7 +93,7 @@
axis2_populate_axis_service( stub, env);
- return stub;
+ return stub;
}
/***************************Function implementation****************************/
Modified: webservices/axis2/trunk/c/samples/client/math/math_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/math/math_client.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/math/math_client.c (original)
+++ webservices/axis2/trunk/c/samples/client/math/math_client.c Sat Jun 3 20:09:08 2006
@@ -37,7 +37,7 @@
axis2_char_t *operation = "add";
axis2_char_t *param1 = "40";
axis2_char_t *param2 = "8";
-
+
env = axis2_env_create_all( "math_blocking.log", AXIS2_LOG_LEVEL_TRACE);
client_home = AXIS2_GETENV("AXIS2C_HOME");
@@ -89,7 +89,7 @@
axis2_om_output_t *om_output = NULL;
axis2_char_t *buffer = NULL;
writer = axis2_xml_writer_create_for_memory(env, NULL, AXIS2_TRUE, 0,
- AXIS2_XML_PARSER_TYPE_BUFFER);
+ AXIS2_XML_PARSER_TYPE_BUFFER);
om_output = axis2_om_output_create (env, writer);
AXIS2_OM_NODE_SERIALIZE (ret_node, env, om_output);
@@ -109,8 +109,8 @@
}
else
{
- AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:"
- " %d :: %s", env->error->error_number,
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:"
+ " %d :: %s", env->error->error_number,
AXIS2_ERROR_GET_MESSAGE(env->error));
printf("math stub invoke FAILED!\n");
}
@@ -147,7 +147,7 @@
AXIS2_OM_ELEMENT_SET_TEXT(text_om_ele, env, param2, text_om_node);
xml_writer = axis2_xml_writer_create_for_memory(env, NULL, AXIS2_FALSE, AXIS2_FALSE,
- AXIS2_XML_PARSER_TYPE_BUFFER);
+ AXIS2_XML_PARSER_TYPE_BUFFER);
om_output = axis2_om_output_create( env, xml_writer);
AXIS2_OM_NODE_SERIALIZE(math_om_node, env, om_output);
Modified: webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c (original)
+++ webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c Sat Jun 3 20:09:08 2006
@@ -83,7 +83,7 @@
{
printf("Error creating service client\n");
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:"
- " %d :: %s", env->error->error_number,
+ " %d :: %s", env->error->error_number,
AXIS2_ERROR_GET_MESSAGE(env->error));
}
@@ -109,8 +109,8 @@
}
else
{
- AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:"
- " %d :: %s", env->error->error_number,
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:"
+ " %d :: %s", env->error->error_number,
AXIS2_ERROR_GET_MESSAGE(env->error));
printf("mtom client invoke FAILED!\n");
}
Modified: webservices/axis2/trunk/c/samples/client/notify/notify_client.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/client/notify/notify_client.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/notify/notify_client.c (original)
+++ webservices/axis2/trunk/c/samples/client/notify/notify_client.c Sat Jun 3 20:09:08 2006
@@ -75,7 +75,7 @@
{
printf("Error creating service client\n");
AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:"
- " %d :: %s", env->error->error_number,
+ " %d :: %s", env->error->error_number,
AXIS2_ERROR_GET_MESSAGE(env->error));
}
@@ -97,8 +97,8 @@
}
else
{
- AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:"
- " %d :: %s", env->error->error_number,
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Stub invoke FAILED: Error code:"
+ " %d :: %s", env->error->error_number,
AXIS2_ERROR_GET_MESSAGE(env->error));
printf("notify client invoke FAILED!\n");
}
Modified: webservices/axis2/trunk/c/samples/server/echo/echo.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/echo/echo.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/server/echo/echo.c (original)
+++ webservices/axis2/trunk/c/samples/server/echo/echo.c Sat Jun 3 20:09:08 2006
@@ -40,20 +40,20 @@
printf("Echo client ERROR: input parameter NULL\n");
return NULL;
}
- else
- {
- axis2_xml_writer_t *writer = NULL;
- axis2_om_output_t *om_output = NULL;
- axis2_char_t *buffer = NULL;
-
- writer = axis2_xml_writer_create_for_memory(env, NULL, AXIS2_TRUE, 0,
- AXIS2_XML_PARSER_TYPE_BUFFER);
- om_output = axis2_om_output_create (env, writer);
+ else
+ {
+ axis2_xml_writer_t *writer = NULL;
+ axis2_om_output_t *om_output = NULL;
+ axis2_char_t *buffer = NULL;
+
+ writer = axis2_xml_writer_create_for_memory(env, NULL, AXIS2_TRUE, 0,
+ AXIS2_XML_PARSER_TYPE_BUFFER);
+ om_output = axis2_om_output_create (env, writer);
- AXIS2_OM_NODE_SERIALIZE (node, env, om_output);
- buffer = AXIS2_XML_WRITER_GET_XML(writer, env);
- printf("buffer = %s \n", buffer);
- }
+ AXIS2_OM_NODE_SERIALIZE (node, env, om_output);
+ buffer = AXIS2_XML_WRITER_GET_XML(writer, env);
+ printf("buffer = %s \n", buffer);
+ }
text_parent_node = AXIS2_OM_NODE_GET_FIRST_CHILD(node, env);
if (!text_parent_node) /* 'text' node */
@@ -87,7 +87,7 @@
printf("Echo client ERROR: invalid XML in request\n");
return NULL;
}
-
+
return ret_node;
}
Modified: webservices/axis2/trunk/c/samples/server/echo/echo_skeleton.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/echo/echo_skeleton.c?rev=411506&r1=411505&r2=411506&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/server/echo/echo_skeleton.c (original)
+++ webservices/axis2/trunk/c/samples/server/echo/echo_skeleton.c Sat Jun 3 20:09:08 2006
@@ -152,7 +152,7 @@
axis2_get_instance(axis2_svc_skeleton_t **inst,
const axis2_env_t *env)
{
- *inst = axis2_echo_create(env);
+ *inst = axis2_echo_create(env);
if(!(*inst))
{
return AXIS2_FAILURE;
@@ -166,8 +166,8 @@
const axis2_env_t *env)
{
axis2_status_t status = AXIS2_FAILURE;
- if (inst)
- {
+ if (inst)
+ {
status = AXIS2_SVC_SKELETON_FREE(inst, env);
}
return status;
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org