Hi, I’m a relative newbie with webMethods, but I know that this should be completely doable.
I have a flow service that is mapping an OAG canonical file. It has a mapping step that calls pub:dateTimeFormat to transform a date value.
The input string is specified as ‘yyyy-MM-dd HH:mm:ss.SSSS z’ (no quotes, natch.)
The output string is specified as ‘yyyyMMdd’.
The inString value in the pipeline is ‘2007-04-18 14:13:26.0131 -0500’.
And yet, no matter what I do, it is throwing an exception.
Now, here’s the bizarre part: if I define a string variable in the previous step and set the value to 2007-04-18 14:13:26.0131 -0500, and use that to input to the inString value in the signature, the transformer works.
So what on Earth could be wrong that it’s choking on the canonical, yet munching away on the string?
#Flow-and-Java-services#Integration-Server-and-ESB#webMethods