axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r502524 - /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/BeanParamWriter.java
Date Fri, 02 Feb 2007 07:05:49 GMT
Author: nadiramra
Date: Thu Feb  1 23:05:48 2007
New Revision: 502524

URL: http://svn.apache.org/viewvc?view=rev&rev=502524
Log:
AXISCPP-623 - support for "ALL".  We should not be null'ing other fields if a field is set.

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

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/BeanParamWriter.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/BeanParamWriter.java?view=diff&rev=502524&r1=502523&r2=502524
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/BeanParamWriter.java
(original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/BeanParamWriter.java
Thu Feb  1 23:05:48 2007
@@ -197,16 +197,6 @@
                                     realName += "_Ref";
                                 writer.write("\t" + realName + " = NULL; \n");
                             }
-                    
-                    if (attribs[i].getAllElement())
-                        for (int j = 0; j < attribs.length; j++)
-                            if ((attribs[j].getAllElement()) && (j != i))
-                            {
-                                String realName = attribs[j].getParamNameWithoutSymbols();
-                                if (CUtils.classExists(wscontext, realName))
-                                    realName += "_Ref";
-                                writer.write("\t" + realName + " = NULL ; \n");
-                            }
 
                     writer.write("}\n");
                 } 



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message