From tuscany-dev-return-16523-apmail-ws-tuscany-dev-archive=ws.apache.org@ws.apache.org Thu Apr 05 16:10:58 2007 Return-Path: Delivered-To: apmail-ws-tuscany-dev-archive@locus.apache.org Received: (qmail 97688 invoked from network); 5 Apr 2007 16:10:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Apr 2007 16:10:57 -0000 Received: (qmail 28869 invoked by uid 500); 5 Apr 2007 16:11:03 -0000 Delivered-To: apmail-ws-tuscany-dev-archive@ws.apache.org Received: (qmail 28838 invoked by uid 500); 5 Apr 2007 16:11:03 -0000 Mailing-List: contact tuscany-dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: tuscany-dev@ws.apache.org Delivered-To: mailing list tuscany-dev@ws.apache.org Received: (qmail 28829 invoked by uid 99); 5 Apr 2007 16:11:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 09:11:03 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of scottkurz@gmail.com designates 64.233.162.237 as permitted sender) Received: from [64.233.162.237] (HELO nz-out-0506.google.com) (64.233.162.237) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 09:10:55 -0700 Received: by nz-out-0506.google.com with SMTP id m7so351736nzf for ; Thu, 05 Apr 2007 09:10:34 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=n9ZspkSUp+2rz6SyZXrnkPBa5T97gxCPXWuUnQZHL+vQwvyi7ENRunuSbkSxzuU5OE3h266IMF00EjpYRQoRUKFAnDuS4JD2zmLmxUJnLGXAIPMIspfi6qqbB0WAiy/dRMSeZrHtgf2U8OsvIo3JqxxPBss7dDoayiWrxv96/30= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=d4gF3TUlpQyFITH8A2Hr4yGVfnhQPXcocJcazqu6oTIAFPX0BAbJMV8n/in4Vd5ytK/Au3kmsyIft/LqBShiioEUphWrAliW9ev6Woj178wsJo3Zt9QRNbHxtHsVfSX4RWYd/4wVJzM3F2L/BmfekErF/j9+GsadU8fwqtNQh8s= Received: by 10.115.76.1 with SMTP id d1mr810471wal.1175789434275; Thu, 05 Apr 2007 09:10:34 -0700 (PDT) Received: by 10.114.180.6 with HTTP; Thu, 5 Apr 2007 09:10:34 -0700 (PDT) Message-ID: Date: Thu, 5 Apr 2007 12:10:34 -0400 From: "Scott Kurz" To: enjoyjava@gmail.com, tuscany-dev@ws.apache.org Subject: problem Introspecting DataBinding for Fault types MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_43259_12123191.1175789434225" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_43259_12123191.1175789434225 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I wonder if the DataBindingJavaInterfaceProcessor should be introspecting the FaultBean rather than the exception type itself in order to calculate the databinding. In the code we do: for (org.apache.tuscany.spi.model.DataType d : operation.getFaultTypes()) { dataBindingRegistry.introspectType(d, annotations); } Following JAX-WS, say my fault type is a POJO Java class extending Exception with a getFaultInfo() returning an SDO type (this SDO is the FaultBean). If SDODataBinding.introspect() was called to introspect my FaultBean type, then, you would be able to calculate I wanted SDO databinding (since I load the fault type with ). But since only my POJO wrapper exc is introspected I end up getting a null DB. Sound like something which should be fixed? (I don't know enough of the DB classes to propose exactly how). Thanks, Scott ------=_Part_43259_12123191.1175789434225--