Author |
Message
|
jdavis28 |
Posted: Wed Sep 14, 2011 7:08 am Post subject: Include message definitions from a different message set |
|
|
Newbie
Joined: 05 Jan 2010 Posts: 8
|
When working with a message definition, is it possible to include a message definition from another message set?
When I click on the Add Include button, the Message Sets pane only shows the message set that I am currently working with. Wondering if there is a way to show other message sets? |
|
Back to top |
|
 |
WGerstma |
Posted: Wed Sep 14, 2011 7:32 am Post subject: |
|
|
Acolyte
Joined: 18 Jul 2011 Posts: 55
|
Hmm, I do not know a direct way. But you may export a definition from one message set, e.g. as XSD and import it into the other |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Sep 14, 2011 7:35 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You can reference other message sets, and create objects in your current message set that use the same types or groups.
See, for example, how this is done with SOAP Envelopes and the soap message set that ships with the product. |
|
Back to top |
|
 |
jdavis28 |
Posted: Wed Sep 14, 2011 7:53 am Post subject: |
|
|
Newbie
Joined: 05 Jan 2010 Posts: 8
|
mqjeff wrote: |
You can reference other message sets, and create objects in your current message set that use the same types or groups.
See, for example, how this is done with SOAP Envelopes and the soap message set that ships with the product. |
I am using Broker 6.1 and I am looking at SOAPNodesSampleMessageSet. The OrderService.mxsd has an Include and an Import but both appear to be from the SOAPNodesSampleMessageSet? |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Sep 14, 2011 8:04 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I believe mqjeff was alluding to the "any" message being used by the Soap setup. So you can define an "any" message and use any message from a different message set there. You would still have to reference the other message set in your project.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|