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 na...@apache.org on 2006/09/09 11:16:25 UTC
svn commit: r441767 - in /webservices/axis2/trunk/c:
axiom/include/axiom_text.h axiom/src/attachments/mime_output.c
axiom/src/soap/soap_builder.c samples/client/mtom/mtom_client.c
samples/server/mtom/mtom.c
Author: nandika
Date: Sat Sep 9 02:16:24 2006
New Revision: 441767
URL: http://svn.apache.org/viewvc?view=rev&rev=441767
Log:
function name changed
Modified:
webservices/axis2/trunk/c/axiom/include/axiom_text.h
webservices/axis2/trunk/c/axiom/src/attachments/mime_output.c
webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c
webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c
webservices/axis2/trunk/c/samples/server/mtom/mtom.c
Modified: webservices/axis2/trunk/c/axiom/include/axiom_text.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/include/axiom_text.h?view=diff&rev=441767&r1=441766&r2=441767
==============================================================================
--- webservices/axis2/trunk/c/axiom/include/axiom_text.h (original)
+++ webservices/axis2/trunk/c/axiom/include/axiom_text.h Sat Sep 9 02:16:24 2006
@@ -192,10 +192,10 @@
#define AXIOM_TEXT_SET_IS_BINARY(om_text, env, is_binary) \
((om_text)->ops->set_is_binary(om_text, env, is_binary))
-#define AXIOM_TEXT_SET_GET_DATA_HANDLER(om_text, env) \
+#define AXIOM_TEXT_GET_DATA_HANDLER(om_text, env) \
((om_text)->ops->get_data_handler(om_text, env))
-#define AXIOM_TEXT_SET_GET_CONTENT_ID(om_text, env) \
+#define AXIOM_TEXT_GET_CONTENT_ID(om_text, env) \
((om_text)->ops->get_content_id(om_text, env))
/** @} */
Modified: webservices/axis2/trunk/c/axiom/src/attachments/mime_output.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/attachments/mime_output.c?view=diff&rev=441767&r1=441766&r2=441767
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/attachments/mime_output.c (original)
+++ webservices/axis2/trunk/c/axiom/src/attachments/mime_output.c Sat Sep 9 02:16:24 2006
@@ -387,7 +387,7 @@
axis2_char_t *content_id = (axis2_char_t *)"<";
if (!mime_body_part)
return NULL;
- data_handler = AXIOM_TEXT_SET_GET_DATA_HANDLER(text, env);
+ data_handler = AXIOM_TEXT_GET_DATA_HANDLER(text, env);
if (data_handler)
{
@@ -397,7 +397,7 @@
AXIOM_MIME_BODY_PART_SET_DATA_HANDLER(mime_body_part, env,
data_handler);
content_id = AXIS2_STRACAT(content_id,
- AXIOM_TEXT_SET_GET_CONTENT_ID(text, env), env);
+ AXIOM_TEXT_GET_CONTENT_ID(text, env), env);
content_id = AXIS2_STRACAT(content_id, ">", env);
AXIOM_MIME_BODY_PART_ADD_HEADER(mime_body_part, env, "content-id", content_id);
AXIOM_MIME_BODY_PART_ADD_HEADER(mime_body_part, env, "content-type", content_type);
Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c?view=diff&rev=441767&r1=441766&r2=441767
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_builder.c Sat Sep 9 02:16:24 2006
@@ -523,6 +523,7 @@
axiom_node_t *data_om_node = NULL;
data_text = axiom_text_create_with_data_handler(
env, om_element_node, data_handler, &data_om_node);
+ AXIOM_TEXT_SET_OPTIMIZE(data_text, env, AXIS2_FALSE);
}
}
}
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?view=diff&rev=441767&r1=441766&r2=441767
==============================================================================
--- webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c (original)
+++ webservices/axis2/trunk/c/samples/client/mtom/mtom_client.c Sat Sep 9 02:16:24 2006
@@ -155,6 +155,6 @@
data_handler = axiom_data_handler_create(env, image_name, "image/jpeg");
data_text = axiom_text_create_with_data_handler(env, image_om_node, data_handler, &data_om_node);
-
+ printf("%s", AXIOM_NODE_TO_STRING(mtom_om_node, env));
return mtom_om_node;
}
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=441767&r1=441766&r2=441767
==============================================================================
--- webservices/axis2/trunk/c/samples/server/mtom/mtom.c (original)
+++ webservices/axis2/trunk/c/samples/server/mtom/mtom.c Sat Sep 9 02:16:24 2006
@@ -82,7 +82,7 @@
axiom_data_handler_t *data_handler = NULL;
axiom_text_t *bin_text = (axiom_text_t *)
AXIOM_NODE_GET_DATA_ELEMENT(binary_node, env);
- data_handler = AXIOM_TEXT_SET_GET_DATA_HANDLER(bin_text, env);
+ data_handler = AXIOM_TEXT_GET_DATA_HANDLER(bin_text, env);
if (data_handler)
{
AXIOM_DATA_HANDLER_SET_FILE_NAME(data_handler, env, text_str);
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org