Discussion

1
Replies
571
Views
ZuzanaG8 Member since 2015 1 post
PwC
Posted: October 15, 2015
Last activity: October 22, 2015
Closed

Problems with sending xml message with element in dateTime format

How can I send an xml message which contains element which has got dateTime format ? 
I need to send value like this "2015-09-29T08:30:28.000+02:00"

In case that the property I'm sending has got Text format in Pega, I've got an error message when creating response: "String was not a datetime" (dateTime format according to xsd schema is correct) 

In case that the property I'm sending has got dateTime format I need to convert my value into dateTime. I tried it using function formatDateTime, and toDateTime but It does not work for my value. I could get through validation without any error but in my response I got just default dateTime value "1970-01-01T00:00:00.000Z" 

I would appreciate any help

Data Integration
Moderation Team has archived post
Share this page LinkedIn