axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dushshan...@apache.org
Subject svn commit: r348135 - /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/BeanParamWriter.java
Date Tue, 22 Nov 2005 09:35:18 GMT
Author: dushshantha
Date: Tue Nov 22 01:35:11 2005
New Revision: 348135

URL: http://svn.apache.org/viewcvs?rev=348135&view=rev
Log:
a fix for AXISCPP-843. 

Modified:
    webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/BeanParamWriter.java

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/BeanParamWriter.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/BeanParamWriter.java?rev=348135&r1=348134&r2=348135&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/BeanParamWriter.java
(original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/BeanParamWriter.java
Tue Nov 22 01:35:11 2005
@@ -345,6 +345,16 @@
         writer.write("\t\treturn AXIS_SUCCESS;\n");
         writer.write("\t}\n\n");
 
+        writer.write("\t\tif (!bArray)\n\t\t{\n");
+        writer.write("\t\t\tbool blnIsNewPrefix = false;\n");
+        writer.write("\t\t\tconst AxisChar* sPrefix = pSZ->getNamespacePrefix(Axis_URI_"
+ classname + ", blnIsNewPrefix);\n");
+        writer.write("\t\t\t//if (blnIsNewPrefix)\n\t\t\t//{\n");
+        writer.write("\t\t\t\tpSZ->serialize(\" xmlns:\", sPrefix, \"=\\\"\",\n");
+        writer.write("\t\t\t\t\tAxis_URI_" + classname + ", \"\\\"\", NULL );\n");
+        writer.write("\t\t\t//}\n");
+        writer.write("\t\t}\n");
+        
+        
         writer.write("\t/* first serialize attributes if any*/\n");
         for (int i = 0; i < attributeParamCount; i++)
         {



Mime
View raw message