Physical XML file to Domain Object

1
Hi Gurus, I have a requirement where: from a remote folder I pick an XML file using Java and somehow need to make a mendix database entry for that!(the domain model for the xml structure is already in place) My idea is : using the xml to domain mapping i can make such entry into the database. However I am not able to realize somehow how a java.IO file(which is may be a Stream Object) obtained using a java class calls the xml to domain mapping (or a microflow which calls the mapping) Kindly help in tieing the knots in this design clossure. Thanks.
asked
1 answers
2

You can just store your file into a FileDocument (using the Core.storeFileDocumentContent method) and then call a microflow that does this processing using your FileDocument as input.

answered