Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Verification on Web Service
Message
From
06/10/2010 12:25:00
 
 
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:
01484181
Views:
29
>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."

We cannot check the XML because this is under HTTPS. So, no matter what tool we would use, everything goes out encrypted.

Basically, when I did the test, I put loDocumentDates.stCloseDate=nothing. This has resulted in the Web Service to validate our request and reject it. There is some kind of validation out there and it cannot accept anything under 1753. So, when passing nothing, which should be the equivalent of NULL, as DBNull.Value cannot be assigned as is to a date type, this goes out of scope and cannot be validated.

There is a request presently that has been sent to them in order to adjust something on their end. We will see how it goes.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform