Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Verification on Web Service
Message
De
06/10/2010 12:19:58
 
 
À
06/10/2010 11:56:57
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01484151
Message ID:
01484180
Vues:
35
>>At a guess I'd try declaring loDocumentDates.dtDocumentDate as a nullable type and just not setting it if loRow("CloseDate") contains an empty date.....
>
>When doing so, we get:
>
>Server was unable to process request. ---> SqlDateTime overflow. Must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.
>
>So, they are validating. My guess is that even if we go low level, this won't work as we would probably obtain the same.

Did you check the XML that was sent? This sounds as if my suggestion should work:
http://msdn.microsoft.com/en-us/library/ybce7f69(VS.80).aspx
Snip:
"When serializing objects into an XML document: If the XmlSerializer class encounters a null reference for an object corresponding to an XML element, it either generates an element that specifies xsi:nil="true" or leaves the element out entirely, depending on whether a nillable="true" setting applies."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform