S
srini.venkatesan
I am creating an XML webservice where by I am sending the a string of
XML to the consumer.
The consumer receives the XML and converts into dataset and able to
update the rows to the database. The problem I am having is when I
create the intial dataset in XML web service, I use the ADO.net to
populate the dataset, as I have some columns having null values for
certain rows, especially datefields, those are not sent over in the XML
or dataset generated.
So while parsing the XML or traversing the dataset in the client side
for the date column, obviously I will get the error, I am not sure what
other ways I can do to prevent it.
I thought of adding codegen and Typed dataset, is that the only option,
even then I have to default to a certain value right ? Any help is
appreciated.
XML to the consumer.
The consumer receives the XML and converts into dataset and able to
update the rows to the database. The problem I am having is when I
create the intial dataset in XML web service, I use the ADO.net to
populate the dataset, as I have some columns having null values for
certain rows, especially datefields, those are not sent over in the XML
or dataset generated.
So while parsing the XML or traversing the dataset in the client side
for the date column, obviously I will get the error, I am not sure what
other ways I can do to prevent it.
I thought of adding codegen and Typed dataset, is that the only option,
even then I have to default to a certain value right ? Any help is
appreciated.