Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 86880 invoked from network); 21 Apr 2009 22:47:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Apr 2009 22:47:15 -0000 Received: (qmail 58878 invoked by uid 500); 21 Apr 2009 22:47:15 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 58838 invoked by uid 500); 21 Apr 2009 22:47:15 -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 58828 invoked by uid 99); 21 Apr 2009 22:47:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Apr 2009 22:47:15 +0000 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; Tue, 21 Apr 2009 22:47:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6B9A7234C003 for ; Tue, 21 Apr 2009 15:46:47 -0700 (PDT) Message-ID: <1107670474.1240354007425.JavaMail.jira@brutus> Date: Tue, 21 Apr 2009 15:46:47 -0700 (PDT) From: "Bob Fields (JIRA)" To: issues@cxf.apache.org Subject: [jira] Updated: (CXF-2183) wsdl2java "only one global bindings customization is allowed" with embedded imported schema namespace In-Reply-To: <461602513.1240353167475.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bob Fields updated CXF-2183: ---------------------------- Priority: Major (was: Minor) Changed status to major because it prevents running wsdl2java against ?wsdl URL from a deployed webservice, if using a bindings file. > wsdl2java "only one global bindings customization is allowed" with embedded imported schema namespace > ----------------------------------------------------------------------------------------------------- > > Key: CXF-2183 > URL: https://issues.apache.org/jira/browse/CXF-2183 > Project: CXF > Issue Type: Bug > Components: Tooling > Affects Versions: 2.1.4 > Environment: CXF 2.1.4, JDK build 1.5.0_12-b04, Windows XP-64 > Reporter: Bob Fields > Attachments: bindingsError.zip > > > Error "WSDLToJava Error: Thrown by JAXB : only one globalBindings customization is allowed in a whole compilation" is returned when using a databinding xjb file against a wsdl with embedded referenced schema namespace. There is only one globalBindings customization, despite what the error says. The same wsdl2java process works fine when the schema is extracted to an external file and referenced in the wsdl through schemaLocation, no other difference in the bindings or wsdl2java parameters. > Example attached: wsdl2.log shows the error. Bindings are meant to change XMLGregorianCalendar to Date. GregService.wsdl and GregService.xjb were generated by java2ws from working java code, and return the error. GregServiceA3.wsdl and .xjb work perfectly fine. The only difference in the wsdl files is: > DOES NOT WORK > > ... > xmlns:tns="http://valueobject.wdpr.com/" attributeFormDefault="unqualified" > elementFormDefault="qualified" targetNamespace="http://valueobject.wdpr.com/"> > > > > > > > > WORKS > > ... > Same namespace information above in an external xsd/valueobject.wdpr.com.xsd schema file. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.