PurchaseOrderSimple.xml Sample

This topic inludes the source code for the PurchaseOrderSimple.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/schema/

Sample Source Code


01 <purchase-order xmlns="http://openuri.org/easypo">
02     <customer>
03         <name>Gladys Kravitz</name>
04         <address>Anytown, PA</address>
05     </customer>
06     <date>2001-12-17T09:30:47-05:00</date>
07     <line-item>
08         <description>Burnham's Celestial Handbook, Vol 1</description>
09         <per-unit-ounces>5</per-unit-ounces>
10         <price>21.79</price>
11         <quantity>2</quantity>
12     </line-item>
13     <shipper>
14         <name>UPS</name>
15         <per-ounce-rate>0.74</per-ounce-rate>
16     </shipper>
17 </purchase-order>