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 du...@apache.org on 2007/12/11 06:26:59 UTC
svn commit: r603145 - in /webservices/axis2/trunk/c:
axiom/src/om/om_element.c src/core/transport/http/sender/http_sender.c
Author: dushshantha
Date: Mon Dec 10 21:26:36 2007
New Revision: 603145
URL: http://svn.apache.org/viewvc?rev=603145&view=rev
Log:
fixed windows build break and applied the patch for http://issues.apache.org/jira/browse/AXIS2C-811
Modified:
webservices/axis2/trunk/c/axiom/src/om/om_element.c
webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c
Modified: webservices/axis2/trunk/c/axiom/src/om/om_element.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/om/om_element.c?rev=603145&r1=603144&r2=603145&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/om/om_element.c (original)
+++ webservices/axis2/trunk/c/axiom/src/om/om_element.c Mon Dec 10 21:26:36 2007
@@ -1237,33 +1237,7 @@
const axutil_env_t * env,
axiom_node_t * element_node)
{
- int status = AXIS2_SUCCESS;
- axiom_output_t *om_output = NULL;
- axiom_xml_writer_t *xml_writer = NULL;
- axis2_char_t *xml = NULL;
- AXIS2_ENV_CHECK(env, NULL);
- AXIS2_PARAM_CHECK(env->error, element_node, NULL);
-
- xml_writer = axiom_xml_writer_create_for_memory(env, NULL, AXIS2_TRUE, 0,
- AXIS2_XML_PARSER_TYPE_BUFFER);
- if (!xml_writer)
- {
- return NULL;
- }
-
- om_output = axiom_output_create(env, xml_writer);
- if (!om_output)
- {
- return NULL;
- }
-
- status = axiom_node_serialize(element_node, env, om_output);
- if (status == AXIS2_SUCCESS)
- {
- xml = (axis2_char_t *) axiom_xml_writer_get_xml(xml_writer, env);
- }
- axiom_output_free(om_output, env);
- return xml;
+ return axiom_node_to_string(element_node, env);
}
AXIS2_EXTERN axiom_child_element_iterator_t *AXIS2_CALL
Modified: webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c?rev=603145&r1=603144&r2=603145&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c Mon Dec 10 21:26:36 2007
@@ -202,6 +202,7 @@
axis2_bool_t is_soap = AXIS2_TRUE;
axutil_property_t *http_property = NULL;
axutil_array_list_t *array_list;
+ axis2_bool_t http_auth_header_added = AXIS2_FALSE;
soap_body = axiom_soap_envelope_get_body (out, env);
AXIS2_ENV_CHECK (env, AXIS2_FAILURE);
@@ -623,7 +624,7 @@
force_http_auth = AXIS2_TRUE;
}
- axis2_bool_t http_auth_header_added = AXIS2_FALSE;
+
if (force_proxy_auth)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org