jax-ws web method passed complex type argument always null ksoap2

view full story

http://stackoverflow.com – I hava a jax-ws WebService with a WebMethod with two arguments.First of String type and second of a complex type. The client is an Android app with ksoap2 library. The problem is that the members of the complex argument has always null value(BatteryLevel,BatteryTemp,BatteryVoltage);The first argument is passed correctly.Thanks in advance for any help! Android Client: myThread = new Thread() { @Override public void run() { Data td = new Data(); td.setBatteryLevel("test"); td.setBatteryTemp("test"); td.setBatteryVoltage("test"); SoapObject requ (HowTos)