I’m trying to send a
DateTime as a parameter to a method exposed over a WCF RESTful service with JSON encoding. The request looks like this:
POST http://IP:PORT/LogService/json/GetLogEntriesByModule HTTP/1.1
User-Agent: Apache-HttpClient/UNAVAILABLE (java 1.4)
I tried several formats for the
2010-07-01T10:54:00(which is send by the
WCFTestClientapplication over NET.TCP and it gets results
The method definition:
out bool maxEntriesReached
I always get the following response:
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Date: Fri, 02 Jul 2010 09:07:04 GMT
It seems the
DateTime isn’t correctly parsed, because there are several entries in the Llog for that time.
Does anyone know on how to do this?
Update: The problem was on the server side and has been resolved.