Search code examples
androidksoap2webservice-clientandroid-ksoap2

How to pass an object as parameter from android to web service using ksoap2


I'm trying to send object as parameter to web service on java. It always throws a Runtime exception with Cannot serialize what is the best way to do that thx in advance


Solution

  • Take a look at this Complex Objects with Ksoap2 Essentially, the only thing you have to do is implement the KvmSerializable interface.