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 » Node Mapping

Post new topic  Reply to topic
 Node Mapping « View previous topic :: View next topic » 
Author Message
lab_vmm
PostPosted: Mon Aug 09, 2010 2:33 am    Post subject: Node Mapping Reply with quote

Newbie

Joined: 09 Aug 2010
Posts: 4

I need to create a sequence on a node mapping.

For example:

<quantity>1</quantity>
<quantity>2</quantity>

Help me?
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 09, 2010 4:15 am    Post subject: Re: Node Mapping Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

lab_vmm wrote:
Help me?


With what? What's the problem?

Your question describes an unbelievably simplistic problem. What happened when you tried this? Error messages? Unexpected results? Flying monkeys out the back of your computer? Or did the documentation have too many long words and not enough pictures?

More information leads to better advice. It also prevents us suggesting what has already failed to work for you.

Though given what you're trying to do, I shudder to think how anything could fail to work....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lab_vmm
PostPosted: Mon Aug 09, 2010 4:22 am    Post subject: help me? Reply with quote

Newbie

Joined: 09 Aug 2010
Posts: 4

I have a XML:

<TravelerInfoSummary>
<AirTravelerAvail>
<PassengerTypeQuantity Quantity="2" Code="ADT" Age="20"/>
<PassengerTypeQuantity Quantity="1" Code="CHD" Age="7"/>
<PassengerTypeQuantity Quantity="1" Code="INF" Age="1"/>
<AirTraveler PassengerTypeCode="ADT" AccompaniedByInfant="true">
<TravelerRefNumber RPH="1"/>
</AirTraveler>
</AirTravelerAvail>
</TravelerInfoSummary>

and I need transform in other XML:

<passengersGroup>
<segmentRepetitionControl>
<segmentControlDetails>
<quantity>1</quantity>
<numberOfUnits>2</numberOfUnits>
</segmentControlDetails>
</segmentRepetitionControl>
<travellersID>
<travellerDetails>
<measurementValue>1</measurementValue>
</travellerDetails>
<travellerDetails>
<measurementValue>2</measurementValue>
</travellerDetails>
</travellersID>
<ptcGroup>
<discountPtc>
<valueQualifier>ADT</valueQualifier>
</discountPtc>
</ptcGroup>
</passengersGroup>

where <quantity> is a field sequence....

how do I transform this field?
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 09, 2010 4:24 am    Post subject: Re: help me? Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

lab_vmm wrote:
how do I transform this field?


The same way you're transforming the rest of the document. I still don't see your problem.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lab_vmm
PostPosted: Mon Aug 09, 2010 4:30 am    Post subject: Reply with quote

Newbie

Joined: 09 Aug 2010
Posts: 4

No, I can't transform this field because it's a fixed field.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 09, 2010 4:35 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

lab_vmm wrote:
No, I can't transform this field because it's a fixed field.


Yes you can. You have complete control over what comes out of the broker.

(I'm assuming you're using broker as you talk about nodes, but you've not actually said so. Nor have you mentioned what version. And you've posted this in a non-broker section).
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lab_vmm
PostPosted: Mon Aug 09, 2010 4:38 am    Post subject: Reply with quote

Newbie

Joined: 09 Aug 2010
Posts: 4

Ok. Thank you.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Aug 09, 2010 10:16 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

moved to correct forum
_________________
MQ & Broker admin
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 » Node Mapping
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.