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 2007/04/01 13:19:17 UTC
svn commit: r524582 [3/3] - in /webservices/axis2/trunk/c: axiom/include/
axiom/src/om/ axiom/src/soap/ axiom/src/util/ modules/core/clientapi/
modules/core/deployment/ modules/core/engine/ modules/core/receivers/
modules/core/transport/http/sender/ mo...
Modified: webservices/axis2/trunk/c/samples/server/math/math.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/math/math.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/server/math/math.c (original)
+++ webservices/axis2/trunk/c/samples/server/math/math.c Sun Apr 1 04:19:13 2007
@@ -36,7 +36,7 @@
return NULL;
}
- param1_node = AXIOM_NODE_GET_FIRST_CHILD(node, env);
+ param1_node = axiom_node_get_first_child(node, env);
if (!param1_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -44,7 +44,7 @@
return NULL;
}
- param1_text_node = AXIOM_NODE_GET_FIRST_CHILD(param1_node, env);
+ param1_text_node = axiom_node_get_first_child(param1_node, env);
if (!param1_text_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -52,9 +52,9 @@
return NULL;
}
- if (AXIOM_NODE_GET_NODE_TYPE(param1_text_node, env) == AXIOM_TEXT)
+ if (axiom_node_get_node_type(param1_text_node, env) == AXIOM_TEXT)
{
- axiom_text_t *text = (axiom_text_t *)AXIOM_NODE_GET_DATA_ELEMENT(param1_text_node, env);
+ axiom_text_t *text = (axiom_text_t *)axiom_node_get_data_element(param1_text_node, env);
if (text && axiom_text_get_value(text , env))
{
param1_str = (axis2_char_t *)axiom_text_get_value(text, env);
@@ -67,7 +67,7 @@
return NULL;
}
- param2_node = AXIOM_NODE_GET_NEXT_SIBLING(param1_node, env);
+ param2_node = axiom_node_get_next_sibling(param1_node, env);
if (!param2_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -75,7 +75,7 @@
return NULL;
}
- param2_text_node = AXIOM_NODE_GET_FIRST_CHILD(param2_node, env);
+ param2_text_node = axiom_node_get_first_child(param2_node, env);
if (!param2_text_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -83,9 +83,9 @@
return NULL;
}
- if (AXIOM_NODE_GET_NODE_TYPE(param2_text_node, env) == AXIOM_TEXT)
+ if (axiom_node_get_node_type(param2_text_node, env) == AXIOM_TEXT)
{
- axiom_text_t *text = (axiom_text_t *)AXIOM_NODE_GET_DATA_ELEMENT(param2_text_node, env);
+ axiom_text_t *text = (axiom_text_t *)axiom_node_get_data_element(param2_text_node, env);
if (text && axiom_text_get_value(text , env))
{
param2_str = (axis2_char_t *)axiom_text_get_value(text, env);
@@ -148,7 +148,7 @@
return NULL;
}
- param1_node = AXIOM_NODE_GET_FIRST_CHILD(node, env);
+ param1_node = axiom_node_get_first_child(node, env);
if (!param1_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -156,7 +156,7 @@
return NULL;
}
- param1_text_node = AXIOM_NODE_GET_FIRST_CHILD(param1_node, env);
+ param1_text_node = axiom_node_get_first_child(param1_node, env);
if (!param1_text_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -164,9 +164,9 @@
return NULL;
}
- if (AXIOM_NODE_GET_NODE_TYPE(param1_text_node, env) == AXIOM_TEXT)
+ if (axiom_node_get_node_type(param1_text_node, env) == AXIOM_TEXT)
{
- axiom_text_t *text = (axiom_text_t *)AXIOM_NODE_GET_DATA_ELEMENT(param1_text_node, env);
+ axiom_text_t *text = (axiom_text_t *)axiom_node_get_data_element(param1_text_node, env);
if (text && axiom_text_get_value(text , env))
{
param1_str = (axis2_char_t *)axiom_text_get_value(text, env);
@@ -179,7 +179,7 @@
return NULL;
}
- param2_node = AXIOM_NODE_GET_NEXT_SIBLING(param1_node, env);
+ param2_node = axiom_node_get_next_sibling(param1_node, env);
if (!param2_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -187,7 +187,7 @@
return NULL;
}
- param2_text_node = AXIOM_NODE_GET_FIRST_CHILD(param2_node, env);
+ param2_text_node = axiom_node_get_first_child(param2_node, env);
if (!param2_text_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -195,9 +195,9 @@
return NULL;
}
- if (AXIOM_NODE_GET_NODE_TYPE(param2_text_node, env) == AXIOM_TEXT)
+ if (axiom_node_get_node_type(param2_text_node, env) == AXIOM_TEXT)
{
- axiom_text_t *text = (axiom_text_t *)AXIOM_NODE_GET_DATA_ELEMENT(param2_text_node, env);
+ axiom_text_t *text = (axiom_text_t *)axiom_node_get_data_element(param2_text_node, env);
if (text && axiom_text_get_value(text , env))
{
param2_str = (axis2_char_t *)axiom_text_get_value(text, env);
@@ -261,7 +261,7 @@
return NULL;
}
- param1_node = AXIOM_NODE_GET_FIRST_CHILD(node, env);
+ param1_node = axiom_node_get_first_child(node, env);
if (!param1_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -269,7 +269,7 @@
return NULL;
}
- param1_text_node = AXIOM_NODE_GET_FIRST_CHILD(param1_node, env);
+ param1_text_node = axiom_node_get_first_child(param1_node, env);
if (!param1_text_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -277,9 +277,9 @@
return NULL;
}
- if (AXIOM_NODE_GET_NODE_TYPE(param1_text_node, env) == AXIOM_TEXT)
+ if (axiom_node_get_node_type(param1_text_node, env) == AXIOM_TEXT)
{
- axiom_text_t *text = (axiom_text_t *)AXIOM_NODE_GET_DATA_ELEMENT(param1_text_node, env);
+ axiom_text_t *text = (axiom_text_t *)axiom_node_get_data_element(param1_text_node, env);
if (text && axiom_text_get_value(text , env))
{
param1_str = (axis2_char_t *)axiom_text_get_value(text, env);
@@ -292,7 +292,7 @@
return NULL;
}
- param2_node = AXIOM_NODE_GET_NEXT_SIBLING(param1_node, env);
+ param2_node = axiom_node_get_next_sibling(param1_node, env);
if (!param2_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -300,7 +300,7 @@
return NULL;
}
- param2_text_node = AXIOM_NODE_GET_FIRST_CHILD(param2_node, env);
+ param2_text_node = axiom_node_get_first_child(param2_node, env);
if (!param2_text_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -308,9 +308,9 @@
return NULL;
}
- if (AXIOM_NODE_GET_NODE_TYPE(param2_text_node, env) == AXIOM_TEXT)
+ if (axiom_node_get_node_type(param2_text_node, env) == AXIOM_TEXT)
{
- axiom_text_t *text = (axiom_text_t *)AXIOM_NODE_GET_DATA_ELEMENT(param2_text_node, env);
+ axiom_text_t *text = (axiom_text_t *)axiom_node_get_data_element(param2_text_node, env);
if (text && axiom_text_get_value(text , env))
{
param2_str = (axis2_char_t *)axiom_text_get_value(text, env);
@@ -374,7 +374,7 @@
return NULL;
}
- param1_node = AXIOM_NODE_GET_FIRST_CHILD(node, env);
+ param1_node = axiom_node_get_first_child(node, env);
if (!param1_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -382,7 +382,7 @@
return NULL;
}
- param1_text_node = AXIOM_NODE_GET_FIRST_CHILD(param1_node, env);
+ param1_text_node = axiom_node_get_first_child(param1_node, env);
if (!param1_text_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -390,9 +390,9 @@
return NULL;
}
- if (AXIOM_NODE_GET_NODE_TYPE(param1_text_node, env) == AXIOM_TEXT)
+ if (axiom_node_get_node_type(param1_text_node, env) == AXIOM_TEXT)
{
- axiom_text_t *text = (axiom_text_t *)AXIOM_NODE_GET_DATA_ELEMENT(param1_text_node, env);
+ axiom_text_t *text = (axiom_text_t *)axiom_node_get_data_element(param1_text_node, env);
if (text && axiom_text_get_value(text , env))
{
param1_str = (axis2_char_t *)axiom_text_get_value(text, env);
@@ -405,7 +405,7 @@
return NULL;
}
- param2_node = AXIOM_NODE_GET_NEXT_SIBLING(param1_node, env);
+ param2_node = axiom_node_get_next_sibling(param1_node, env);
if (!param2_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -413,7 +413,7 @@
return NULL;
}
- param2_text_node = AXIOM_NODE_GET_FIRST_CHILD(param2_node, env);
+ param2_text_node = axiom_node_get_first_child(param2_node, env);
if (!param2_text_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -421,9 +421,9 @@
return NULL;
}
- if (AXIOM_NODE_GET_NODE_TYPE(param2_text_node, env) == AXIOM_TEXT)
+ if (axiom_node_get_node_type(param2_text_node, env) == AXIOM_TEXT)
{
- axiom_text_t *text = (axiom_text_t *)AXIOM_NODE_GET_DATA_ELEMENT(param2_text_node, env);
+ axiom_text_t *text = (axiom_text_t *)axiom_node_get_data_element(param2_text_node, env);
if (text && axiom_text_get_value(text , env))
{
param2_str = (axis2_char_t *)axiom_text_get_value(text, env);
Modified: webservices/axis2/trunk/c/samples/server/math/math_skeleton.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/math/math_skeleton.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/server/math/math_skeleton.c (original)
+++ webservices/axis2/trunk/c/samples/server/math/math_skeleton.c Sun Apr 1 04:19:13 2007
@@ -98,10 +98,10 @@
*/
if (node)
{
- if (AXIOM_NODE_GET_NODE_TYPE(node, env) == AXIOM_ELEMENT)
+ if (axiom_node_get_node_type(node, env) == AXIOM_ELEMENT)
{
axiom_element_t *element = NULL;
- element = (axiom_element_t *)AXIOM_NODE_GET_DATA_ELEMENT(node, env);
+ element = (axiom_element_t *)axiom_node_get_data_element(node, env);
if (element)
{
axis2_char_t *op_name = axiom_element_get_localname(element, env);
Modified: webservices/axis2/trunk/c/samples/server/mtom/mtom.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/mtom/mtom.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/server/mtom/mtom.c (original)
+++ webservices/axis2/trunk/c/samples/server/mtom/mtom.c Sun Apr 1 04:19:13 2007
@@ -44,7 +44,7 @@
return NULL;
}
- file_name_node = AXIOM_NODE_GET_FIRST_CHILD(node, env);
+ file_name_node = axiom_node_get_first_child(node, env);
if (!file_name_node) /* 'text' node */
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -52,7 +52,7 @@
return NULL;
}
- file_text_node = AXIOM_NODE_GET_FIRST_CHILD(file_name_node, env);
+ file_text_node = axiom_node_get_first_child(file_name_node, env);
if (!file_text_node) /* actual text to mtom */
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -60,29 +60,29 @@
return NULL;
}
- if (AXIOM_NODE_GET_NODE_TYPE(file_text_node, env) == AXIOM_TEXT)
+ if (axiom_node_get_node_type(file_text_node, env) == AXIOM_TEXT)
{
- axiom_text_t *text = (axiom_text_t *)AXIOM_NODE_GET_DATA_ELEMENT(file_text_node, env);
+ axiom_text_t *text = (axiom_text_t *)axiom_node_get_data_element(file_text_node, env);
if (text && axiom_text_get_value(text , env))
{
axiom_node_t *image_node = NULL;
axis2_char_t *text_str = (axis2_char_t *)axiom_text_get_value(text, env);
printf("File Name %s \n", text_str);
- image_node = AXIOM_NODE_GET_NEXT_SIBLING(file_name_node, env);
+ image_node = axiom_node_get_next_sibling(file_name_node, env);
if (image_node)
{
axiom_node_t *inc_node = NULL;
- inc_node = AXIOM_NODE_GET_FIRST_CHILD(image_node, env);
+ inc_node = axiom_node_get_first_child(image_node, env);
if (inc_node)
{
axiom_node_t *binary_node = NULL;
- binary_node = AXIOM_NODE_GET_FIRST_CHILD(inc_node, env);
+ binary_node = axiom_node_get_first_child(inc_node, env);
if (binary_node)
{
axiom_data_handler_t *data_handler = NULL;
axiom_text_t *bin_text = (axiom_text_t *)
- AXIOM_NODE_GET_DATA_ELEMENT(binary_node, env);
+ axiom_node_get_data_element(binary_node, env);
data_handler = axiom_text_get_data_handler(bin_text, env);
if (data_handler)
{
@@ -94,7 +94,7 @@
else /* attachment has come by value, as non-optimized binary */
{
axiom_text_t *bin_text = (axiom_text_t *)
- AXIOM_NODE_GET_DATA_ELEMENT(inc_node, env);
+ axiom_node_get_data_element(inc_node, env);
int plain_binary_len = 0;
axis2_byte_t *plain_binary = NULL;
axiom_data_handler_t *data_handler = NULL;
Modified: webservices/axis2/trunk/c/samples/server/notify/notify.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/notify/notify.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/server/notify/notify.c (original)
+++ webservices/axis2/trunk/c/samples/server/notify/notify.c Sun Apr 1 04:19:13 2007
@@ -35,7 +35,7 @@
return;
}
- text_node = AXIOM_NODE_GET_FIRST_CHILD(node, env);
+ text_node = axiom_node_get_first_child(node, env);
if (!node) /* actual text to notify */
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -43,9 +43,9 @@
return;
}
- if (AXIOM_NODE_GET_NODE_TYPE(text_node, env) == AXIOM_TEXT)
+ if (axiom_node_get_node_type(text_node, env) == AXIOM_TEXT)
{
- axiom_text_t *text = (axiom_text_t *)AXIOM_NODE_GET_DATA_ELEMENT(text_node, env);
+ axiom_text_t *text = (axiom_text_t *)axiom_node_get_data_element(text_node, env);
if (text && axiom_text_get_value(text , env))
{
axis2_char_t *text_str = (axis2_char_t *)axiom_text_get_value(text, env);
Modified: webservices/axis2/trunk/c/samples/server/sg_math/add.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/sg_math/add.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/server/sg_math/add.c (original)
+++ webservices/axis2/trunk/c/samples/server/sg_math/add.c Sun Apr 1 04:19:13 2007
@@ -37,7 +37,7 @@
return NULL;
}
- param1_node = AXIOM_NODE_GET_FIRST_CHILD(node, env);
+ param1_node = axiom_node_get_first_child(node, env);
if (!param1_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -45,7 +45,7 @@
return NULL;
}
- param1_text_node = AXIOM_NODE_GET_FIRST_CHILD(param1_node, env);
+ param1_text_node = axiom_node_get_first_child(param1_node, env);
if (!param1_text_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -53,9 +53,9 @@
return NULL;
}
- if (AXIOM_NODE_GET_NODE_TYPE(param1_text_node, env) == AXIOM_TEXT)
+ if (axiom_node_get_node_type(param1_text_node, env) == AXIOM_TEXT)
{
- axiom_text_t *text = (axiom_text_t *)AXIOM_NODE_GET_DATA_ELEMENT(param1_text_node, env);
+ axiom_text_t *text = (axiom_text_t *)axiom_node_get_data_element(param1_text_node, env);
if (text && axiom_text_get_value(text , env))
{
param1_str = (axis2_char_t *)axiom_text_get_value(text, env);
@@ -68,7 +68,7 @@
return NULL;
}
- param2_node = AXIOM_NODE_GET_NEXT_SIBLING(param1_node, env);
+ param2_node = axiom_node_get_next_sibling(param1_node, env);
if (!param2_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -76,7 +76,7 @@
return NULL;
}
- param2_text_node = AXIOM_NODE_GET_FIRST_CHILD(param2_node, env);
+ param2_text_node = axiom_node_get_first_child(param2_node, env);
if (!param2_text_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -84,9 +84,9 @@
return NULL;
}
- if (AXIOM_NODE_GET_NODE_TYPE(param2_text_node, env) == AXIOM_TEXT)
+ if (axiom_node_get_node_type(param2_text_node, env) == AXIOM_TEXT)
{
- axiom_text_t *text = (axiom_text_t *)AXIOM_NODE_GET_DATA_ELEMENT(param2_text_node, env);
+ axiom_text_t *text = (axiom_text_t *)axiom_node_get_data_element(param2_text_node, env);
if (text && axiom_text_get_value(text , env))
{
param2_str = (axis2_char_t *)axiom_text_get_value(text, env);
Modified: webservices/axis2/trunk/c/samples/server/sg_math/add_skeleton.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/sg_math/add_skeleton.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/server/sg_math/add_skeleton.c (original)
+++ webservices/axis2/trunk/c/samples/server/sg_math/add_skeleton.c Sun Apr 1 04:19:13 2007
@@ -95,10 +95,10 @@
*/
if (node)
{
- if (AXIOM_NODE_GET_NODE_TYPE(node, env) == AXIOM_ELEMENT)
+ if (axiom_node_get_node_type(node, env) == AXIOM_ELEMENT)
{
axiom_element_t *element = NULL;
- element = (axiom_element_t *)AXIOM_NODE_GET_DATA_ELEMENT(node, env);
+ element = (axiom_element_t *)axiom_node_get_data_element(node, env);
if (element)
{
axis2_char_t *op_name = axiom_element_get_localname(element, env);
Modified: webservices/axis2/trunk/c/samples/server/sg_math/div.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/sg_math/div.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/server/sg_math/div.c (original)
+++ webservices/axis2/trunk/c/samples/server/sg_math/div.c Sun Apr 1 04:19:13 2007
@@ -36,7 +36,7 @@
return NULL;
}
- param1_node = AXIOM_NODE_GET_FIRST_CHILD(node, env);
+ param1_node = axiom_node_get_first_child(node, env);
if (!param1_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -44,7 +44,7 @@
return NULL;
}
- param1_text_node = AXIOM_NODE_GET_FIRST_CHILD(param1_node, env);
+ param1_text_node = axiom_node_get_first_child(param1_node, env);
if (!param1_text_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -52,9 +52,9 @@
return NULL;
}
- if (AXIOM_NODE_GET_NODE_TYPE(param1_text_node, env) == AXIOM_TEXT)
+ if (axiom_node_get_node_type(param1_text_node, env) == AXIOM_TEXT)
{
- axiom_text_t *text = (axiom_text_t *)AXIOM_NODE_GET_DATA_ELEMENT(param1_text_node, env);
+ axiom_text_t *text = (axiom_text_t *)axiom_node_get_data_element(param1_text_node, env);
if (text && axiom_text_get_value(text , env))
{
param1_str = (axis2_char_t *)axiom_text_get_value(text, env);
@@ -67,7 +67,7 @@
return NULL;
}
- param2_node = AXIOM_NODE_GET_NEXT_SIBLING(param1_node, env);
+ param2_node = axiom_node_get_next_sibling(param1_node, env);
if (!param2_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -75,7 +75,7 @@
return NULL;
}
- param2_text_node = AXIOM_NODE_GET_FIRST_CHILD(param2_node, env);
+ param2_text_node = axiom_node_get_first_child(param2_node, env);
if (!param2_text_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -83,9 +83,9 @@
return NULL;
}
- if (AXIOM_NODE_GET_NODE_TYPE(param2_text_node, env) == AXIOM_TEXT)
+ if (axiom_node_get_node_type(param2_text_node, env) == AXIOM_TEXT)
{
- axiom_text_t *text = (axiom_text_t *)AXIOM_NODE_GET_DATA_ELEMENT(param2_text_node, env);
+ axiom_text_t *text = (axiom_text_t *)axiom_node_get_data_element(param2_text_node, env);
if (text && axiom_text_get_value(text , env))
{
param2_str = (axis2_char_t *)axiom_text_get_value(text, env);
Modified: webservices/axis2/trunk/c/samples/server/sg_math/div_skeleton.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/sg_math/div_skeleton.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/server/sg_math/div_skeleton.c (original)
+++ webservices/axis2/trunk/c/samples/server/sg_math/div_skeleton.c Sun Apr 1 04:19:13 2007
@@ -95,10 +95,10 @@
*/
if (node)
{
- if (AXIOM_NODE_GET_NODE_TYPE(node, env) == AXIOM_ELEMENT)
+ if (axiom_node_get_node_type(node, env) == AXIOM_ELEMENT)
{
axiom_element_t *element = NULL;
- element = (axiom_element_t *)AXIOM_NODE_GET_DATA_ELEMENT(node, env);
+ element = (axiom_element_t *)axiom_node_get_data_element(node, env);
if (element)
{
axis2_char_t *op_name = axiom_element_get_localname(element, env);
Modified: webservices/axis2/trunk/c/samples/server/sg_math/mul.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/sg_math/mul.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/server/sg_math/mul.c (original)
+++ webservices/axis2/trunk/c/samples/server/sg_math/mul.c Sun Apr 1 04:19:13 2007
@@ -36,7 +36,7 @@
return NULL;
}
- param1_node = AXIOM_NODE_GET_FIRST_CHILD(node, env);
+ param1_node = axiom_node_get_first_child(node, env);
if (!param1_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -44,7 +44,7 @@
return NULL;
}
- param1_text_node = AXIOM_NODE_GET_FIRST_CHILD(param1_node, env);
+ param1_text_node = axiom_node_get_first_child(param1_node, env);
if (!param1_text_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -52,9 +52,9 @@
return NULL;
}
- if (AXIOM_NODE_GET_NODE_TYPE(param1_text_node, env) == AXIOM_TEXT)
+ if (axiom_node_get_node_type(param1_text_node, env) == AXIOM_TEXT)
{
- axiom_text_t *text = (axiom_text_t *)AXIOM_NODE_GET_DATA_ELEMENT(param1_text_node, env);
+ axiom_text_t *text = (axiom_text_t *)axiom_node_get_data_element(param1_text_node, env);
if (text && axiom_text_get_value(text , env))
{
param1_str = (axis2_char_t *)axiom_text_get_value(text, env);
@@ -67,7 +67,7 @@
return NULL;
}
- param2_node = AXIOM_NODE_GET_NEXT_SIBLING(param1_node, env);
+ param2_node = axiom_node_get_next_sibling(param1_node, env);
if (!param2_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -75,7 +75,7 @@
return NULL;
}
- param2_text_node = AXIOM_NODE_GET_FIRST_CHILD(param2_node, env);
+ param2_text_node = axiom_node_get_first_child(param2_node, env);
if (!param2_text_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -83,9 +83,9 @@
return NULL;
}
- if (AXIOM_NODE_GET_NODE_TYPE(param2_text_node, env) == AXIOM_TEXT)
+ if (axiom_node_get_node_type(param2_text_node, env) == AXIOM_TEXT)
{
- axiom_text_t *text = (axiom_text_t *)AXIOM_NODE_GET_DATA_ELEMENT(param2_text_node, env);
+ axiom_text_t *text = (axiom_text_t *)axiom_node_get_data_element(param2_text_node, env);
if (text && axiom_text_get_value(text , env))
{
param2_str = (axis2_char_t *)axiom_text_get_value(text, env);
Modified: webservices/axis2/trunk/c/samples/server/sg_math/mul_skeleton.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/sg_math/mul_skeleton.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/server/sg_math/mul_skeleton.c (original)
+++ webservices/axis2/trunk/c/samples/server/sg_math/mul_skeleton.c Sun Apr 1 04:19:13 2007
@@ -95,10 +95,10 @@
*/
if (node)
{
- if (AXIOM_NODE_GET_NODE_TYPE(node, env) == AXIOM_ELEMENT)
+ if (axiom_node_get_node_type(node, env) == AXIOM_ELEMENT)
{
axiom_element_t *element = NULL;
- element = (axiom_element_t *)AXIOM_NODE_GET_DATA_ELEMENT(node, env);
+ element = (axiom_element_t *)axiom_node_get_data_element(node, env);
if (element)
{
axis2_char_t *op_name = axiom_element_get_localname(element, env);
Modified: webservices/axis2/trunk/c/samples/server/sg_math/sub.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/sg_math/sub.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/server/sg_math/sub.c (original)
+++ webservices/axis2/trunk/c/samples/server/sg_math/sub.c Sun Apr 1 04:19:13 2007
@@ -36,7 +36,7 @@
return NULL;
}
- param1_node = AXIOM_NODE_GET_FIRST_CHILD(node, env);
+ param1_node = axiom_node_get_first_child(node, env);
if (!param1_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -44,7 +44,7 @@
return NULL;
}
- param1_text_node = AXIOM_NODE_GET_FIRST_CHILD(param1_node, env);
+ param1_text_node = axiom_node_get_first_child(param1_node, env);
if (!param1_text_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -52,9 +52,9 @@
return NULL;
}
- if (AXIOM_NODE_GET_NODE_TYPE(param1_text_node, env) == AXIOM_TEXT)
+ if (axiom_node_get_node_type(param1_text_node, env) == AXIOM_TEXT)
{
- axiom_text_t *text = (axiom_text_t *)AXIOM_NODE_GET_DATA_ELEMENT(param1_text_node, env);
+ axiom_text_t *text = (axiom_text_t *)axiom_node_get_data_element(param1_text_node, env);
if (text && axiom_text_get_value(text , env))
{
param1_str = (axis2_char_t *)axiom_text_get_value(text, env);
@@ -67,7 +67,7 @@
return NULL;
}
- param2_node = AXIOM_NODE_GET_NEXT_SIBLING(param1_node, env);
+ param2_node = axiom_node_get_next_sibling(param1_node, env);
if (!param2_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -75,7 +75,7 @@
return NULL;
}
- param2_text_node = AXIOM_NODE_GET_FIRST_CHILD(param2_node, env);
+ param2_text_node = axiom_node_get_first_child(param2_node, env);
if (!param2_text_node)
{
AXIS2_ERROR_SET(env->error, AXIS2_ERROR_SVC_SKEL_INVALID_XML_FORMAT_IN_REQUEST, AXIS2_FAILURE);
@@ -83,9 +83,9 @@
return NULL;
}
- if (AXIOM_NODE_GET_NODE_TYPE(param2_text_node, env) == AXIOM_TEXT)
+ if (axiom_node_get_node_type(param2_text_node, env) == AXIOM_TEXT)
{
- axiom_text_t *text = (axiom_text_t *)AXIOM_NODE_GET_DATA_ELEMENT(param2_text_node, env);
+ axiom_text_t *text = (axiom_text_t *)axiom_node_get_data_element(param2_text_node, env);
if (text && axiom_text_get_value(text , env))
{
param2_str = (axis2_char_t *)axiom_text_get_value(text, env);
Modified: webservices/axis2/trunk/c/samples/server/sg_math/sub_skeleton.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/sg_math/sub_skeleton.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/server/sg_math/sub_skeleton.c (original)
+++ webservices/axis2/trunk/c/samples/server/sg_math/sub_skeleton.c Sun Apr 1 04:19:13 2007
@@ -94,10 +94,10 @@
*/
if (node)
{
- if (AXIOM_NODE_GET_NODE_TYPE(node, env) == AXIOM_ELEMENT)
+ if (axiom_node_get_node_type(node, env) == AXIOM_ELEMENT)
{
axiom_element_t *element = NULL;
- element = (axiom_element_t *)AXIOM_NODE_GET_DATA_ELEMENT(node, env);
+ element = (axiom_element_t *)axiom_node_get_data_element(node, env);
if (element)
{
axis2_char_t *op_name = axiom_element_get_localname(element, env);
Modified: webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking.c (original)
+++ webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking.c Sun Apr 1 04:19:13 2007
@@ -87,7 +87,7 @@
if (ret_node)
{
axis2_char_t *om_str = NULL;
- om_str = AXIOM_NODE_TO_STRING(ret_node, env);
+ om_str = axiom_node_to_string(ret_node, env);
if (om_str)
{
printf("\nReceived OM : %s\n", om_str);
Modified: webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_addr.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_addr.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_addr.c (original)
+++ webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_addr.c Sun Apr 1 04:19:13 2007
@@ -92,7 +92,7 @@
if (ret_node)
{
axis2_char_t *om_str = NULL;
- om_str = AXIOM_NODE_TO_STRING(ret_node, env);
+ om_str = axiom_node_to_string(ret_node, env);
if (om_str)
{
printf("\nReceived OM : %s\n", om_str);
Modified: webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_dual.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_dual.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_dual.c (original)
+++ webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_dual.c Sun Apr 1 04:19:13 2007
@@ -97,7 +97,7 @@
if (ret_node)
{
axis2_char_t *om_str = NULL;
- om_str = AXIOM_NODE_TO_STRING(ret_node, env);
+ om_str = axiom_node_to_string(ret_node, env);
if (om_str)
{
printf("\nReceived OM : %s\n", om_str);
Modified: webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_soap11.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_soap11.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_soap11.c (original)
+++ webservices/axis2/trunk/c/samples/user_guide/clients/echo_blocking_soap11.c Sun Apr 1 04:19:13 2007
@@ -92,7 +92,7 @@
if (ret_node)
{
axis2_char_t *om_str = NULL;
- om_str = AXIOM_NODE_TO_STRING(ret_node, env);
+ om_str = axiom_node_to_string(ret_node, env);
if (om_str)
{
printf("\nReceived OM : %s\n", om_str);
Modified: webservices/axis2/trunk/c/samples/user_guide/clients/echo_non_blocking.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/user_guide/clients/echo_non_blocking.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/user_guide/clients/echo_non_blocking.c (original)
+++ webservices/axis2/trunk/c/samples/user_guide/clients/echo_non_blocking.c Sun Apr 1 04:19:13 2007
@@ -182,7 +182,7 @@
else
{
axis2_char_t *om_str = NULL;
- om_str = AXIOM_NODE_TO_STRING(ret_node, env);
+ om_str = axiom_node_to_string(ret_node, env);
if (om_str)
{
printf("\nReceived OM : %s\n", om_str);
Modified: webservices/axis2/trunk/c/samples/user_guide/clients/echo_non_blocking_dual.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/user_guide/clients/echo_non_blocking_dual.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/user_guide/clients/echo_non_blocking_dual.c (original)
+++ webservices/axis2/trunk/c/samples/user_guide/clients/echo_non_blocking_dual.c Sun Apr 1 04:19:13 2007
@@ -196,7 +196,7 @@
else
{
axis2_char_t *om_str = NULL;
- om_str = AXIOM_NODE_TO_STRING(ret_node, env);
+ om_str = axiom_node_to_string(ret_node, env);
if (om_str)
printf("\nReceived OM : %s\n", om_str);
printf("\necho client invoke SUCCESSFUL!\n");
Modified: webservices/axis2/trunk/c/samples/user_guide/clients/echo_rest.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/user_guide/clients/echo_rest.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/user_guide/clients/echo_rest.c (original)
+++ webservices/axis2/trunk/c/samples/user_guide/clients/echo_rest.c Sun Apr 1 04:19:13 2007
@@ -125,7 +125,7 @@
if (ret_node)
{
axis2_char_t *om_str = NULL;
- om_str = AXIOM_NODE_TO_STRING(ret_node, env);
+ om_str = axiom_node_to_string(ret_node, env);
if (om_str)
{
printf("\nReceived OM : %s\n", om_str);
Modified: webservices/axis2/trunk/c/samples/user_guide/clients/echo_util.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/user_guide/clients/echo_util.c?view=diff&rev=524582&r1=524581&r2=524582
==============================================================================
--- webservices/axis2/trunk/c/samples/user_guide/clients/echo_util.c (original)
+++ webservices/axis2/trunk/c/samples/user_guide/clients/echo_util.c Sun Apr 1 04:19:13 2007
@@ -33,7 +33,7 @@
text_om_ele = axiom_element_create(env, echo_om_node, "text", NULL, &text_om_node);
axiom_element_set_text(text_om_ele, env, "Hello World!", text_om_node);
- om_str = AXIOM_NODE_TO_STRING(echo_om_node, env);
+ om_str = axiom_node_to_string(echo_om_node, env);
if (om_str)
printf("\nSending OM : %s\n", om_str);
AXIS2_FREE(env->allocator, om_str);
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org