|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Error in instruction-build it yourself in video rental sampl |
« View previous topic :: View next topic » |
Author |
Message
|
jeevan |
Posted: Thu Dec 21, 2006 6:22 pm Post subject: Error in instruction-build it yourself in video rental sampl |
|
|
Grand Master
Joined: 12 Nov 2005 Posts: 1432
|
There seems some incoherence in the instruction for- built it yourself instruction in sample application - video rantal Message Set application. For example. the follwoing is a set of instruction for adding a complex type Address.
Adding elements and types to the Address message definition file
To add elements and types to the Address message definition file, create a global element called Address, and then a local complex type. After that, you can add more elements to the Address message definition file.
To create a global element called Address, and a local complex type:
1. Switch to the Broker Application Development perspective.
2. In the Resource Navigator view, double-click Address.mxsd to open it.
3. In the Outline view, right-click Elements and Attributes, and click Add Global Element. An element called globalElement1, of type string, is added. Rename this element to Address.
4. In the Message Definition editor, highlight the row on which Address appears. In the Type column, click the cell that displays the default value "string", to reach a pulldown menu of available types. Select New Complex Type. The property "Create a local complex type" is selected by default.
5. Click OK. In the Outline view, a type called ANONYMOUS appears under Address.
You can now add more elements to the Address message definition. Create the elements listed in the following table. For example, to add HouseNo:
1. Right-click ANONYMOUS, and click Add Local Element. An element called localElement1 of type string is added under ANONYMOUS. Rename this element to HouseNo.
The word ANONYMOUS in number 5 and number 1 seems out of order. This makes following instruciton little bit problematic. Is it my misunderstanding or is it a mistake? I would be grateful, if some one can clarify it.
thanks |
|
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
|
|
|
|