Try OpenEdge Now
skip to main content
Developing BPM Applications with Developer Studio
Managing business objects : Using the Business Object Manager : Importing business objects : Importing a business object from an XSD file
 
Importing a business object from an XSD file
An XSD file can contain multiple tags each of which can be converted to a business object. You can select the tags to be imported as business objects.
Prerequisite:
1. You must have a JDK version 5.0 or higher installed on your machine for importing business object from an XSD.
2. In the System Environment Variables for PATH variable add the JDK bin directory. For example C:\Program Files\Java\jdk1.6.0_26\bin.
This must be updated because, the XSD functionality uses the xjc utility bundled with a JDK version 5.0 or higher found in the bin directory of the JDK installation.
Note: Only JRE is bundled with Progress Developer Studio for OpenEdge.
To import a business object from an XSD file:
1. From the Local section of the Business Object Manager dialog box, click Import. The Import dialog box appears.
2. Select XSD and then click OK. The XSD Import dialog box appears.
3. To add an XSD file as the source, click Add. The Add Source dialog box appears.
a. You can enter the absolute path of the XSD file in the Location box.
Alternatively, click the ellipsis button beside the Location box to browse and select the XSD file.
b. Select the existing Category or create a new category based on the requirement.
c. Click OK.
In the XSD Import dialog box, the XSD details appear in the Sources section and the business objects available in the XSD are displayed in the Types section. Click Modify in the Sources section to select another XSD file or category. Click Delete in the Sources section to delete the selected XSD file. To modify any of the listed business objects in the Types section, select the business object and click Modify. You can modify the details including name and category.
4. Click Generate.
The list of business object that you can import appears in Business Objects To Import dialog box.
5. Select one (or more) business object and click OK. The selected business objects are added to the list in the Business Object Manager.