Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Verification on Web Service
Message
From
06/10/2010 12:19:58
 
 
To
06/10/2010 11:56:57
General information
Forum:
ASP.NET
Category:
Web Services
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01484151
Message ID:
01484180
Views:
37
>>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."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform