You can import an OData CSDL file (.edmx) describing an OData REST interface directly from a file or via a URL. The importer will generate the data (entities and types) and service elements to your UML model.
The OData entities import rules are described in detail in OData Import Rules.
After the import, you can call the OData REST service using the E2E REST Adapter.
To import OData metadata to your Builder project, select Import > OData from the E2E Compiler menu.
Enter a URL to the OData metadata file or select a file from disk. | |
The selected file can be imported into either an existing or a new UML model. Import to a new model will create a ready to use test model. Create a component diagram and test the service call. By selecting Only import entities and types you can prevent the importer from importing the service interface structure to your service. This can be helpful with big interface files containing thousands of classes, if the importer is working very long on the import, and if you can do with the data structures only. You can still cancel the import by clicking Cancel. |
Wanting to import OData Entities into an existing UML model, proceed as follows.
The UML model needs to be saved to persist the imported entities and packages. If an error occurred during the import, you will be notified by the Importer. |
Wanting to import OData Entities into a new UML model, proceed as follows.
The UML model needs to be saved to persist the imported entities and packages. If an error occurred during the import, you will be notified by the Importer.
|