Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 90197 invoked from network); 4 Dec 2003 10:54:37 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 4 Dec 2003 10:54:37 -0000 Received: (qmail 651 invoked by uid 500); 4 Dec 2003 10:53:55 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 547 invoked by uid 500); 4 Dec 2003 10:53:55 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 526 invoked from network); 4 Dec 2003 10:53:55 -0000 Date: 4 Dec 2003 10:54:18 -0000 Message-ID: <20031204105418.21092.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: axis-dev@ws.apache.org Cc: Subject: DO NOT REPLY [Bug 25195] New: - Same Element in different "xs:sequence" not allowed in "xs:choice" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25195 Same Element in different "xs:sequence" not allowed in "xs:choice" Summary: Same Element in different "xs:sequence" not allowed in "xs:choice" Product: Axis Version: 1.1 Platform: All OS/Version: All Status: NEW Severity: Blocker Priority: Other Component: WSDL processing AssignedTo: axis-dev@ws.apache.org ReportedBy: zpatel@baan.com See the following WSDL snippet(For full WSDL see the attachments) *************** ............ *****end********** If you see - the tag "PreviousValues" is repeated thrice in the "xs:choice" , but all 3 occurances are in different sequences.So its a valid xsd. I generate the type safe proxies of the wsdl using "java org.apache.axis.wsdl.WSDL2Java". The proxies are generated without error. When I try to compile the java files - i get the following error "Redeclaration of member "PreviousValues" . This error comes due to the fact that the "PreviousValues" is declared thrice in the "SyncAllResponseUnitsZenosh" , "SyncChangesResponseUnitsZenosh" , "SyncOneRe sponseUnitsZenosh" classes . Any more information needed - Please let me know on zpatel@baan.com .