Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 615FB101E6 for ; Fri, 16 Jan 2015 17:00:37 +0000 (UTC) Received: (qmail 76871 invoked by uid 500); 16 Jan 2015 17:00:39 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 76829 invoked by uid 500); 16 Jan 2015 17:00:39 -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 76817 invoked by uid 99); 16 Jan 2015 17:00:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jan 2015 17:00:39 +0000 Date: Fri, 16 Jan 2015 17:00:39 +0000 (UTC) From: "Maarten Winkels (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-6074) Add configured XmlAdapters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-6074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14280498#comment-14280498 ] Maarten Winkels commented on CXF-6074: -------------------------------------- This issue seems to be due to a check in jaxb-impl-2.1.14, that checks for no-arg constructor for a property type, even though the property has a @XmlJavaTypeAdapter. A simple work around is to add a default constructor to the (test) class. > Add configured XmlAdapters > -------------------------- > > Key: CXF-6074 > URL: https://issues.apache.org/jira/browse/CXF-6074 > Project: CXF > Issue Type: Improvement > Components: JAXB Databinding > Reporter: Maarten Winkels > Fix For: 3.0.3 > > > In some cases an XmlAdapter (as used by JAXB) needs state. For this the Marshaller and Unmarshaller have a setAdapter(...) method, that accepts a configured instance. > Currently the JAXBDataBinding has no configuration for this. -- This message was sent by Atlassian JIRA (v6.3.4#6332)