Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 93229 invoked by uid 500); 29 Oct 2002 22:07:32 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 93220 invoked by uid 500); 29 Oct 2002 22:07:32 -0000 Delivered-To: apmail-xml-axis-cvs@apache.org Date: 29 Oct 2002 22:07:28 -0000 Message-ID: <20021029220728.84757.qmail@icarus.apache.org> From: dims@apache.org To: xml-axis-cvs@apache.org Subject: cvs commit: xml-axis/java/src/org/apache/axis/wsdl/symbolTable SymbolTable.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N dims 2002/10/29 14:07:28 Modified: java/src/org/apache/axis/wsdl/symbolTable SymbolTable.java Log: Fix problem reported by "Peake, Chris" http://marc.theaimsgroup.com/?l=axis-dev&m=103584380417649&w=2 Note: We should call setQName ONLY for CollectionElement and not for CollectionType. Revision Changes Path 1.50 +2 -2 xml-axis/java/src/org/apache/axis/wsdl/symbolTable/SymbolTable.java Index: SymbolTable.java =================================================================== RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/wsdl/symbolTable/SymbolTable.java,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- SymbolTable.java 15 Oct 2002 17:13:57 -0000 1.49 +++ SymbolTable.java 29 Oct 2002 22:07:27 -0000 1.50 @@ -1195,7 +1195,7 @@ // If this is a collection we want the XML to reflect the type in // the collection, not foo[unbounded]. // Same check is made in addOutParam below. - if (p.getType() instanceof CollectionTE) { + if (p.getType() instanceof CollectionElement) { p.setQName(p.getType().getRefType().getQName()); } @@ -1258,7 +1258,7 @@ // If this is a collection we want the XML to reflect the type in // the collection, not foo[unbounded]. // Same check is made in addInishParam above. - if (p.getType() instanceof CollectionTE) { + if (p.getType() instanceof CollectionElement) { p.setQName(p.getType().getRefType().getQName()); }