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 » creating sample XML by message set definition

Post new topic  Reply to topic
 creating sample XML by message set definition « View previous topic :: View next topic » 
Author Message
Tibor
PostPosted: Tue Jan 21, 2014 5:44 am    Post subject: creating sample XML by message set definition Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

My task is to create a generic flow / subflow. A JavaCompute node connects to a Domino server, which stores forms and views, and I would like to build a message tree with using a message set defined earlier. I can query the import structure, but the interface only need a subset of these fields. So it was planned to create a message set conatining the subsets and then my code can step through the elements / tags.

But I have no idea how can I query the structure from an mxsd... Maybe if there was any solution for creating a sample XML when a message flow is running...

PS. Creating mappings can work, but this is an extra step in the development, and not really good idea in a generic flow.
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Jan 21, 2014 6:03 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Sorry - you are not the first person to ask, but this is not possible. There is no way to query your model ( message set ) from within the message flow.

If you are comfortable with using Java then you could
- generate XSDs from the message set
- use JAXB to create Java classes for the schema structures

After that, I expect there are techniques for generating an instance for an element/type.
_________________
Before you criticize someone, walk a mile in their shoes. That way you're a mile away, and you have their shoes too.
Back to top
View user's profile Send private message
Tibor
PostPosted: Tue Jan 21, 2014 8:33 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

Very sad so I am still thinking about a workaround...
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 » creating sample XML by message set definition
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.