Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 12113 invoked from network); 29 Apr 2006 09:01:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Apr 2006 09:01:00 -0000 Received: (qmail 22965 invoked by uid 500); 29 Apr 2006 09:00:59 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 22466 invoked by uid 500); 29 Apr 2006 09:00:57 -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 22450 invoked by uid 99); 29 Apr 2006 09:00:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Apr 2006 02:00:56 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [209.68.5.9] (HELO relay00.pair.com) (209.68.5.9) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 29 Apr 2006 02:00:56 -0700 Received: (qmail 72803 invoked from network); 29 Apr 2006 09:00:34 -0000 Received: from unknown (HELO ?192.168.1.2?) (unknown) by unknown with SMTP; 29 Apr 2006 09:00:34 -0000 X-pair-Authenticated: 222.165.179.238 Subject: Re: [jira] Commented: (AXIS2-632) get errors trying to parse valid response From: Sanjiva Weerawarana To: axis-dev@ws.apache.org In-Reply-To: References: <7513016.1146242318566.JavaMail.jira@brutus> <27058695.1146279697915.JavaMail.jira@brutus> Content-Type: text/plain Organization: Lanka Software Foundation Date: Sat, 29 Apr 2006 15:00:23 +0600 Message-Id: <1146301223.7931.7.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.1.1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Sat, 2006-04-29 at 00:06 -0700, Simon Fell wrote: > the few verbs lots of nouns approach is a very successful design > model, to do it in web services with a static schema requires the > schema/runtime stack to support choice or extension, and IMO extension > is much better supported than choice, YMMV. Fair enough .. my statement was too strong :). However, I wanted to comment on the impact of this for Axis2- Axis2 is carefully designed with data binding intentionally kept *out* of the core Axis2 platform. ADB is just one of many data bindings we support, as you know. ADB was designed to cover the "80%" schema case .. we didn't start it to cover all of schema. Of course, as usual, its a slippery slope and we've added lots of stuff .. which is fine. But it is definitely not 100%. I think the problem is that we have WSDL2Java configured to go to ADB by default. IMO we should have it with no default data binding: just generate OM elements! If someone wants a data binding, they can pick between ADB, XMLBeans and JibX. I'm presuming the latter two will handle enterprise.wsdl fine as they're both much older and stable data binding technologies compared to ADB which is still a toddler in that space. Anyway, I'm not making excuses: We *DO* want Axis2/ADB to be able to handle widely used, public, big, WSDL files. As such, enterprise.wsdl is a key one to support. At the same time, we need to draw a line somewhere for 1.0. I would like to draw it at where we have ADB now and say that schema extensions and deserialization of instances which carry xsi:type to indicate the subtype is not yet supported with ADB. Its not that hard to support it (we just need a table of schema type -> class mappings hanging around in the generated code and to pay attention to xsi:type), but its a significant change and not one to embark on at this time IMO. Sanjiva.