Hi all ,
I want to create an application in Java which connects to aras innovator and fetch data from it . For that I want to create java classes for business objects like Item , Relationship ,etc using aras aml schema using Jaxb . But there is no fixed aml schema available for it . So how can I create classes to store fetched data and metadata of business objects in aras using Java ? Is there any other way to integrate it ?
Thanks for help !
Parents
Former Member
The Aras AML schema is documented in the "XSLT Report Tool Users Guide" on page 19. I've extracted it from the document and pasted it below:
<xsd:schema xmlns:xsd="">www.w3.org/.../XMLSchema">
<xsd:complexType name="Item">
<xsd:all>
<!-- Any user elements defined by the ItemType for the item -->
<xsd:complexType name="Relationships" minOccurs="0" maxOccurs="1">
<xsd:all>
<xsd:element name="Item" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:all>
<!-- Any user elements defined by the ItemType for the item -->
<xsd:attribute name="id" type="xsd:ID" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="typeID" type="xsd:IDREF" />
<xsd:attribute name="action" type="xsd:string" />
<xsd:attribute name="sort_order" type="xsd:integer" />
</xsd:all>
</xsd:complexType>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:all>
<xsd:attribute name="id" type="xsd:ID" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="typeID" type="xsd:IDREF" />
<xsd:attribute name="action" type="xsd:string" />
<xsd:attribute name="select" type="xsd:string" />
<xsd:attribute name="order_by" type="xsd:integer" />
<xsd:union>
<xsd:attributeGroup>
<xsd:attribute name="pagesize" type="xsd:integer" />
<xsd:attribute name="page" type="xsd:integer" />
</xsd:attributeGroup>
<xsd:attributeGroup>
<xsd:attribute name="levels" type="xsd:integer" />
<xsd:attribute name="config_path" type="xsd:string" />
</xsd:attributeGroup>
</xsd:union>
</xsd:complexType>
</xsd:schema>
The Aras AML schema is documented in the "XSLT Report Tool Users Guide" on page 19. I've extracted it from the document and pasted it below:
<xsd:schema xmlns:xsd="">www.w3.org/.../XMLSchema">
<xsd:complexType name="Item">
<xsd:all>
<!-- Any user elements defined by the ItemType for the item -->
<xsd:complexType name="Relationships" minOccurs="0" maxOccurs="1">
<xsd:all>
<xsd:element name="Item" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:all>
<!-- Any user elements defined by the ItemType for the item -->
<xsd:attribute name="id" type="xsd:ID" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="typeID" type="xsd:IDREF" />
<xsd:attribute name="action" type="xsd:string" />
<xsd:attribute name="sort_order" type="xsd:integer" />
</xsd:all>
</xsd:complexType>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:all>
<xsd:attribute name="id" type="xsd:ID" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="typeID" type="xsd:IDREF" />
<xsd:attribute name="action" type="xsd:string" />
<xsd:attribute name="select" type="xsd:string" />
<xsd:attribute name="order_by" type="xsd:integer" />
<xsd:union>
<xsd:attributeGroup>
<xsd:attribute name="pagesize" type="xsd:integer" />
<xsd:attribute name="page" type="xsd:integer" />
</xsd:attributeGroup>
<xsd:attributeGroup>
<xsd:attribute name="levels" type="xsd:integer" />
<xsd:attribute name="config_path" type="xsd:string" />
</xsd:attributeGroup>
</xsd:union>
</xsd:complexType>
</xsd:schema>