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 » Header content change

Post new topic  Reply to topic
 Header content change « View previous topic :: View next topic » 
Author Message
raas
PostPosted: Thu Apr 14, 2016 5:59 am    Post subject: Header content change Reply with quote

Newbie

Joined: 14 Apr 2016
Posts: 2

Hi

I had a requirement like The content of header need to be changed. Source and destination system

Request is like

<LinksInfo OriginSystemCode="1V" OriginVendorCode="1V" OriginVendorType="GDS" DestinationSystemCode="F1" DestinationVendorCode="AA" DestinationVendorType="AIR" Function="AIRLINE" TrackingId="4206B5230A0771EA01D2165F83CF3920" >
AND the reply should be

<LinksInfo OriginSystemCode="F1" OriginVendorCode="AA" OriginVendorType="GDS" DestinationSystemCode="1V" DestinationVendorCode="1V" DestinationVendorType="AIR" >

Like this
can any one help me
how we can do it using ESQL
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Apr 14, 2016 6:03 am    Post subject: Re: Header content change Reply with quote

Grand High Poobah

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

raas wrote:
how we can do it using ESQL


Same way you'd change any other XML using ESQL. The only thing that's not obvious at first glance is how you'd know to change "1V" to "F1", and I'd assume that's a look up into a table or other map.

Given that this is so easy, what did you try? What happened when you tried it? What about this requirement that you've not mentioned makes it hard? There's no point us suggesting things which have not worked for you, or miss out an important step.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
raas
PostPosted: Thu Apr 14, 2016 6:08 am    Post subject: Reply with quote

Newbie

Joined: 14 Apr 2016
Posts: 2

The Request we are getting From MULE in a MQ Queue..we are saving only the LINKHUB content and sending the request to WTX for mapping and then a HTTP request Is send to FareLogix and getting the response. The response is send to WTX for mapping again and i am saving that response back and adding the LinkHUB content to the response and sending reponse back to MULE.

In the meanwhile i need to change the LINKHUB content of source and Destination?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Apr 14, 2016 6:17 am    Post subject: Reply with quote

Grand High Poobah

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

raas wrote:
In the meanwhile i need to change the LINKHUB content of source and Destination?


So you said.

I repeat my earlier comments.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Apr 14, 2016 7:04 am    Post subject: Re: Header content change Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

raas wrote:
how we can do it using ESQL


Vitor wrote:
Same way you'd change any other XML using ESQL.


Vitor wrote:
Given that this is so easy, what did you try? What happened when you tried it?

_________________
chmod -R ugo-wx /
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 » Header content change
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.