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 » Initializing Output MRM

Post new topic  Reply to topic
 Initializing Output MRM « View previous topic :: View next topic » 
Author Message
pkchan
PostPosted: Thu Feb 07, 2002 9:38 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
kirani
PostPosted: Thu Feb 07, 2002 10:00 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
mpuetz
PostPosted: Thu Feb 07, 2002 10:40 am    Post subject: Reply with quote

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
View user's profile Send private message
Miriam Kaestner
PostPosted: Fri Feb 08, 2002 2:10 am    Post subject: Reply with quote

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
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 » Initializing Output MRM
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.