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 » CWF Message & ANSI value problem

Post new topic  Reply to topic
 CWF Message & ANSI value problem « View previous topic :: View next topic » 
Author Message
cross_worlds
PostPosted: Wed Apr 27, 2005 10:56 am    Post subject: CWF Message & ANSI value problem Reply with quote

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
View user's profile Send private message
cross_worlds
PostPosted: Wed Apr 27, 2005 12:10 pm    Post subject: Reply with quote

Apprentice

Joined: 29 Dec 2004
Posts: 27

please please please.................. let me know the solution .
i have to complete this today ............
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Apr 27, 2005 12:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
cross_worlds
PostPosted: Wed Apr 27, 2005 7:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
kimbert
PostPosted: Tue May 03, 2005 12:54 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
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
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 » CWF Message & ANSI value 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.