Re: retrieve name of component in artifact processor

2007-09-23 Thread Luciano Resende
If your question is how to use componentTypes, i have an example in the BPEL implementation. [1] https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/modules/implementation-bpel/src/main/java/org/apache/tuscany/sca/implementation/bpel/impl/BPELImplementationProcessor.java On 9/22/07,

Exception in thread main java.lang.ClassCastException: org.apache.tuscany.sdo.impl.AnyTypeDataObjectImpl

2007-09-23 Thread Pazerkovsky, Chaim
Recently I download tuscany-das-1.0-incubating-beta1-src; while executing the Customer example provided I received the following exception message: Exception in thread main java.lang.ClassCastException: org.apache.tuscany.sdo.impl.AnyTypeDataObjectImpl at

Re: retrieve name of component in artifact processor

2007-09-23 Thread Mike Edwards
Florian, This isn't quite the way that componentType is intended to work. Let me try to explain. A componentType file is something that is really associated with an implementation, not with the component that uses the implementation. In effect, componentType is really a description of the

Re: retrieve name of component in artifact processor

2007-09-23 Thread Raymond Feng
Hi, Florian. Can you elaborate a bit on why you need the component name during the read/resolve phase for your implementation.splice? If such information is needed for the runtime behavior, then org.apache.tuscany.sca.provider.ImplementationProviderFactory.createImplementationProvider(...)

Re: retrieve name of component in artifact processor

2007-09-23 Thread Florian Rosenberg
hi mike, thanks for the answer. some comments inline. Mike Edwards [EMAIL PROTECTED] wrote on 09/23/2007 02:08:23 PM: Florian, This isn't quite the way that componentType is intended to work. Let me try to explain. A componentType file is something that is really associated with an

Re: retrieve name of component in artifact processor

2007-09-23 Thread Florian Rosenberg
hi raymond, On Sun, September 23, 2007 2:31 pm, Raymond Feng wrote: Hi, Florian. Can you elaborate a bit on why you need the component name during the read/resolve phase for your implementation.splice? If such information is needed for the runtime behavior, then

Loading Metadata from an EMF model ?

2007-09-23 Thread Johan Gielstra
Hi All, I have some ecore models that I want to load directly, rather than exporting them to a schema and using XSDHelper to load them in. I have experimented with the Tuscany SDO 1.0rc2 (May 2007 ) to and loaded + used the model successfully... The code I was using stopped working in