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

Re: SQL DateTime by Nick

Nick
Fri Jan 09 17:29:25 CST 2004

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

"Donnie" <dregan@aspen-connect.com> wrote in message
news:4e5901c3d6a7$b9e2d900$7d02280a@phx.gbl...
> 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