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 » TDF and Null Record

Post new topic  Reply to topic
 TDF and Null Record « View previous topic :: View next topic » 
Author Message
IntegratorWMB
PostPosted: Wed Oct 22, 2008 6:17 am    Post subject: TDF and Null Record Reply with quote

Apprentice

Joined: 06 Dec 2007
Posts: 27

I have an outgoing Message defined as follows:

Message - ComplexType (ALL Elements Delimited - LF)
AGENCY - ComplexType - AED - ;
AGENCYCOMMENTS - ComplexType - AED - :
CUSTOMER - ComplexType - AED - ;
CUSTOMER COMMENTS - ComplexType - AED -;

Some of the messages have AgencyComments Null resuting in

AGENCY

CUSTOMER
CUSTOMERCOMMENTS

instead I want it to be

AGENCY
CUSTOMER
CUSTOMERCOMMENTS

I dont want the blank line. I had defined AgencyComments with MinOccurs 0, still it doesnt solve it when it is null.

Is there a setting I should look for where if an element is empty it wont insert that element.

Thanks
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Oct 22, 2008 12:40 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

I think we need more information. This is my opinion based on what you have told us so far:
If your message is delimited, and there are no tags, then it would be a very bad idea to omit the line. How would the receiving application parse the message if lines can be omitted without warning?
On the other hand, if the lines have tags then you should be using Tagged Delimited, not All Elements Delimited.
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 » TDF and Null Record
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.