axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r1001125 - in /axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c: BeanParamWriter.java ParmHeaderFileWriter.java
Date Sat, 25 Sep 2010 02:18:34 GMT
Author: nadiramra
Date: Sat Sep 25 02:18:33 2010
New Revision: 1001125

URL: http://svn.apache.org/viewvc?rev=1001125&view=rev
Log:
minor updates

Modified:
    axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/BeanParamWriter.java
    axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/ParmHeaderFileWriter.java

Modified: axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/BeanParamWriter.java
URL: http://svn.apache.org/viewvc/axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/BeanParamWriter.java?rev=1001125&r1=1001124&r2=1001125&view=diff
==============================================================================
--- axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/BeanParamWriter.java (original)
+++ axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/BeanParamWriter.java Sat Sep
25 02:18:33 2010
@@ -803,7 +803,7 @@ public class BeanParamWriter extends Par
         c_writer.write("\t}\n");
         c_writer.write("\telse\n"); 
         c_writer.write("\t{\n");        
-        if (attribs.length == 0)
+        if (attribs.length == 0 && extensionBaseAttrib == null)
             c_writer.write("\t\t" + c_classname + "* pTemp = (" + c_classname + " *)NULL;\n");
         else
         {

Modified: axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/ParmHeaderFileWriter.java
URL: http://svn.apache.org/viewvc/axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/ParmHeaderFileWriter.java?rev=1001125&r1=1001124&r2=1001125&view=diff
==============================================================================
--- axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/ParmHeaderFileWriter.java (original)
+++ axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/ParmHeaderFileWriter.java Sat
Sep 25 02:18:33 2010
@@ -73,7 +73,7 @@ public class ParmHeaderFileWriter extend
                 c_writer.write("\n");                
                 
                 // If no attributes or elements just do forward reference.
-                if (attribs.length == 0)
+                if (attribs.length == 0 && extensionBaseAttrib == null)
                 {
                     c_writer.write("/* Forward reference - type with no elements or arributes
*/\n");
                     c_writer.write("typedef struct " + c_classname + "Tag " + c_classname
+ ";\n\n");



Mime
View raw message