kSOAP IsoDate Millisecond Problem

When I started to use kSOAP with .NET I have realized that .NET DateTime and kSOAP MarshalDate class does not match directly. I have downloaded IsoDate.java code(included in kSOAP2) from Sourceforge. I have modified the following line;


stringToDate Method line 122...
char d = text.charAt(++pos);

with;

pos++;
if(text.length() == pos)
break;
char d = text.charAt(pos);

Otherwise, I was getting StringOutOfBounds exception while the marshalling the dot in milliseconds in date string.

Comments

Popular posts from this blog

Configure hosts File in Android

Is Wharton Business Foundations Specialization Good?

Space Character Problem on IE 6, 7, and 8