>A client has a Web Service. In order to call it, we use a .NET client in high level. So, when we call the method, we have to pass objects, as this is a complex structure. So, several parameters are being passed as object. Then, in each, we have some properties which are, in one case, dates. So, when I initialize it for that case, it goes like this:
>
>
> ' Define the document dates object
> loDocumentDates.dtDocumentDate = loRow("CloseDate")
>
>
>Then, later on, loDocumentDates is passed as one of the parameters.
>
>This has worked for two weeks. We have sent a bunch of data over there. Last night, we discovered that that client has a special request when we send an empty date. When, this is the case, they want us to send it like this:
>
>
><dtDocumentDate xsi=nil=true/>
>
>
>Well, we are high level. In order to manipulate the XML as is, we would need to turn it low level by using SOAP. Has anyone found any other way?
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.....