Hi, I am working on a client case where we would like to import data provided by a SAP Odata service back into a Mendix application. As far as I can see i receive my response in a XML string which I need to import using an Import mapping. In order to create an import mapping i require and XML Schema (XSD) - which is not provided by SAP's Odata service. Do I manually need to create an XSD or are there more efficient ways? Thanks, Han Pieter
asked
Han Pieter Duyverman
2 answers
1
Hans why don't you just request json in your ODATA call? That way you can easily build a mapping using the Json mapper in mendix using the response from the service. I've recently done the same using ODATA myself.
answered
Simon Black
0
You can use an online tool to generate your XSD based on the XML. I have good experiences with XMLSpy to customize the XSD so that it accepts finally the XML.