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 generate XML file in Plugin Java

Post new topic  Reply to topic
 How generate XML file in Plugin Java « View previous topic :: View next topic » 
Author Message
drano
PostPosted: Mon Jul 01, 2002 6:45 am    Post subject: How generate XML file in Plugin Java Reply with quote

Novice

Joined: 02 May 2002
Posts: 15
Location: Serv'N Data

I need to generate a XML file from data in root tree. I am using Plugin Java. Someone has an idea ? I imagine to parse the tree, and generate
XML data, but I think that it is not compliant with MQSI. I suppose that I may use parsing functionalities of MQSI to do it.
Back to top
View user's profile Send private message Send e-mail
mpuetz
PostPosted: Fri Jul 05, 2002 3:00 pm    Post subject: Reply with quote

Centurion

Joined: 05 Jul 2001
Posts: 149
Location: IBM/Central WebSphere Services

Hi,

there is nothing *wrong* doing it the way you suggest,
but it's also quite hard.
It would be easier to use MQSI using a ResetContentDescriptor
to flush the current tree into the bitstream and then
simply dump this bitstream into a file using a plugin.
This would save you navigating the bistream and do all
the contact admin encoding stuff.
_________________
Mathias Puetz

IBM/Central WebSphere Services
WebSphere Business Integration Specialist
Back to top
View user's profile Send private message
lillo
PostPosted: Sun Jul 07, 2002 11:34 pm    Post subject: Reply with quote

Master

Joined: 11 Sep 2001
Posts: 224

Another solution, if you don´t want to use the RCD node, is to have a Compute node before the node with the following code:

SET OutputLocalEnvironment.Variables.XMLFile=BITSTREAM(InputRoot.XML);

Don´t forget to pass the LocalEnvironment and message in the advance tab.

In your java node, you will use the XMLFile in the LocalEnvironment to print the xml to a file or use the trace node.

A hope this help you.

Cheers
_________________
Lillo
IBM Certified Specialist - WebSphere MQ
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 generate XML file in Plugin Java
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.