|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Problem with Boolean values in MRM |
« View previous topic :: View next topic » |
Author |
Message
|
Blobtastic |
Posted: Tue Aug 24, 2004 6:11 am Post subject: Problem with Boolean values in MRM |
|
|
Apprentice
Joined: 03 Nov 2003 Posts: 34 Location: uk
|
Hi All,
I am using an XML schema that I have been supplied with, and it has various elements defined as Boolean.
According to the 'Working with messages' manual, I should be able to set the value as either :-
SET OutputRoot.MRM.BooleanElement1 = true;
SET OutputRoot.MRM.BooleanElement1 = 1;
or similar for false.
The problem I am having is that whatever value I set, I am getting empty output - that is, for the above, depending on what tool I use to read the output, I get
<BooleanElement1></BooleanElement1> or
<BooleanElement1/>
I am using v2.1, CSD 6. Has anyone experienced this problem before, or can offer any suggestions of what the problem may be?
Many thanks |
|
Back to top |
|
 |
shanson |
Posted: Tue Aug 24, 2004 9:49 am Post subject: |
|
|
 Partisan
Joined: 17 Oct 2003 Posts: 344 Location: IBM Hursley
|
At the message set level there are two XML format properties that allow you to specify how you want XML boolean true and false to appear. Have they been set correctly? If the value for boolean true property is empty then that would explain what you are seeing. |
|
Back to top |
|
 |
Blobtastic |
Posted: Wed Aug 25, 2004 12:44 am Post subject: |
|
|
Apprentice
Joined: 03 Nov 2003 Posts: 34 Location: uk
|
Brilliant, thanks Steve.
easy when you know how, isn't it! |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|