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

Space Character Problem on IE 6, 7, and 8

Does Netflix work on iOS 5 Beta 4?

AWS encryption chart (SSE-S3 vs SSE-KMS vs SSE-C)