Return-Path: Delivered-To: apmail-cxf-users-archive@www.apache.org Received: (qmail 76097 invoked from network); 5 Jan 2010 15:32:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Jan 2010 15:32:26 -0000 Received: (qmail 90686 invoked by uid 500); 5 Jan 2010 15:32:25 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 90622 invoked by uid 500); 5 Jan 2010 15:32:25 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 90612 invoked by uid 99); 5 Jan 2010 15:32:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 15:32:25 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of devnsl01@gmail.com designates 209.85.220.228 as permitted sender) Received: from [209.85.220.228] (HELO mail-fx0-f228.google.com) (209.85.220.228) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jan 2010 15:32:17 +0000 Received: by fxm28 with SMTP id 28so7226451fxm.6 for ; Tue, 05 Jan 2010 07:31:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=hjFaFW1zKKccetM646Uo3PdiUA5lG23wDJ2TUT720sE=; b=E1c9A1FFqCN7ARq3wEgJCy/RRVPnCfmkPe9o+A+ddJ1JC8+/4H6i5e08BzR2AZzbkK 1rCKpg+imi5ahVTuoRoO+JvYLh+yEepG8NKZAs4Jp1/R+vWgQFOsh1VxMytTqII4VZX3 0ezLG1xglon+JhXEXbHTIfODdhEoqz6R5dWD0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=TQEFVYmP4VMJBgnEfIh1joBf8eISeeD7Wf645o1rxMtkexzvwREcz37VUs/dd/L2Lz fKpbu75HTW1rHBYaB++6YiJlaQybAeDl3saqaycV4DEUUJv5tkvNpMnOHi5cwcmP3Pth wsVzNyMo0dUyIFQPDYRhXi8C/3b9Q5A5WNntY= Received: by 10.223.59.3 with SMTP id j3mr1516799fah.46.1262705515677; Tue, 05 Jan 2010 07:31:55 -0800 (PST) Received: from ?192.168.1.133? ([85.236.238.214]) by mx.google.com with ESMTPS id 16sm6488119fxm.12.2010.01.05.07.31.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 05 Jan 2010 07:31:55 -0800 (PST) Message-ID: <4B435B3A.8090602@gmail.com> Date: Tue, 05 Jan 2010 16:31:06 +0100 From: Alex Reply-To: devnsl01@gmail.com User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Benson Margulies CC: users@cxf.apache.org Subject: Re: Exception when mapping xsd:anyTyp to java.lang.Object References: <4B434FFA.2060507@gmail.com> <61b5d9411001050726s312750dax8d6e9567e7f74c78@mail.gmail.com> In-Reply-To: <61b5d9411001050726s312750dax8d6e9567e7f74c78@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Bensone, I using apache cxf 2.2.5 Here is my ant-script: Benson Margulies schrieb: > What version of CXF? How did you configure? > > On Tue, Jan 5, 2010 at 9:43 AM, Alex wrote: > >> Hi, >> >> one element in my wsdl file is defined as xsd:anyType, wsdl2java makes >> java.lang.Object from this type. >> >> when I send a request to my service, an exception is thrown: >> >> Marshalling Error: java.lang.Object cannot be cast to org.w3c.dom.Element >> java.lang.ClassCastException: java.lang.Object cannot be cast to >> org.w3c.dom.Element >> >> any hints, thank you Alex >> >>