Search code examples
androidweb-serviceswebservice-clientksoap2

android webservice


I have one question regarding soap web service. I need to pass some string values and one image to the the webservice from my Android appication. I am using Ksoap2 client. I could pass string values. How I can pass image? Can anybody please help me?


Solution

  • You can encode the image as a png (using Bitmap.compress if it isn't a png file to start with) and then base-64.