Author |
Message
|
cross_worlds |
Posted: Wed Apr 27, 2005 10:56 am Post subject: CWF Message & ANSI value problem |
|
|
Apprentice
Joined: 29 Dec 2004 Posts: 27
|
Hi All
Operating System : WIN XP
Running WBIMB 5.0 and MQ 5.3
I just created a CWF message. One of the element tradeCount is defined as xsd:int. I put a test message on the queue with tradeCount value as 1 but in the trace file I see the value of it as 49.
why is it considering 1 as ansi character and converting it to 49 ?
how do i get around this one ?
thanks in advance[/b] |
|
Back to top |
|
 |
cross_worlds |
Posted: Wed Apr 27, 2005 12:10 pm Post subject: |
|
|
Apprentice
Joined: 29 Dec 2004 Posts: 27
|
please please please.................. let me know the solution .
i have to complete this today ............ |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Apr 27, 2005 12:45 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It's doing what you told it to do.
You haven't given enough information about what you told it to do, to help us tell you how to fix it. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
cross_worlds |
Posted: Wed Apr 27, 2005 7:31 pm Post subject: |
|
|
Apprentice
Joined: 29 Dec 2004 Posts: 27
|
hey Jeff
All I did for initial testing: created a msg set with element tradeCount is defined as int.
created a msg flow with input node -> trace node -> output node.
i put a test message using enqueue message. (message data:1)
when i checked the trace ..... it shows tradeCount as 49 rather than 1.
i want it to show as 1 in the trace and output queue.
( i never had this type of issue in mqsi previous versions... kinda new to wbimb) |
|
Back to top |
|
 |
kimbert |
Posted: Tue May 03, 2005 12:54 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5543 Location: Southampton
|
Adjust the physical type in the CWF properties. You are obviously passing in the digit '1' which has a value (in ASCII) of 0x31, decimal 49. So set the physical type to 'External Decimal' with a length of 1. |
|
Back to top |
|
 |
|