String attribute in xml-to-domain mapping

I'm calling a webservice and try to map the response to a temporary object. I do this with a xml-to-domain mapping, but I'm getting a strange error: Object of type 'Webservices.TempShipmentQueryLine' has an illegal value in attribute 'shipFromId'. The value should be of type 'String' but is: 'EL01'. This isn't allowed by the schema I'm mapping from a string to a string. Why is 'EL01' not allowed? This all happened after I applied entity access to first microflow which triggers the webservice call. When I trigger the microflow without entity access, it works like a charm.
2 answers

While i do not understand the error message itself, i would have a look at the rights of 'TempShipmentQueryLine' are you sure you have enough rights to write the attributes of that entity?


I fixed this in a lost hour, it should be in Mendix 5.9.0. It now doesn't assume a certain specific error (the type error) was thrown anymore but just shows you what's wrong. For security exceptions the case is different, some undetailed information is shown to the user but it also writes the actual exception to the server log.

I could not find a ticket by Samet on this topic. Note I didn't fix anything specific to non-persistent objects. The cases I found just happened when the string didn't fit into the string attribute or that the user didn't have security access to the attribute.