Importing web service interface as model
(Adding message template to the top of the page) |
(Replacing message template with parser tag) |
||
Line 1: | Line 1: | ||
<message>Write the content here to display this box</message> | |||
It can be helpful to import a web service or REST interface definition as a model. Then you can use the classes like this [[Import xml and JSon with MDriven|Import XML and JSon with MDriven]]. | It can be helpful to import a web service or REST interface definition as a model. Then you can use the classes like this [[Import xml and JSon with MDriven|Import XML and JSon with MDriven]]. |
Revision as of 08:02, 17 June 2024
This page was created by Lars.olofsson on 2018-11-25. Last edited by Edgar on 2025-08-31.
It can be helpful to import a web service or REST interface definition as a model. Then you can use the classes like this Import XML and JSon with MDriven.
MDriven Designer can't import an XSD och WDSL directly.
Sparx, on the other hand, can import schemas and export them to XMI, which in turn can be imported by MDriven Designer.
Using Sparx, edit and clean up the imported model. Usually, you will want to remove all "elements," keeping on the classes.
When it is ready, export the model using XML with UML 2.4.1 and XMI 2.4.2.
Note! MDriven ONLY supports XMI 2.4.2