double ID exception throws when parse date parameter in ksoap in android -


i working soap parsing in android.

actually problem when trying pass date parameter throws doubleid exception.

my code follows:

public soapprimitive getuserlist() {          soapprimitive result = null;      string isnewtask = null;      soapobject request = new soapobject(namespace, method_name);      string starttime = "02-06-2013";     simpledateformat dateformat = new simpledateformat("mm-dd-yyyy");       try {         date1 = dateformat.parse(starttime);         system.out.println(date1);     }      catch (parseexception e1) {         // todo auto-generated catch block         log.i("parseexception",e1.getmessage());             }      request.addproperty("fromdate", date1);      request.addproperty("todate", date1);      soapserializationenvelope envelope = new soapserializationenvelope(soapenvelope.ver11);      envelope.dotnet = true;     envelope.setoutputsoapobject(request); new marshaldate().register(envelope);       androidhttptransport transport = new androidhttptransport(url);          transport.debug = true;          try {              transport.call(soap_action, envelope);              result = (soapprimitive)envelope.getresponse();              int count = request.getpropertycount();              string c = string.valueof(count);              log.i("count value",c);              isnewtask = result.tostring();              log.i("test", "------------------------------" + isnewtask);          }          catch (ioexception e) {             log.i("ioexception",e.getmessage());         }          catch (xmlpullparserexception e) {             log.i("xmlpullparserexception",e.getmessage());         }          return  result;     } 

i have follow question ksoap2 double id exception , according done ...but not successs.

please me...thanks in advance...:)


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -