how to handle an empty enumeration value

1
I am trying to convert enumeration value's to Strings to send them to another Mendix application using a webservice. For the enumeration value Empty I try to set a specific value (e.g. '(empty)' ) I keep on getting the following error Caused by: com.mendix.modules.webservices.WebserviceException: Received SOAP fault, code: Client, reason: Illegal enumeration value for CheckResult ((empty))
asked
1 answers
2

Why are you converting them to strings before sending them? Don't do that or don't set made up enumeration values and it should work fine. It will automatically send empty/null values in the correct way, but not if you tell it that it is a string with the word 'empty' in it.

answered