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 » IBM MQ Installation/Configuration Support » receive xml file

Post new topic  Reply to topic
 receive xml file « View previous topic :: View next topic » 
Author Message
lam
PostPosted: Fri Nov 10, 2006 6:38 am    Post subject: receive xml file Reply with quote

Acolyte

Joined: 09 Nov 2006
Posts: 50

hi,
I receive XML files in queue of my customer websphere MQ starting from an other system, I want now to recover these files and to store them in a repertory dedicated in order to treat them. Can you indicate a tools which makes it possible to do that or a c or java program can do that
thank you
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Nov 10, 2006 6:44 am    Post subject: Reply with quote

Grand High Poobah

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

In strict terms, any MQ program can receive messages containing XML because it's just text content. So if there's no requirement for the reading program to parse them because your repertory is treating them just pull them off the queue and store them!

If you need to parse the XML as it comes in, then you need a program as above equipted with a parser (like Xerces). Alternatively something like Message Broker can read MQ Messages, parse them and store the output accordingly.

Note - I mention Xerces & MB as examples only. No recommendation of either product is intended or should be implied. Selection of software and/or methodology should be made according to your requirements and limitations (if any).
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Nov 10, 2006 7:26 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It is a waste of effort to take XML data out of a message and then store it into a file, in order to read the data from the flie and then process it.

It is a trivial exercise in programming to write code to do it, however.

It is not a trivial exercise in programming to write Enterprise level code to move data between Files and MQ messages, though.

That is, it's easy to write code to read messages and write files or read files and write messages.

It's hard to write good code to do it, though.
_________________
I am *not* the model of the modern major general.
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 » IBM MQ Installation/Configuration Support » receive xml file
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.