Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 48748 invoked from network); 10 Oct 2009 21:09:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Oct 2009 21:09:04 -0000 Received: (qmail 89076 invoked by uid 500); 10 Oct 2009 21:09:04 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 89055 invoked by uid 500); 10 Oct 2009 21:09:04 -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 89037 invoked by uid 99); 10 Oct 2009 21:09:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Oct 2009 21:09:04 +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; Sat, 10 Oct 2009 21:09:01 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4FA1A234C045 for ; Sat, 10 Oct 2009 14:08:31 -0700 (PDT) Message-ID: <1577448421.1255208911311.JavaMail.jira@brutus> Date: Sat, 10 Oct 2009 14:08:31 -0700 (PDT) From: "Christian Schneider (JIRA)" To: issues@cxf.apache.org Subject: [jira] Assigned: (CXF-806) java2wsdl gives poor diagnosis of bad JAXB bean class 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-806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Schneider reassigned CXF-806: --------------------------------------- Assignee: Christian Schneider (was: jimma) > java2wsdl gives poor diagnosis of bad JAXB bean class > ----------------------------------------------------- > > Key: CXF-806 > URL: https://issues.apache.org/jira/browse/CXF-806 > Project: CXF > Issue Type: Bug > Components: Tooling > Affects Versions: 2.0 > Reporter: Benson Margulies > Assignee: Christian Schneider > > If you try to use a class like the following as a method parameter in an SEI with java2wsdl, the basic error message will be a very uninformative report of a > [java] Error : org.apache.cxf.service.factory.ServiceConstructionException > [java] > There is no useful information until you run with -verbose. At least, it should give some hint that there's a problem that will be explained by -verbose. > (The problem is a bean-pattern property on a public field). > /** > * > */ > package com.basistech.rnm; > import java.io.Serializable; > import com.basistech.util.ISO15924; > /** > * This class represents a pre-defined transliteration for a name. > * > */ > public class Transliteration implements Serializable { > /** > * > */ > private static final long serialVersionUID = -1009032817440459241L; > /** > * Target script for the transliteration: an ISO15924 code. > */ > private ISO15924 script; > // read by JNI. > @SuppressWarnings("unused") > private int _script; > /** > * Which transliteration scheme. > * See com.basistech.BTTransliterationSchemes for constants for this purpose. > */ > public int scheme; > /** > * The transliterated form. > */ > public String transliteration; > > /** > * @return the scheme > */ > public int getScheme() { > return scheme; > } > /** > * @param scheme the scheme to set > */ > public void setScheme(int scheme) { > this.scheme = scheme; > } > /** > * @return the script > */ > public ISO15924 getScript() { > return script; > } > /** > * @param script the script to set > */ > public void setScript(ISO15924 script) { > this.script = script; > this._script = script.numeric(); > } > /** > * @return the transliteration > */ > public String getTransliteration() { > return transliteration; > } > /** > * @param transliteration the transliteration to set > */ > public void setTransliteration(String transliteration) { > this.transliteration = transliteration; > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.