Hello,
We have tried to use the service pub.date:dateTimeFormat to validate an input date.
When the date is null or is a formal string (ex : 'is_not_a_date) or doesn’t respect the current pattern, the service generates an exception.
But, if the string respects the current pattern but is not a “calendar” date (ex : 2007-14-06 16:27:32), these date is accepted by the service and transformed in a “valid” date : 2008-02-06 16:27:32 - if the newpattern is the same).
We are amazed by that fact
.
(I’m not a java expert
)
Thanx in advance for your response.
Christophe
#Flow-and-Java-services#Integration-Server-and-ESB#webMethods