Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 36716 invoked from network); 3 Nov 2008 12:40:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Nov 2008 12:40:17 -0000 Received: (qmail 6147 invoked by uid 500); 3 Nov 2008 12:40:22 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 6089 invoked by uid 500); 3 Nov 2008 12:40:22 -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 6078 invoked by uid 99); 3 Nov 2008 12:40:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2008 04:40:22 -0800 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; Mon, 03 Nov 2008 12:39:02 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3CA9E234C264 for ; Mon, 3 Nov 2008 04:39:44 -0800 (PST) Message-ID: <1369606870.1225715984247.JavaMail.jira@brutus> Date: Mon, 3 Nov 2008 04:39:44 -0800 (PST) From: "juergen schad (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Updated: (AXIS2-4117) InstantiationError using abstract types In-Reply-To: <869761461.1225715864357.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-4117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] juergen schad updated AXIS2-4117: --------------------------------- Attachment: LebenService-2.1.0.1.0.wsdl wsdl-file > InstantiationError using abstract types > --------------------------------------- > > Key: AXIS2-4117 > URL: https://issues.apache.org/jira/browse/AXIS2-4117 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: databinding > Affects Versions: 1.4.1 > Environment: axis 1.41, jdk 1.5.0_16 > Reporter: juergen schad > Priority: Critical > Attachments: LebenService-2.1.0.1.0.wsdl > > > We are using jaxb-databinding and unmarshalling of requests fails during processing of nodes with > abstract base-classes. Unmarshalling of types with complexContent works fine but unmarshalling of types > with simpleContent doesn't work at all. The attached example-wsdl and this sample request shows the problem. > xmlns:tst="http://anywhere.nowhere.de/tst" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > > > > > > 02 > > > > > Unmarshalling of the tst:testMember-node suceeds, the given xsi-type is used to create an instance of the matching type. > Unmarshalling of the tst:Test-node fails, the given xsi-type is ignored and the instantiation of the abstract baseclass STE_TestAbstract > fails with an InstantiationError -- 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