Hello,
I have a rest webservice that takes a POST metod with multipart message:
Now I am trying to write a
java client for that. I started with a simple jersey client:
This works great - everything is ok. However I need this client working on Android and I have trouble with using jersey on that platform. So I used the normal way to send multipart message on android:
An this gives an annoying response from the server :
I check the server log files but there is nothing there. So I don't know what's the origin of this error. I have wrote a simple html page with a post formula and 'multipart/form-data' content-type and it also works! An auto-generated request from soapUI also works! Why my client does not work? Can anybody help? (For the record - tried also without Base64encoding - no change).