I am attempting to use Tuscany SDO to pass a DataGraph as a parameter to a document-wrapped web service method, similar to the "Web services and DataGraphs Example" on pages 137-139 in the SDO 2.01 specification. In my case, however, I am attempting to wrap the DataGraph within a statically-generated DataObject that represents the method being invoked. The relevant portions of the schema are as follows: <!-- from the spec --> <element name="companyDataGraph" type="company:CompanyDataGraphType" /> <complexType name="CompanyDataGraphType"> <complexContent> <extension base="sdo:BaseDataGraphType"> <sequence> <element name="company" type="company:CompanyType" /> </sequence> </extension> </complexContent> </complexType> <!-- my addition --> <xsd:element name="updateCompanies" type="UpdateCompanies" /> <xsd:complexType name="UpdateCompanies"> <xsd:sequence> <xsd:element ref="companyDatagraph" /> </xsd:sequence> </xsd:complexType> Should a full SDO 2.01 implementation support this use case? If so, how close is Tuscany to being able to support it? In particular, when I run Tuscany XSD2JavaGenerator, the class generated for CompanyDataGraphType extends DataObjectImpl and not DataGraphImpl. Is fixing this simply a matter of enhancing the XSD2JavaGenerator to recognize "sdo:BaseDataGraphType" extensions and make these classes extend DataGraphImpl instead of DataObjectImpl? Is serializing/de-serializing a DataGraph as a child of a DataObject doable? - Ron
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
