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 Message Broker (ACE) Support » xml 2 cwf mapping: time problem

Post new topic  Reply to topic
 xml 2 cwf mapping: time problem « View previous topic :: View next topic » 
Author Message
RAIQ
PostPosted: Wed Jul 06, 2005 7:26 am    Post subject: xml 2 cwf mapping: time problem Reply with quote

Novice

Joined: 06 Feb 2003
Posts: 23
Location: Switzerland

hi

i have 2 message definition files, one for xml (input) and one for cwf (output: fixed length)
the xml definition file, i have created with xml schema importer. so, in this mrm message is a xs:time field with physical representation: HH:mm:ssZZZ
at the output message there is also a xs:time field with cwf-definition as follows:
    logical properties: type = time
    cwf properties: ph. type = fixed length string
    format = HH:mm:ssZZZ
    length count = 14
    length units = bytes


for the message set i use the default-values. broker v5 runs on z/os

when i put a message with the following time-value:
    <myTime>15:00:01</myTime>

the result in the cwf-message is:
15:00:01+01:00

thats okay.

but, when i put the following:
    <myTime>15:00:01+05:00</myTime>

the result is an error:
Code:
RecoverableException  BIP2521E: (.ITIP_FORM_FTR2_Mapping.Main, 86.51) : Error casting a value from CHARACTER to TIME.
                                       An error occurred when casting a value of data type CHARACTER to a value of data type TIME.
                                       Subsequent messages will indicate the context of the error.
2005-07-06 15:56:01.445746       29   RecoverableException  BIP2458E: Error casting character string ''14:20:00-05:00'' to a time.
                                       The character string had the value ''14:20:00-05:00''. A character string must have the form 'TIME 'hh:mm:ss[.f+]'', or 'hh:mm:ss[.f+]' for it to be castable to a time value.
                                       Ensure that the string represents a valid time value.

does anybody known the problem? where are my mistakes, i just like to map an xml-message to a fixedlength

thanx for help!
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » xml 2 cwf mapping: time problem
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.