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 » General IBM MQ Support » Best way to convert XMl to flat message (Client--> server

Post new topic  Reply to topic
 Best way to convert XMl to flat message (Client--> server « View previous topic :: View next topic » 
Author Message
middlewareonline
PostPosted: Mon Sep 23, 2002 8:04 am    Post subject: Best way to convert XMl to flat message (Client--> server Reply with quote

Acolyte

Joined: 09 Jul 2001
Posts: 73

Senario: Client is JMS/MQSeries, that receives an XML message. Needs to transfer this into flat message (this is what host needs. Host does not accepts XML messages). We can NOT write server-side code (Channel Exits etc.) NO modification on what is running. Everything has to be done on client-side.

So , you got the real picture. No what is the best way (if there is one) to convert XML to flat (don't forget flat to XML as reply).

Suggestions welcome.

Raj
Back to top
View user's profile Send private message Visit poster's website
kavithadhevi
PostPosted: Mon Sep 23, 2002 9:44 am    Post subject: Reply with quote

Master

Joined: 14 May 2002
Posts: 201
Location: USA

Try an application which gets invoked via trigger when a messages arrives on the intermediate Queue, and this application takes care of the conversion and put to the destination queue, vice versa convert the flat into xml.
_________________
Thanks in Advance.

Kavitha
IBM Certified System Administrator
Websphere MQ v 5.3
www.zealphoenix.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
RogerLacroix
PostPosted: Mon Sep 23, 2002 8:11 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
Location: London, ON Canada

There is probably at least 10 ways to solve this problem and most of them involve using an intermediate queue.

Here are a few ideas off the top of my head:
(1) If you have lots of money then I would suggest purchasing a transformation engine like MQSI or Mercator (personal preference – I like Mercator). Both do a very good of converting XML to flat file (and back).
(2) You could roll your own solution. Apache’s XALAN and XPATH would make a very robust solution but you need developers to design / programmer your solution.
(3) You could use 2 open source solutions to do the job. For XML to flat file you could use fx2sx and for flat file to XML you could use txt2xml.

Hope that helps.

Later
Roger…
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Best way to convert XMl to flat message (Client--> server
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.