In my SOAP request I am setting the start date as shown:


However, I am getting the following error:

<faultstring xml:lang="en-US">The formatter threw an exception while
trying to deserialize the message: There was an error while trying to
deserialize parameter
urn:Epic-com:Security.2012.Services.PersonnelManagement:End Date. The
InnerException message was 'There was an error deserializing the object
of type System.DateTime. The value 'Z' cannot be parsed as the type
'DateTime'.'. Please see InnerException for more

Any idea how to overcome this. The W3C XML Schema dateTime data type has
valid values in one of the following forms:

trailingZ 2007-11-28T16:00:00.000Z (time at GMT)
offset 2007-11-28T16:00:00.000-04:00 (4PM US Eastern)

How to create one with the above format?

joydeepg's Profile:
View this thread: