Any endpoint of the FIM Service Service may return, in any one of its responses, a header element that it uses to keep track of the state of a session. The object type that stores this information is the Context type, referred to as the context header. The following XML Schema defines the structure of the context header.

Context Schema

  Copy Code
<?xml version='1.0' encoding='utf-8' ?>
<xs:schema
  xmlns:xs='http://www.w3.org/2001/XMLSchema'
  xmlns:wsc='http://schemas.microsoft.com/ws/2006/05/context'
  targetNamespace='http://schemas.microsoft.com/ws/2006/05/context'
  elementFormDefault='qualified'>
<xs:simpleType name='IdentifierType'>
	<xs:restriction base='xs:string'>
	<xs:pattern value='([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})|(\{[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\})' />
	</xs:restriction>
  </xs:simpleType>
<xs:complexType
  name='ContextType'>
  <xs:sequence>
	<xs:element
	name='InstanceId'
	type='IdentifierType'/>
  </xs:sequence>
</xscomplexType>
<xs:element
	name='Context'
	type='wsc:ContextType'/>
</xs:schema>

Context Schema Elements

Element Description

InstanceId

A globally-unique identifier for a session.

Context

A wrapper.

If a response from the FIM Service includes a context header, the client should add the same context header to any subsequent requests to the service.

See Also