This text file contains sample code fragments from:
Section 6.5 - Message Structures
Chapter 6 - Fundamental XML Schema: Types and Message Structure Basics
Book - Web Service Contract Design & Versioning for SOA
Series - Prentice Hall Service-Oriented Computing Series from Thomas Erl
Site - www.soabooks.com
12345
2006-10-15
444403
MegaEuroMart
123 Main St.
Cleveland
OH
37311
444405
NGS #233
5100 Garfield Road
Cleveland
...
AY2345
...
BB1764
...
Example 6.29 - The XML document instance for the flat structured input message.
...
...
Example 6.30 - The XML schema that corresponds to the previous message example.
...
444403
MegaEuroMart
123 Main St.
Cleveland
OH
37311
444405
NGS #233
5100 Garfield Road
...
...
Example 6.31 - A better designed party information structure.
Example 6.32 - The PartyType type is reused within the PurchaseOrderType type.
...
444403
MegaEuroMart
123 Main St.
Cleveland
OH
37311
444405
NGS #233
5100 Garfield Road
Cleveland
...
...
Example 6.33 - Even more structured party information.
...
AY2345
...
BB1764
...
Example 6.34 - The lineItems element as a container for repeating lineItem elements.
12345
2006-10-15
444403
MegaEuroMart
Steve Smith
231-555-1122
123 Main St.
Suite 300
Cleveland
OH
37311
USA
444405
NGS #233
Steve Smith
231-555-1122
5100 Garfield Road
Cleveland
OH
37311
USA
AY2345
Service Blaster 2000
12
29.99
BB1764
Service Blaster 5000 Special Edition
8
19.95
Example 6.35 - A sample XML instance of the new Purchase Order message structure.
Example 6.36 - The complete schema for the purchase order message.