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 su...@apache.org on 2008/06/24 08:27:54 UTC
svn commit: r671038 -
/webservices/axis2/trunk/c/axiom/src/soap/soap_header_block.c
Author: supun
Date: Mon Jun 23 23:27:54 2008
New Revision: 671038
URL: http://svn.apache.org/viewvc?rev=671038&view=rev
Log:
Fixed Axi2C-1048.
Modified:
webservices/axis2/trunk/c/axiom/src/soap/soap_header_block.c
Modified: webservices/axis2/trunk/c/axiom/src/soap/soap_header_block.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/axiom/src/soap/soap_header_block.c?rev=671038&r1=671037&r2=671038&view=diff
==============================================================================
--- webservices/axis2/trunk/c/axiom/src/soap/soap_header_block.c (original)
+++ webservices/axis2/trunk/c/axiom/src/soap/soap_header_block.c Mon Jun 23 23:27:54 2008
@@ -353,9 +353,18 @@
}
if (soap_envelope_namespace_uri)
{
- om_ns = axiom_namespace_create(env,
+ if (prefix)
+ {
+ om_ns = axiom_namespace_create(env,
+ soap_envelope_namespace_uri,
+ prefix);
+ }
+ else
+ {
+ om_ns = axiom_namespace_create(env,
soap_envelope_namespace_uri,
AXIOM_SOAP_DEFAULT_NAMESPACE_PREFIX);
+ }
}
om_attr = axiom_attribute_create(env, attr_name, attr_value, om_ns);
if (!om_attr && om_ns)