I have followed the SampleAttachFileToResource.java class to upload the attachment and link to the incident and it is working fine.
However I need the XML payloads with base64 method to upload the attachments through SOAP UI and don't want to use any application code. Please let me know how can we achieve this?
I went through the SampleAttachFileToResource.java example.
And I recognized that at least in my version there is no need to do a base64 conversion to attach a file.
In my version, the TRANSFER_ENCODING is set to "binary", even though I see the code to do a base64 conversion as well, but it isn't used.
So, from this point of view, soap-ui should be able to send the file just as a normal multipart http request, using the normal attachment functionality of soap-ui.
But to be honest, I haven't tried that yet.