|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Problem mapping output XML msg to input XML msg |
« View previous topic :: View next topic » |
Author |
Message
|
AlexeiSkate |
Posted: Sat Jun 08, 2002 1:00 pm Post subject: Problem mapping output XML msg to input XML msg |
|
|
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 |
|
 |
kirani |
Posted: Sat Jun 08, 2002 4:51 pm Post subject: |
|
|
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 |
|
 |
AlexeiSkate |
Posted: Mon Jun 10, 2002 7:15 am Post subject: |
|
|
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 |
|
 |
jdouch |
Posted: Mon Jun 10, 2002 10:46 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|