|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Initializing Output MRM |
« View previous topic :: View next topic » |
Author |
Message
|
pkchan |
Posted: Thu Feb 07, 2002 9:38 am Post subject: |
|
|
Newbie
Joined: 06 Feb 2002 Posts: 1
|
Hi all,
I am mapping a XML input message into a MRM output message. The field names in the XML are not the same as the element names in the MRM. There are only 10 fields in the XML structure, but there are close to 100 elements in the output MRM that are mixtures of PIC X, PIC 9 and COMP-3 types.
Problem is when I don't explicitly SET all the unmapped fields:
SET OutputRoot.MRM.Field8 = ' ';
then I'll get an error message in the broker:
ParserException BIP5292E: Custom Wire Format error: Expected element not
found: message set 'DKS4MHK0DK001'; message 'E0TUPL_MSG'; parent
element 'MRM'; current element 'DARB'; function
name 'PutMessageToLegacyBitstream'; error code '-35'.
While mapping a physical data type to a logical type an expected element was
no found.
Check that the current element given above is in the incoming message.
Does anyone have an elegant way to initialize the OutputRoot.MRM without having to type too much? Any idea is appreciated. Thanks.
--Perry |
|
Back to top |
|
 |
kirani |
Posted: Thu Feb 07, 2002 10:00 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Perry,
I don't think there is any option to default MRM fields in MQSI. However, you can save some typing efforts by right clicking on MRM element and select "add mapping" (in compute node). This will add text "OutputRoot"."MRM".... in your compute node. Now, you just need to assign some default value to that particular element.
Kiran
|
|
Back to top |
|
 |
mpuetz |
Posted: Thu Feb 07, 2002 10:40 am Post subject: |
|
|
Centurion
Joined: 05 Jul 2001 Posts: 149 Location: IBM/Central WebSphere Services
|
Hi,
default values for MRM elements are only introduced in WMQI Version 2.1.
_________________ Mathias Puetz
IBM/Central WebSphere Services
WebSphere Business Integration Specialist |
|
Back to top |
|
 |
Miriam Kaestner |
Posted: Fri Feb 08, 2002 2:10 am Post subject: |
|
|
Centurion
Joined: 26 Jun 2001 Posts: 103 Location: IBM IT Education Services, Germany
|
addendum to Mathias:
... and default values are only validated at runtime for CWF. |
|
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
|
|
|
|