axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nadira...@apache.org
Subject svn commit: r1351929 - /axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/WSDLInfo.java
Date Wed, 20 Jun 2012 04:00:14 GMT
Author: nadiramra
Date: Wed Jun 20 04:00:14 2012
New Revision: 1351929

URL: http://svn.apache.org/viewvc?rev=1351929&view=rev
Log:
Minor, revert "fix" for the need to obtain reference type for arrays...needs more investigation

Modified:
    axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/WSDLInfo.java

Modified: axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/WSDLInfo.java
URL: http://svn.apache.org/viewvc/axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/WSDLInfo.java?rev=1351929&r1=1351928&r2=1351929&view=diff
==============================================================================
--- axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/WSDLInfo.java (original)
+++ axis/axis1/c/trunk/src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/WSDLInfo.java Wed Jun 20
04:00:14 2012
@@ -628,12 +628,16 @@ public class WSDLInfo
             // An array...
             
             // Get referenced type
-            TypeEntry typeEntryOfRefType = getActualRefType(type);
-            if (null == typeEntryOfRefType || typeEntryOfRefType.getQName() == null)
+            if (null == type.getRefType() || null == type.getRefType().getQName())
                 throw new WrapperFault("Array type found without a Ref type: " + type.getQName());
             
+            
+            // TODO not sure what we should do if array references an element following commented
code is not correct 
+	        //  if (type.getRefType().getRefType() != null) 	 
+	        //     qn = type.getRefType().getRefType().getQName();
+            QName qn = type.getRefType().getQName();
+            
             // If referenced type is primitive, we are done...
-            QName qn = typeEntryOfRefType.getQName();
             if (CUtils.isPrimitiveType(qn))
                 return null;
             



Mime
View raw message