tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Kurz" <scottk...@gmail.com>
Subject Re: WSDLLess Deployment Implementation Question
Date Tue, 05 Feb 2008 14:40:34 GMT
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 <jsdelfino@apache.org> 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


Mime
View raw message