Hi,
There is another solution if your datePicker is an element in the schema (if it's an attribute that don't work and your solution is the best):
You can set in your schema for this element that the element can be nillable.
in schema:
<xs:element name="Date" type="xs:date" nillable="true" maxOccurs="unbounded"/>
and your webservice need to make return like this:
<Date xsi:nil="true" />
And so your element can be empty.
Hope this help
++
Thierry
Infopath 2007, Langage: C#2.0 (Modèle Objet 2003)
merci de lire ceci