<?xml version="1.0" encoding="UTF-8" ?>
<!-- 
Copyright © OASIS® 2008-2009. All Rights Reserved.
-->
<xs:schema targetNamespace='http://schemas.xmlsoap.org/ws/2006/02/addressingidentity'
           xmlns:tns='http://schemas.xmlsoap.org/ws/2006/02/addressingidentity'
           xmlns:xs='http://www.w3.org/2001/XMLSchema'
           xmlns:ds='http://www.w3.org/2000/09/xmldsig#'
           xmlns:wsse='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'
           elementFormDefault='qualified' >
  <xs:import namespace='http://www.w3.org/2000/09/xmldsig#'
         schemaLocation='http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd' />
  <xs:import namespace='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'
			 schemaLocation='http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd' />
  
  <!-- Section 2.0 -->
  <xs:element name='Identity' type='tns:IdentityType'/>
  <xs:complexType name='IdentityType'>
    <xs:sequence>
      <xs:choice minOccurs='1' maxOccurs='unbounded'>
        <xs:element ref="tns:Dns" minOccurs='0' maxOccurs='1'/>
        <xs:element ref="tns:Spn" minOccurs='0' maxOccurs='1'/>
        <xs:element ref="tns:Upn" minOccurs='0' maxOccurs='1'/>
        <xs:element ref="ds:KeyInfo" minOccurs='0' maxOccurs='1'/>
        <xs:element ref="wsse:BinarySecurityToken" minOccurs='0' maxOccurs='1'/>
        <xs:element ref="wsse:SecurityTokenReference" minOccurs='0' maxOccurs='1'/>
      </xs:choice>
    </xs:sequence>
  </xs:complexType>

  <!-- Section 3.1 -->
  <xs:element name="Dns" type="xs:string" />
  <!-- Section 3.2 -->
  <xs:element name="Spn" type="xs:string" />
  <!-- Section 3.3 -->
  <xs:element name="Upn" type="xs:string" />
  
</xs:schema>

