This text file contains example code from: Chapter 10 - Fundamental WS-Policy: Assertions, Expressions, and Attachments Book - SOA with .NET & Windows Azure: Realizing Service-Orientation with the Microsoft Platform Series - Prentice Hall Service-Oriented Computing Series from Thomas Erl (www.soabooks.com/community) Certification - These examples are used as part of the Certified SOA .NET Developer curriculum (www.soaschool.com) <programlisting linenumbering="unnumbered"><xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" <emphasis role="pd_red">xmlns:persondata=</emphasis> <emphasis role="pd_red">"http://schemas.example.org/enterprise/models/v1"</emphasis> <?docpage num="290"?> xmlns:tns= "http://schemas.example.org/enterprise/service/v1" targetNamespace= "http://schemas.example.org/enterprise/service/v1"> <xs:importnamespace= "http://schemas.example.org/enterprise/models/v1" schemaLocation="Person.xsd"/> <xs:element name="GetPerson"> <xs:complexType> <xs:sequence> <xs:element name="personId" type="xs:positiveInteger" minOccurs="0" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="GetPersonResponse"> <xs:complexType> <xs:sequence> <xs:element name="person" <emphasis role="pd_red">type="persondata:person"</emphasis> minOccurs="0" nillable="true"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="GetAllPersons"> <xs:complexType> <xs:sequence/> </xs:complexType> </xs:element> <xs:element name="GetAllPersonsResponse"> <xs:complexType> <xs:sequence> <xs:element name="person" type="persondata:personList" minOccurs="0" nillable="true"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="UpdatePerson"> <xs:complexType> <xs:sequence> <xs:element name="updatablePerson" <emphasis role="pd_red">type="persondata:person"</emphasis> minOccurs="0" nillable="true" /> </xs:sequence> </xs:complexType> <?docpage num="291"?> </xs:element> <xs:element name="UpdatePersonResponse"> <xs:complexType> <xs:sequence> <xs:element name="success" type="xs:boolean" /> </xs:sequence> </xs:complexType> </xs:element> </xs:schema></programlisting> </example>