axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dushshan...@apache.org
Subject svn commit: r330517 - /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/BeanParamWriter.java
Date Thu, 03 Nov 2005 09:45:32 GMT
Author: dushshantha
Date: Thu Nov  3 01:45:26 2005
New Revision: 330517

URL: http://svn.apache.org/viewcvs?rev=330517&view=rev
Log:
I removed this part from the code to remove the bug in namespace declaration in serialization.

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=330517&r1=330516&r2=330517&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
Thu Nov  3 01:45:26 2005
@@ -385,14 +385,6 @@
         	writer.write("Axis_URI_" + classname + ", \" " + " \\\"\"");
         	writer.write(", NULL);\n\t}\n");
         }               
-        else{
-        	
-        	writer.write("\tbool blnIsNewPrefix = false;\n");
-        	writer.write("\tconst AxisChar* sPrefix = pSZ->getNamespacePrefix(Axis_URI_"
-					+ classname + ", blnIsNewPrefix);\n");
-        	writer.write("\tif(blnIsNewPrefix)\n");
-        	writer.write("\t\tpSZ->serialize( \" xmlns:\", sPrefix , \"=\\\"\" , \" "+ type.getName().getNamespaceURI()
+ "\\\"\",0);\n");
-        }
         
         writer.write("\tpSZ->serialize( \">\", 0);\n");
         if (extensionBaseAttrib != null



Mime
View raw message