|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
creating sample XML by message set definition |
« View previous topic :: View next topic » |
Author |
Message
|
Tibor |
Posted: Tue Jan 21, 2014 5:44 am Post subject: creating sample XML by message set definition |
|
|
 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 |
|
 |
kimbert |
Posted: Tue Jan 21, 2014 6:03 am Post subject: |
|
|
 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 |
|
 |
Tibor |
Posted: Tue Jan 21, 2014 8:33 am Post subject: |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
Very sad so I am still thinking about a workaround... |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|