You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Amit Andhale <am...@gmail.com> on 2006/07/10 12:12:24 UTC

[Axis 1.4] WebService returning NULL DateTime field to .NET Client

Hi,
I have an web service which returns DateTime to .NET Client.
How do I handle it if DateTime is NULL?
Because "java.Util.Calender" can take NULL value but .NET
System.DateTimecan not take NULL value since it is a Value Type.

After calling Web Service from .NET Client, if DateTime is NULL, I am
getting exception stating
"String was not recognized as a valid DateTime".

Please help me to Handle NULL dates from Axis WebService to .NET Client.

Amit