Return-Path: Delivered-To: apmail-ws-tuscany-dev-archive@locus.apache.org Received: (qmail 39266 invoked from network); 5 Feb 2008 15:00:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2008 15:00:01 -0000 Received: (qmail 73505 invoked by uid 500); 5 Feb 2008 14:59:52 -0000 Delivered-To: apmail-ws-tuscany-dev-archive@ws.apache.org Received: (qmail 73471 invoked by uid 500); 5 Feb 2008 14:59:52 -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 73462 invoked by uid 99); 5 Feb 2008 14:59:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2008 06:59:52 -0800 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 (athena.apache.org: domain of for.svkrish@gmail.com designates 72.14.204.235 as permitted sender) Received: from [72.14.204.235] (HELO qb-out-0506.google.com) (72.14.204.235) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2008 14:59:23 +0000 Received: by qb-out-0506.google.com with SMTP id e34so3717896qbe.6 for ; Tue, 05 Feb 2008 06:59:20 -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:to:subject:in-reply-to:mime-version:content-type:references; bh=/ENYiuPGpHVdEm1Hq+WCaaGhyMkNzG4+MEA18nwZDDM=; b=RSXnO03xAXBbLbSK8cwle+nrNbKzNOD9w8SD86/IyX15HKGC1KQU1I/dl0CNjRShpV5ClG9U6Y+IrAzi+2Qo8UvOMZ1MdmZ9y8q283h+OtiAyH3cUWvIXzkFyGbTR0SkuFA/1Ls4ZM15N1LCq/z/MfaS80X9b5ycUs4UUgYuKaI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=VeBHGQ6svjDfIakaoQAvNeM3EHXDml9jamBfflny95LiN0TaZcfCz06MUwZ4NsjSr46lNZu/hbigcxgu2QkSYhsrRe/7915YMUePHXdl1FWcdzqObgIf3rNs31GMMQ8PzMgko8GPpmEz6blT0McIMEmTjs5TeO6EN/X4tSL22LY= Received: by 10.114.169.2 with SMTP id r2mr8498265wae.30.1202223529071; Tue, 05 Feb 2008 06:58:49 -0800 (PST) Received: by 10.114.134.12 with HTTP; Tue, 5 Feb 2008 06:58:49 -0800 (PST) Message-ID: <33e260400802050658w60ff2c31ufa76b0f7d9467aa3@mail.gmail.com> Date: Tue, 5 Feb 2008 20:28:49 +0530 From: "Venkata Krishnan" To: tuscany-dev@ws.apache.org Subject: Re: WSDLLess Deployment Implementation Question In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_13061_22137503.1202223529057" References: <60d9c2b80801310904r7650e66fo7afa1377dd6f22aa@mail.gmail.com> <71e1b5740802010633x3afa66bbi6db400862985451b@mail.gmail.com> <47A639C7.4000106@gmail.com> <47A63E1A.7050606@apache.org> <47A82499.2090906@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_13061_22137503.1202223529057 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Scott, There was a discussion around this with the SDO folks and their view point was that, having generated the static SDO from an XSD, why would one want to go and generate the XSD again. Ideally the original XSD should be used. Its been a while since I've been thro this, but I do remember that the discussion started after I had some trouble in getting back something equivalent to the original XSD as part of this generation. It was then decided that we would provide these XSD locations as input arguments these would be imported during the WSDL generation. - Venkat On Feb 5, 2008 8:10 PM, Scott Kurz wrote: > OK, just wanted to make sure I hadn't missed a discussion on how to do > this with dynamic SDOs. > > You know, one issue I noticed when looking at this with static SDOs is > the way that SDO makes it hard for you > to programmatically go from static SDO to XSD. Looking at the SDO > source I think it was the code in > org.apache.tuscany.sdo.helper.SchemaBuilder.buildSchema() which was > responsible: > > throw new IllegalArgumentException("Cannot generate > XSD since SDO Type '" + > dataType.getName() + "' was orginally > generated from XSD. Use original XSD"); > > > > > > On Feb 5, 2008 3:55 AM, Jean-Sebastien Delfino > wrote: > > Scott Kurz wrote: > > > When you wrote: > > > > > > - The generator should use the databinding metadata (including any > > > knowledge of handwritten XSD representing the business data and > > > generation capabilities like the SDO XSDGenerator) to generate proper > > > XSD in the WSDL. > > > > > > How were you thinking a particular XSD would be associated with a > > > generic DataObject on a Java intf? What > > > metadata would we be using as input here? > > > > > [snip] > > > > I was thinking about static SDOs. > > > > Java method updateCustomer(DataObject anObject) would translate to > > WSDL operation updateCustomer [ XSD xsd:any ] > > > > but Java method updateCustomer(Customer customer) would translate to > > WSDL operation updateCustomer [ XSD cust:Customer ] > > > > > > -- > > Jean-Sebastien > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org > For additional commands, e-mail: tuscany-dev-help@ws.apache.org > > ------=_Part_13061_22137503.1202223529057--