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 issue

Post new topic  Reply to topic
 CWF issue « View previous topic :: View next topic » 
Author Message
kt76
PostPosted: Fri Mar 12, 2004 12:49 am    Post subject: CWF issue Reply with quote

Acolyte

Joined: 18 Jan 2004
Posts: 52

I have created a message set with the CWF format and defined padding characters etc.

I get an XML input, pass it thriugh an RCD and then need to map the i/p to my o/p XML.

In my mapper i drag and drop the appropriate i/p to o/p mappings. I also set the Output message property as CWF. Some fields in my output do not have any mapping as they are extra. When ithis message is put on an o/p queue, i get a CWF writing error.

Is it that i need to give some default value say ' ' for fields that i do not need. I tried doing that and the o/p was fine.
Is there any cleaner way of doing this.
Back to top
View user's profile Send private message
rajaram
PostPosted: Fri Mar 12, 2004 8:11 am    Post subject: Reply with quote

Acolyte

Joined: 02 Jan 2004
Posts: 53

Hi,

U can set the default value constraint for the element. Suppose u want the element(a string type) to have spaces, set the default value to a single space or to zero if the element is integer.

Hope this helps..
Back to top
View user's profile Send private message
Missam
PostPosted: Fri Mar 12, 2004 8:17 am    Post subject: Reply with quote

Chevalier

Joined: 16 Oct 2003
Posts: 424

If you have optional elements in CWF.you need to specify them with empty tags in your compute node ''.other wise it won't work.this is an issue with the MRM in TDS also.
Back to top
View user's profile Send private message
fjcarretero
PostPosted: Fri Mar 12, 2004 8:21 am    Post subject: Reply with quote

Voyager

Joined: 13 Oct 2003
Posts: 88

Hi,

You can always define default values, so you don't have to specifically set them.

Hope this helps.
Felipe
Back to top
View user's profile Send private message
Missam
PostPosted: Fri Mar 12, 2004 8:37 am    Post subject: Reply with quote

Chevalier

Joined: 16 Oct 2003
Posts: 424

I Tried to work it out the concept of default values in CSD2 .but it doesn't work.By the way what level of CSD's are you using
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Mar 12, 2004 8:46 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

IamSam wrote:
I Tried to work it out the concept of default values in CSD2


There have been a large number of issues and problems relating to default values fixed since CSD02.

You should really find a way to upgrade to at least CSD03, and preferrably CSD06, as soon as you can.

But none of this has to do with the original question.
_________________
I am *not* the model of the modern major general.
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 issue
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.