axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r662578 - /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java
Date Mon, 02 Jun 2008 21:30:40 GMT
Author: nadiramra
Date: Mon Jun  2 14:30:40 2008
New Revision: 662578

URL: http://svn.apache.org/viewvc?rev=662578&view=rev
Log:
simplify generated code in preparation for fixes

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

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java
URL: http://svn.apache.org/viewvc/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java?rev=662578&r1=662577&r2=662578&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java (original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/WSDL2Ws.java Mon Jun  2
14:30:40 2008
@@ -362,9 +362,9 @@
         // TODO - need to look into this more.
         // For wrapped style, inner attributes and elements are added as parameters.
         // For unwrapped style, objects are used for the parameters (i.e. classes or structures).
-        Iterator names = type.getElementnames();
-        if (names.hasNext() && wsdlWrappingStyle)
+        if (wsdlWrappingStyle)
         {
+            Iterator names = type.getElementnames();
             while (names.hasNext())
             {
                 String elementname  = (String) names.next();



Mime
View raw message