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 » relate two XML messages

Post new topic  Reply to topic
 relate two XML messages « View previous topic :: View next topic » 
Author Message
rkford11
PostPosted: Tue Dec 14, 2004 5:05 pm    Post subject: relate two XML messages Reply with quote

Partisan

Joined: 06 Jun 2004
Posts: 316

Hi

I have two XML messages and i want to relate them i.e values in one XML message should be mapped to the other XML message.
how can i do this. my understanding is to use mapping node. but when i insert mapping node and open mappings i am not sure how to include
the source and target. please guide me through this.

Thanks
Back to top
View user's profile Send private message
JT
PostPosted: Tue Dec 14, 2004 5:21 pm    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Did you create a mapping file (.mfmap)?
Back to top
View user's profile Send private message
rkford11
PostPosted: Tue Dec 14, 2004 5:33 pm    Post subject: Reply with quote

Partisan

Joined: 06 Jun 2004
Posts: 316

JT wrote:
Did you create a mapping file (.mfmap)?



I have a problem in doing that. i go to Application perspective-new-.mfmap file. i create it. i see source and target window.
right click-add message schemas but i am not able to add the schema which is present on the desktop. please guide me in creating the file.

Thanks
Back to top
View user's profile Send private message
JT
PostPosted: Tue Dec 14, 2004 5:48 pm    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

These step-by-step instructions can be found in the Help section of the toolkit:

Quote:

Adding a message mapping output

The following steps show you how to add a message mapping output (target).
  • From the Navigator view, double-click the mapping file with which you want to work. The Mapping view appears.
  • In the resulting Target view, right-click the white space.
  • From the list, select Add Message Mapping Output.
  • From the left view in the Add Message Schemas window select the message schema (.mxsd) that you want to use for your output message.
  • Select the output message that you want to use from the right view.
  • If the message is from a project that has not been previously referenced click Next; otherwise click Finish.
  • If you click Next, the Add Project Reference view is displayed, in which you can confirm the project reference in the checkbox and click Finish. The message structure now appears in the Message Target mapping view.
Back to top
View user's profile Send private message
rkford11
PostPosted: Tue Dec 14, 2004 9:12 pm    Post subject: Reply with quote

Partisan

Joined: 06 Jun 2004
Posts: 316

Thanks JT for your response. so now if i match the two xml using map file when i send the input as XML in one format, i would receive the data in the other xml format. Please let me more points and if possible document relating to this topic.

Thanks
Back to top
View user's profile Send private message
kirani
PostPosted: Tue Dec 14, 2004 11:50 pm    Post subject: Reply with quote

Jedi Knight

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

You can find more info in Online Help System in your Toolkit application.
_________________
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
rkford11
PostPosted: Wed Dec 15, 2004 11:39 am    Post subject: Reply with quote

Partisan

Joined: 06 Jun 2004
Posts: 316

kirani wrote:
You can find more info in Online Help System in your Toolkit application.


I have created mapping between the source and target and used the file in the mapping node.
i/p --> Map --> o/p

when i send the i/p message it passes thru the mapping node but i dont see anything in the o/p queue. please guide me through this.

Thanks
Back to top
View user's profile Send private message
kirani
PostPosted: Wed Dec 15, 2004 12:22 pm    Post subject: Reply with quote

Jedi Knight

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

Are there any errors logged into your Event Viewer for this message flow? You can also try capturing your ExceptionList, which will give you more details about the error.
_________________
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
rkford11
PostPosted: Wed Dec 15, 2004 3:08 pm    Post subject: Reply with quote

Partisan

Joined: 06 Jun 2004
Posts: 316

kirani wrote:
Are there any errors logged into your Event Viewer for this message flow? You can also try capturing your ExceptionList, which will give you more details about the error.


I dont find any errors in the event viewer.do we have to map each and every field from source to target, because i want he target message with the mapped input values.
how can i do this?

Thanks
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 » relate two XML messages
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.