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 » MRM TDS empty message out?

Post new topic  Reply to topic
 MRM TDS empty message out? « View previous topic :: View next topic » 
Author Message
madi
PostPosted: Mon Jun 30, 2008 8:27 am    Post subject: MRM TDS empty message out? Reply with quote

Chevalier

Joined: 17 Jan 2006
Posts: 475

Hi All

I have a MRM def setup and am trying to populate it from an incoming XML

i can see the MRM tree before it goes to the output Q but once it gets there the message itself is empty

what am i doing wrong?

Code:
REATE LASTCHILD OF OutputRoot DOMAIN ('MRM');   
         SET outRoot.Properties.MessageSet = 'JD4BC80002001';
         SET outRoot.Properties.MessageType = 'FixedSampleMessage';--'AgreementContacts';
         SET outRoot.Properties.MessageFormat = 'TDS1';
--         SET outRoot.Properties.MessageDomain = 'MRM';
         
         DELETE FIELD OutputRoot.MQRFH;
         
         SET outRoot.MQMD.Format = 'MQSTR';
      
         SET outRoot.MRM.Data1 = svcAgr_cur.ns1:BilltoAccountId;         
         SET outRoot.MRM.Data2 = svcAgr_cur.ns1:BilltoAccountName;
         SET outRoot.MRM.Data3 = svcAgr_cur.ns1:BilltoAccount;


Trace:
Quote:
(0x01000000):MRM = (
(0x03000000):Data1 = '1-2EDEX'
(0x03000000):Data2 = 'Acer America, Inc.'


--madi
_________________
IBM Certified Solutions Developer - WMB 6.0
Back to top
View user's profile Send private message
harish_td
PostPosted: Mon Jun 30, 2008 11:57 pm    Post subject: Reply with quote

Master

Joined: 13 Feb 2006
Posts: 236

Hi Madi,

I have also seen such a behavior. In the debug perspective and also in the trace node after the data enrichment the message tree is built properly.
However on the output queue the data is 0 bytes.

As a rule of thumb, i create the top most element as
CREATE OutputRoot.MRM.ResultMsg AS rOut;

and then start on with the LASTCHILD and the NEXTSIBLING message building.

I have found that it works for me.

--Harish
Back to top
View user's profile Send private message Yahoo Messenger
Gaya3
PostPosted: Tue Jul 01, 2008 12:17 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

this is due to the reference is not working properly.

Use OutputRoot with out any reference.

like below
SET OutputRoot.Properties.MessageSet = 'JD4BC80002001';

or create a last child and go on creating NEXTSIBLING also sounds good
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
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 » MRM TDS empty message out?
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.