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 » Problem mapping output XML msg to input XML msg

Post new topic  Reply to topic
 Problem mapping output XML msg to input XML msg « View previous topic :: View next topic » 
Author Message
AlexeiSkate
PostPosted: Sat Jun 08, 2002 1:00 pm    Post subject: Problem mapping output XML msg to input XML msg Reply with quote

Centurion

Joined: 10 Apr 2002
Posts: 123

I want to assign a field from my output XML message to a field from my input XML message but can't get it go work.

When I assign my output field to a string message, then it works. e.g. The following ESQL maps fine: SET "OutputRoot"."XML"."HeaderElements"."CDESCRIPTION" = 'Test Description';

But the following ESQL does not do anything:
SET "OutputRoot"."XML"."HeaderElements"."CDESCRIPTION" = "InputBody"."MD01"."MerchantNumber";
I've set breakpoint to determine that the input msg does have a value for the MerchantNumber. I've checked and rechecked all of the qualifiers that I've used in my assignment statement and also tried different combinations of qualifiers but couldn't see anything obvious. Does anyone have any suggestions as to what else I might be missing in my mapping statement ?

Thanks,
Alex
Back to top
View user's profile Send private message
kirani
PostPosted: Sat Jun 08, 2002 4:51 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Looks like there is a small typo error somewhere. I would put a trace node before the compute node and then verify the level for MerchantNumber and MD01 in incoming message. I would then copy Element names from Trace file and paste them into Compute node.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
AlexeiSkate
PostPosted: Mon Jun 10, 2002 7:15 am    Post subject: Reply with quote

Centurion

Joined: 10 Apr 2002
Posts: 123

Thanks Kiran.

I used the trace node to examine the input msg and was able to access the input msg field. I'm kind of suprised that doing the drag and drop on the ESQL panel didn't generate the correct format for the input msg.

- Alex
Back to top
View user's profile Send private message
jdouch
PostPosted: Mon Jun 10, 2002 10:46 am    Post subject: Reply with quote

Apprentice

Joined: 31 May 2002
Posts: 32
Location: London, UK

I have found recently that by using the RFHUtil (IBM support pac) is a useful way to get the field references. You read in your input file, click on a parsed button and it shows the field reference for each field. all you have to do when you write your is put the InputRoot.XML on the front. This can reduce those little typos that take ages to find !!

Julian
_________________
Julian Douch
E-business Solutions Consultant

WMQ/WMQI Specialist
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Problem mapping output XML msg to input XML msg
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.