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 » How to configure repeating source and a repeating target ..

Post new topic  Reply to topic
 How to configure repeating source and a repeating target .. « View previous topic :: View next topic » 
Author Message
mirakal
PostPosted: Tue Nov 20, 2007 6:01 pm    Post subject: How to configure repeating source and a repeating target .. Reply with quote

Novice

Joined: 19 Sep 2007
Posts: 11

Hi,
I need to accomodate a repeating "Items" from a source schema to map the "List" on target schema and need the Output "List" to appear same way how the Items are repeated.

My source:
<CustomerOrder>
<CustomerDeatils/>
<Reference/>
<Items/> ----(1,unbound)
<CustomerOrder/>

My target"
<OrderType>
<Info/>
<VendorList/>
<List/>
<OrderType/>


If I follow the following will it deliver the desired result.

Configuring a repeating source and a repeating target
To map a repeating source element to a repeating target element drag elements between the Message Mapping editor Source and Target panes. The following items appear in the Spreadsheet pane:

A ‘for’ row with Value set to the repeating source element.
A row with Map Script set to the target field and Value set to the source field.
All occurrences of the source element are mapped to the respective occurrences of the target element. You can map repeating source structures to repeating target structures if the source and target are of the same complex type.

Need a little hint on how to use mapping node for this requirement on how to configure repeating source and a repeating target all under one transaction.

Thanks.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Nov 20, 2007 6:19 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Isn't there a direct topic in the Info Center about this?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mirakal
PostPosted: Tue Nov 20, 2007 9:32 pm    Post subject: Reply with quote

Novice

Joined: 19 Sep 2007
Posts: 11

Jeff,
I just want to know if configuring like the one in info center will not yield multiple output messages?

Thanks.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 21, 2007 5:48 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

mirakal wrote:
Jeff,
I just want to know if configuring like the one in info center will not yield multiple output messages?

Thanks.


What happens when you try it?

Do you want it to create multiple output messages? Or not?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mirakal
PostPosted: Wed Nov 21, 2007 6:47 am    Post subject: Reply with quote

Novice

Joined: 19 Sep 2007
Posts: 11

I mapped as per the info centre said but I get this error

:Invalid mapping $target/tns1:OrderType/tns1:List...omly accepts function call or source path with same coplextype as target path in expression.


And by the way no I dont need multiple output messages.

My input message as an array of Items which should create an array f Lists in the same message.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 » How to configure repeating source and a repeating target ..
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.