Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 82579 invoked from network); 25 Jul 2007 13:31:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jul 2007 13:31:05 -0000 Received: (qmail 9057 invoked by uid 500); 25 Jul 2007 13:30:57 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 8753 invoked by uid 500); 25 Jul 2007 13:30:56 -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: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 8724 invoked by uid 99); 25 Jul 2007 13:30:56 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2007 06:30:56 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jul 2007 06:30:54 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D38407141EE for ; Wed, 25 Jul 2007 06:30:33 -0700 (PDT) Message-ID: <33246537.1185370233863.JavaMail.jira@brutus> Date: Wed, 25 Jul 2007 06:30:33 -0700 (PDT) From: "Vesa Varimo (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-3015) ERROR can not find read method for : defaultAssertionStatus. Bug with Class-type properties. In-Reply-To: <32879539.1185369391381.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/AXIS2-3015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vesa Varimo updated AXIS2-3015: ------------------------------- Description: I have simple domain class generated with Hyperjaxb2 0.6.2. The class is called LogResponseImpl (included as an attachment) and the XSD for it is following: Besides the method get/setSucceeded HyperJAXB2 generates method getPrimaryInterface() that returns java.lang.Class as a return value. ADB in Axis2 tries to solve this property and ends up giving the error message: "can not find read method for : defaultAssertionStatus". I fixed this issue by adding following condition to BeanUtil.java line 110: for (int i = 0; i < properties.length; i++) { JProperty property = properties[i]; if (property.getType().getQualifiedName().indexOf("Class") == -1) { propertyList.add(property); } } was: I have simple domain class generated with Hyperjaxb2 0.6.2. The class is called LogResponseImpl (included as an attachment) and the XSD for it is following: Besides the method get/setSucceeded HyperJAXB2 generates method getInterfaceClass that returns java.lang.Class as a return value. ADB in Axis2 tries to solve this property and ends up giving the error message: "can not find read method for : defaultAssertionStatus". I fixed this issue by adding following condition to BeanUtil.java line 110: for (int i = 0; i < properties.length; i++) { JProperty property = properties[i]; if (property.getType().getQualifiedName().indexOf("Class") == -1) { propertyList.add(property); } } > ERROR can not find read method for : defaultAssertionStatus. Bug with Class-type properties. > --------------------------------------------------------------------------------------------- > > Key: AXIS2-3015 > URL: https://issues.apache.org/jira/browse/AXIS2-3015 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: adb > Affects Versions: 1.3 > Environment: Axis 2 1.3-RC2 (20.7.2007), JBoss 4.0.5 GA with Spring 1.2 and Hibernate 3 integrated inside AAR modules. > Reporter: Vesa Varimo > Attachments: LogResponseImpl.java > > > I have simple domain class generated with Hyperjaxb2 0.6.2. > The class is called LogResponseImpl (included as an attachment) and the XSD for it is following: > > > > > > Besides the method get/setSucceeded HyperJAXB2 generates method getPrimaryInterface() that returns java.lang.Class as a return value. > ADB in Axis2 tries to solve this property and ends up giving the error message: "can not find read method for : defaultAssertionStatus". > I fixed this issue by adding following condition to BeanUtil.java line 110: > for (int i = 0; i < properties.length; i++) { > JProperty property = properties[i]; > if (property.getType().getQualifiedName().indexOf("Class") == -1) { > propertyList.add(property); > } > } > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org