Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 77737 invoked from network); 28 Aug 2008 15:41:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Aug 2008 15:41:06 -0000 Received: (qmail 70722 invoked by uid 500); 28 Aug 2008 15:41:03 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 70708 invoked by uid 500); 28 Aug 2008 15:41:03 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 70690 invoked by uid 99); 28 Aug 2008 15:41:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 08:41:03 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Aug 2008 15:40:14 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A363C234C1BB for ; Thu, 28 Aug 2008 08:40:44 -0700 (PDT) Message-ID: <1558548277.1219938044668.JavaMail.jira@brutus> Date: Thu, 28 Aug 2008 08:40:44 -0700 (PDT) From: "John Hite (JIRA)" To: issues@cxf.apache.org Subject: [jira] Updated: (CXF-1769) Nillable schema elements in WSDL cause XmlSchemaException In-Reply-To: <1497075760.1219937805530.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-1769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Hite updated CXF-1769: --------------------------- Attachment: HelloWorld.wsdl WSDL that caused the problem > Nillable schema elements in WSDL cause XmlSchemaException > --------------------------------------------------------- > > Key: CXF-1769 > URL: https://issues.apache.org/jira/browse/CXF-1769 > Project: CXF > Issue Type: Bug > Components: JAX-WS Runtime > Affects Versions: 2.1.2 > Reporter: John Hite > Attachments: build.xml, HelloWorld.wsdl > > > A WSDL with a nillable schema element, e.g. > > > > > > > > can be used to generate a JAX-WS front end, but when trying to recreate the WSDL via reflection, the following exception is thrown: > "org.apache.ws.commons.schema.XmlSchemaException: Schema name conflict in collection. Namespace" > Steps to reproduce: > 1. Use WSDLToJava to generate a JAXWS frontend from the provided WSDL. > 2. Use JavaToWS to generate a new WSDL from the generated JAXWS frontend. > If you remove the 'nillable="true"' from the wsdl, then this error goes away. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.