Re: How to use SDO in tuscany sca?

2008-02-21 Thread Simon Nash
of a contrbution. Simon Thanks, Raymond - Original Message - From: Jean-Sebastien Delfino [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Wednesday, February 20, 2008 9:56 AM Subject: Re: How to use SDO in tuscany sca? Scott Kurz wrote: Wang, I'm guessing the problem is probably

Re: Re: Re: How to use SDO in tuscany sca?

2008-02-20 Thread wang feng
the issue, I can run it successfully with the import.sdo statement. Thanks, Raymond - Original Message - From: wang feng [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, February 19, 2008 5:04 PM Subject: Re: Re: How to use SDO in tuscany sca? I add the element 'import.sdo

Re: How to use SDO in tuscany sca?

2008-02-20 Thread Simon Nash
- From: wang feng [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, February 19, 2008 5:04 PM Subject: Re: Re: How to use SDO in tuscany sca? I add the element 'import.sdo' in the composite,but the sample throws another exception. Exception in thread main

Re: How to use SDO in tuscany sca?

2008-02-20 Thread kelvin goodson
a ClassCastException deep in EMF. Simon Thanks, Raymond - Original Message - From: wang feng [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Tuesday, February 19, 2008 5:04 PM Subject: Re: Re: How to use SDO in tuscany sca? I add the element 'import.sdo

Re: How to use SDO in tuscany sca?

2008-02-20 Thread Raymond Feng
@ws.apache.org Sent: Wednesday, February 20, 2008 9:16 AM Subject: Re: How to use SDO in tuscany sca? So looking back, I'm a little confused, as I had assumed that the xsd prefix had been associated with the XML Schema namespace, but I see from Raymond's note that the default namespace

Re: How to use SDO in tuscany sca?

2008-02-20 Thread Scott Kurz
I can see the advantages of registering in init. I'd heard that import.sdo for statics was deprecated but hadn't picked up we were trying to say it was deprecated for dynamic too. I must have missed that... Scott - To

Re: How to use SDO in tuscany sca?

2008-02-20 Thread Raymond Feng
- From: Jean-Sebastien Delfino [EMAIL PROTECTED] To: tuscany-dev@ws.apache.org Sent: Wednesday, February 20, 2008 9:56 AM Subject: Re: How to use SDO in tuscany sca? Scott Kurz wrote: Wang, I'm guessing the problem is probably that you need to register your app types with the appropriate

Re: How to use SDO in tuscany sca?

2008-02-20 Thread Jean-Sebastien Delfino
Scott Kurz wrote: Wang, I'm guessing the problem is probably that you need to register your app types with the appropriate context established by the Tuscany runtime. Tuscany typically does this automatically, now, for static SDO. For dynamic SDO (i.e. DataObject), you would currently put

Re: Re: How to use SDO in tuscany sca?

2008-02-19 Thread wang feng
I add the element 'import.sdo' in the composite,but the sample throws another exception. Exception in thread main java.lang.ClassCastException: The value of type 'class org.apache.tuscany.sdo.impl.DynamicDataObjectImpl' must be of type 'class java.lang.String' at

How to use SDO in tuscany sca?

2008-02-18 Thread wang feng
Hi all, I do a sample which has a parameter's type is DataObject,and deploy the component with webservice. When I invoke the service ,throws an error. Is my usage wrong? My sample like this. helloworld.composite composite xmlns=http://www.osoa.org/xmlns/sca/1.0;

Re: How to use SDO in tuscany sca?

2008-02-18 Thread Scott Kurz
Wang, I'm guessing the problem is probably that you need to register your app types with the appropriate context established by the Tuscany runtime. Tuscany typically does this automatically, now, for static SDO. For dynamic SDO (i.e. DataObject), you would currently put something like this in