axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From su...@apache.org
Subject svn commit: r671038 - /webservices/axis2/trunk/c/axiom/src/soap/soap_header_block.c
Date Tue, 24 Jun 2008 06:27:54 GMT
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)



Mime
View raw message