[Mono-bugs] [Bug 70266][Wis] New - Cannot convert SOAP Date to System.DateTime
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 6 Dec 2004 17:44:24 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by alt@inetlab.ru.
http://bugzilla.ximian.com/show_bug.cgi?id=70266
--- shadow/70266 2004-12-06 17:44:24.000000000 -0500
+++ shadow/70266.tmp.32520 2004-12-06 17:44:24.000000000 -0500
@@ -0,0 +1,50 @@
+Bug#: 70266
+Product: Mono: Class Libraries
+Version: 1.1
+OS: Red Hat 7.2
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Sys.Web.Services
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: alt@inetlab.ru
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Cannot convert SOAP Date to System.DateTime
+
+Description of Problem:
+Cannot convert SOAP Date to System.DateTime
+
+
+Steps to reproduce the problem:
+1. Create WebMethod
+ [WebMethod]
+ public DateTime ReturnDate(DateTime date)
+ {
+
+ return date;
+ }
+2. try to return date on asmx page
+
+
+Actual Results:
+The remote server returned an error: (500) Internal Server Error.
+Cannot convert 2004-12-07T01:59:47.2704200+04:00 to System.DateTime
+Parameter name: date --> Cannot cast from source type to destination type.
+
+
+Expected Results:
+<?xml version="1.0" encoding="iso-8859-1"?>
+<dateTime xmlns="http://www.inetlab.ru">2004-12-
+07T01:59:47.2704200+04:00</dateTime>
+
+
+How often does this happen?
+always
+
+
+Additional Information: