Hello Geert
We have the same rule for service modeling: Only primitive types as attributes. Your hint of using a dependency on the diagram is helpful, thanks!
There is another quirk in our environment, though. The system holding the service definitions and the datatypes does not "speak" UML yet, and knows only attributes.
We are now developing an UML import/export feature, and now the problem hits: While exporting, we can decide on attribute vs. association based on the type, so no problem there.
What is lost though is the field order: When I re-import, there will be either attributes first, followed by associations, or vice-versa.
If I could mix them in the model, I could keep the field ordering intact.
Again, thanks and best regards,
Martin