Please ignore this .. I just found an error in my code that was causing
this to fail. 

Thanks,

Andy.

-----Original Message-----
From: Andy Grove [mailto:[EMAIL PROTECTED] 
Sent: 16 May 2007 12:15
To: [email protected]
Subject: Problems defining a Type in Tuscany C++ 

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to