Hi Douwe,
I believe attributes of type ‘Binary’ are only supported in persistable entities.
Do you use an export mapping to generate your XML? because you can select the ‘contents’ there
Hi Douwe,
You should use the Base64EncodeFile from CommunityCommons, where the attachment is your input and and the returned string from the java action should go in your XML as Bijlage.Contents.
Hi Lennart, Sjors,
Thanks for your replies. The respective binary attribute can indeed be replaced by a string. Together with the relevant Java action, I can set a value which can be analyzed by the receiving party. The disadvantage however seems to be efficiency, especially with an application in which large files can be sent several times a day. In this case, an export mapping can help, and also circumvents the problem of not being able to select the binary attribute. I'm going to check both options, thanks!