2

How to send a image or a file using the web service to the server ?

Sudantha
  • 15,684
  • 43
  • 105
  • 161

2 Answers2

5

Here is a good example of how to send a file using NuSOAP:

http://web.imkrisna.com/june/news/simple-file-transfer-using-nusoap/

Matt Beckman
  • 5,022
  • 4
  • 29
  • 42
1

The web service's documentation should specify the necessary format, which will probably involve base64 encoding the image data. You would do whatever encoding the web service requires and then pass it to nuSoap in the same way you already do for text.

Anomie
  • 92,546
  • 13
  • 126
  • 145