Hello,
I cannot tell you why your server is rejecting the file, since I do not know what it is expecting to receive. You are not using a known standard, and neither I nor the soapUI software will be able to tell you how to create the request you are after without knowing what it is you actually want to send. The curl command you have given (I assume you mean "curl -F file=@bla.jpg") sends a file much in the same was that soapUI does when the content type is correctly set as multipart/form-data. Since this is form data we're talking about, each form field has both a name and a value. I'm just guessing here, but perhaps your server isn't accepting the file because it is expecting it to have a different form field name? The curl command you're using (again, assuming "curl -F file=@bla.jpg") sets the form field name to "file". By default soapUI sets this name to whatever the file name is, but it's easily changed by changing the "ContentID" field for the attachment in soapUI. If this isn't working, I can't help you without an exact specification of what your server actually accepts.
Regards,
Dain
eviware.com