InventoryItem.xml Sample

This topic inludes the source code for the InventoryItem.xml Sample.

Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebServices/xmlBeans/cursor/

Sample Source Code


01 <inventory xmlns="http://openuri.org/bea/samples/workshop/xmlBeans/mixedContent">
02   <item id="897946">
03     <name>locking flange harbinger</name>
04     <description>Completely myopic gyrating mill-flange.</description>
05     <price>21.79</price>
06     <quantity>4594</quantity>
07   </item>
08   <item id="745621">
09     <name>protaic calliphange</name>
10     <description>Asymmetrical flared-gill spongimass. Complements the locking flange harbinger with perfect precision.</description>
11     <price>19.95</price>
12     <quantity>2</quantity>
13   </item>
14   <item id="784269">
15     <name>gyrating mill-flange</name>
16     <description>Polymorphic atrophical mylobium. Not compatible with any other device ever made.</description>
17     <price>.99</price>
18     <quantity>1205987</quantity>
19   </item>
20 </inventory>