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 » Problem in converting boolean XML to CWF

Post new topic  Reply to topic
 Problem in converting boolean XML to CWF « View previous topic :: View next topic » 
Author Message
EhsanSaiavash
PostPosted: Sat May 27, 2017 11:21 pm    Post subject: Problem in converting boolean XML to CWF Reply with quote

Newbie

Joined: 27 May 2017
Posts: 2

Hi everybody,

I am sorry if I am asking this question in a wrong place or if it is too basic.

I have a very simple flow which gets an XML message from a queue and puts the message with a custom wire format in another queue for a CICS transaction to use.

I use the "Reset Content Descriptor" node to convert the XML message to the custom wire format. The message includes a boolean filed that is recognized as a character filed(IsConfirmed:CHARACTER:true) when getting message from the queue.
The problem is that the "Reset Content Descriptor" node fails when it tries to convert the boolean field to the custom wire format. The node throws BIP5170(CWF invalid boolean value).

I also tried to cast the filed to boolean before it is processed by the RCD node(IsConfirmed:BOOLEAN:true). But the same exception was thrown.

Thank you in advance for your time and advice.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun May 28, 2017 9:21 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

You must explicitly define the true and false values for the CWF boolean field.
Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
timber
PostPosted: Sun May 28, 2017 1:39 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

Just wondering...is there a reason why you are using MRM CWF and not DFDL for this task?
Back to top
View user's profile Send private message
EhsanSaiavash
PostPosted: Sun May 28, 2017 9:29 pm    Post subject: Reply with quote

Newbie

Joined: 27 May 2017
Posts: 2

fjb_saper wrote:
You must explicitly define the true and false values for the CWF boolean field.
Have fun


I am using WMB 7 and as I know there is just one place to set CWF properties. That is *.mset -> Custom Wire Formats -> MyCWF -> "Binary representation of boolean values".

The boolean field has logical and physical properties that non of them include somewhere to define the true and false values. Could you please explain me where to explicitly define the values?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem in converting boolean XML to CWF
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.