ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Process Server (WID/WPS/WAS+) » Issue in setting Current dateTime

Post new topic  Reply to topic
 Issue in setting Current dateTime « View previous topic :: View next topic » 
Author Message
datspats
PostPosted: Mon Jun 07, 2010 10:14 pm    Post subject: Issue in setting Current dateTime Reply with quote

Voyager

Joined: 12 Apr 2007
Posts: 80
Location: Mumbai

Hi,

We are getting error in setting Current dateTime value in the field.
In the mediation flow, XSL transformation, I am using Format date as the setter function, and in Properties box, I am selecting
"Current Date and Time" option and Pattern "yyyy-MM-dd hh:mm:ss".

But during execution we are getting error as

Caused by: org.eclipse.emf.ecore.xml.type.InvalidDatatypeValueException: Year separator is missing or misplaced.

Caused by: org.eclipse.emf.ecore.xmi.IllegalValueException: Value '2010-06-08 11:33:38' is not legal.

Is this issue with the Format, If yes, what is the right pattern need to set for current dateTime.
Back to top
View user's profile Send private message Yahoo Messenger
datspats
PostPosted: Wed Jun 09, 2010 2:17 am    Post subject: Reply with quote

Voyager

Joined: 12 Apr 2007
Posts: 80
Location: Mumbai

To note, We are using WID 7.0.0.2
Back to top
View user's profile Send private message Yahoo Messenger
datspats
PostPosted: Mon Jun 14, 2010 1:11 am    Post subject: Reply with quote

Voyager

Joined: 12 Apr 2007
Posts: 80
Location: Mumbai

I have also used the following in the Custom XSLT
and it still gives the error.
ExsltDatetime:formatDate(ExsltDatetime:dateTime(),'yyyy-MM-dd HH:mm:ss')
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Process Server (WID/WPS/WAS+) » Issue in setting Current dateTime
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.