Hi, I found out that the OData services fail when you delete referenced data. In my example I have the Car entity exposed, and the system members like Store 'owner' enabled in the domain model. In this test scenario there were some cars in the database which owners have been removed from the system. Now if you use the OData service to get the cars in Excel or any other program, you get the following error in the mendix log file:
The association 'System.owner' of object 'Test.Car' with data store id '24206847997116617' refers to a non-existing object 'System.User' with data store id '40813871623050321'.
Then the OData feed in your Excel program will generate an error saying: Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it.
Should I file a ticket for support or?