SQL DateTime

  • Thread starter Thread starter Donnie
  • Start date Start date
D

Donnie

Howdy
my problem is i am calling a webservice from a asp written
in javascript, when i pass the xml to my web service it
contains strings and some sqldatetime variables, but when
the webservice receives the xml, the sqldatetime elements
are empty. the webservice is written in c#

any help would be great thx.
Donnie
 
Just a hunch, but it sounds to me like there is a type mis-match going on
that you don't know about. Try hard coding a SQL Datetime that you know is
right e.g. 1/1/1900 and see if it's still empty. Also make sure that the
receving xml (if it has a schema) is using the write datetime data type.

If all still fails, you can always pass a good date as a string and convert
it on the server. But this is worst case senario.

Let me know.

Nick Harris, MCSD
http://www.VizSoft.net
 
Back
Top