Hi all, sorry for asking, but I am not quite sure how to instantiate a generated static SDO with the DataFactory class. I have something like this:
- Person.xsd which contains the declaration of a person type - generated interfaces, factory and impl with the XSD2JavaGenerator - PersonFactory.INSTANCE.createPerson() works just fine - but when I call the more abstract DataFactory.INSTANCE.create(Person.class) I get an: Exception in thread "main" java.lang.IllegalArgumentException at org.apache.tuscany.sdo.helper.DataFactoryImpl.create(DataFactoryImpl.java:60) at org.apache.tuscany.sdo.helper.DataFactoryImpl.create(DataFactoryImpl.java:50) Do I have to call something before to register my Person type or is the DataFactory only suiteable for dynamic SDOs? Thanks for the clarification, Philipp
