Incorrect "returnItemQName" in deploy.wsdd when the array of elements and the response in different namespace -------------------------------------------------------------------------------------------------------------
Key: AXIS-2499 URL: http://issues.apache.org/jira/browse/AXIS-2499 Project: Apache Axis Type: Bug Components: WSDL processing Versions: 1.3 Environment: Java 1.4 and 1.5 in Windows XP, Solaris and Lunix Reporter: Yu-Bing Chen Priority: Critical The problem is in the method of: org.apache.axis.wsdl.toJava.Utils.getItemQName(TypeEntry) It should returned the component-type of the returned item if it is an array type. /* here is the new code (modified from Axis 1.3) that will solve this issue */ public static QName getItemQName(TypeEntry te) { if (te instanceof DefinedElement) { te = te.getRefType(); } String dim = te.getDimensions(); // get the component type for array type if (dim != null && dim.equals("[]")) return te.getComponentType(); else return te.getItemQName(); } /* here is the old Axis 1.3 code that have this issue */ public static QName getItemQName(TypeEntry te) { if (te instanceof DefinedElement) { te = te.getRefType(); } return te.getItemQName(); -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]