I'm trying to define a Type using Tuscany C++ using the following code:
 
DataFactoryPtr myDf = DataFactory::getDataFactory();
myDf->addType( "", "ElementType", false, true, false, false);
myDf->addPropertyToType( "", "ElementType", "id", "commonj.sdo",
"String", false, false, false);

This fails with "Adding Properties after type completed".
 
Am I doing something wrong or is this a known bug and is there a
workaround? 
 
Thanks,
 
Andy.

Reply via email to