ws-axis-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r391527 - /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/BeanParamWriter.java
Date Wed, 05 Apr 2006 05:43:11 GMT
Author: nadiramra
Date: Tue Apr  4 22:43:09 2006
New Revision: 391527

URL: http://svn.apache.org/viewcvs?rev=391527&view=rev
Log:
C support fixes/enhancements.

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

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/BeanParamWriter.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/BeanParamWriter.java?rev=391527&r1=391526&r2=391527&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/BeanParamWriter.java
(original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/c/literal/BeanParamWriter.java
Tue Apr  4 22:43:09 2006
@@ -747,67 +747,4 @@
             throw new WrapperFault(e);
         }
     }
-
-    private boolean isNillable()
-    {
-        Iterator itForTypes = wscontext.getTypemap().getTypes().iterator();
-        boolean nillable = false;
-
-        while (itForTypes.hasNext() && !nillable)
-        {
-            Type aType = (Type) itForTypes.next();
-
-            if (aType.getLanguageSpecificName().indexOf(">") > -1)
-            {
-                Iterator itForElemName = aType.getElementnames();
-
-                while (itForElemName.hasNext() && !nillable)
-                {
-                    String key = (String) itForElemName.next();
-
-                    if (aType.getElementForElementName(key).getNillable())
-                        nillable = true;
-                }
-            }
-        }
-
-        return nillable;
-    }
-
-    private boolean isMoreThanOne()
-    {
-        Iterator itForTypes = wscontext.getTypemap().getTypes().iterator();
-        boolean moreThanOne = false;
-
-        while (itForTypes.hasNext() && !moreThanOne)
-        {
-            Type aType = (Type) itForTypes.next();
-
-            if (aType.getLanguageSpecificName().indexOf(">") > -1)
-            {
-                Iterator itForElemName = aType.getElementnames();
-
-                while (itForElemName.hasNext() && !moreThanOne)
-                {
-                    String key = (String) itForElemName.next();
-
-                    if (aType.getElementForElementName(key).getNillable())
-                    {
-                        Iterator itForElementType = aType.getElementForElementName(key).getType().getElementnames();
-
-                        while (itForElementType.hasNext())
-                        {
-                            String name = (String) itForElementType.next();
-
-                            if ("count".equals(name))
-                                moreThanOne = true;
-                        }
-                    }
-                }
-            }
-        }
-
-        return moreThanOne;
-    }
-    
 }



Mime
View raw message