<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type='text/xsl' href="xmlspec.xsl"?>
<!DOCTYPE spec PUBLIC "-//W3C//DTD Specification V2.1//EN" "xmlspec.dtd"[
<!ENTITY xmlmime "http://www.w3.org/2005/05/xmlmime">
<!ENTITY wgmb SYSTEM "http://www.w3.org/2000/xp/Group/wgmb.txt">
<!ENTITY prevwgmb SYSTEM "http://www.w3.org/2000/xp/Group/prevwgmb.txt">
<!ENTITY % entities SYSTEM "entitieswd.dtd" >
<!ENTITY name-part0 "SOAP Version 1.2 Part 0: Primer (Second Edition)">
<!ENTITY name-part1 "SOAP Version 1.2 Part 1: Messaging Framework (Second Edition)">
<!ENTITY name-part2 "SOAP Version 1.2 Part 2: Adjuncts (Second Edition)">
<!ENTITY name-testcollection "SOAP Version 1.2 Specification Assertions and Test Collection (Second Edition)">
<!ENTITY mediatype "http://www.w3.org/TR/2005/NOTE-xml-media-types-20050504/" >
%entities;
]>
<spec w3c-doctype="per" role="editors-copy">

  <!-- ****************************************************** -->
  <!-- *************** Header of the document *************** -->
  <!-- ****************************************************** -->
  <header>
    <title>Resource Representation SOAP Header Block</title>
    <w3c-doctype>&status;</w3c-doctype>
    <pubdate>
      <day><!-- PUBONLY &repdraft.day; --> $Date: 2007/07/11 20:00:43 $</day>
      <month><!-- PUBONLY &repdraft.month; --></month>
      <year><!-- PUBONLY &repdraft.year; --></year>
    </pubdate>
<!-- PUBONLY
    <publoc>
      <loc xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
	xlink:show="replace" xlink:actuate="onRequest"
	href="&dated-rep;">&dated-rep;</loc> 
    </publoc>
-->
     <prevlocs>
      <loc xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
	xlink:show="replace" xlink:actuate="onRequest"
	href="http://www.w3.org/TR/2005/REC-soap12-rep-20050125/">
	http://www.w3.org/TR/2005/REC-soap12-rep-20050125/</loc>
    </prevlocs>
    <latestloc>
      <loc xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
	xlink:show="replace" xlink:actuate="onRequest"
	href="http://www.w3.org/TR/&shortname-rep;/">
	http://www.w3.org/TR/&shortname-rep;/</loc>
    </latestloc>

    <authlist>
      <author>
        <name>Anish Karmarkar</name>
        <affiliation>Oracle Corp.</affiliation>
      </author>
      <author>
        <name>Martin Gudgin</name>
        <affiliation>Microsoft</affiliation>
      </author>
      <author>
        <name>Yves Lafon</name>
        <affiliation>W3C</affiliation>
      </author>
    </authlist>

    <langusage>
      <language id="en">English</language>
    </langusage>
    <revisiondesc>
      <p>Last Modified: $Date: 2007/07/11 20:00:43 $</p>
    </revisiondesc>

    <abstract>
      <p>
	This document describes the semantics and serialization of a SOAP
        header block for carrying resource representations in SOAP messages.
      </p>
    </abstract>

    <status>

    </status>
  </header>


  <!-- ****************************************************** -->
  <!-- **************** Body of the document **************** -->
  <!-- ****************************************************** -->

  <body>

    <!-- ==================================================== -->
    <!-- =================== Introduction =================== -->
    <!-- ==================================================== -->
    <div1 id="introduction">
      <head>Introduction</head>

      <p>
		This document describes the semantics and serialization of a
                SOAP header block for carrying resource representations in SOAP messages.
	  </p>

      <!--                                                    -->
      <!-- _____________ Notational Conventions _____________ -->
      <!--                                                    -->
      <div2 id="notations">
	<head>Notational Conventions</head>

	<p>
	  The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
	  "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
	  document are to be interpreted as described in RFC 2119 <bibref
	    ref="RFC2119"/>.
	</p>

	<p>
	  This specification uses a number of namespace prefixes throughout;
	  they are listed in <specref ref="tabnsprefixes"/>.  Note that the
	  choice of any namespace prefix is arbitrary and not semantically
	  significant (see XML Infoset <bibref ref="XMLInfoSet"/>).
	</p>

	<table border="1">
	  <caption id="tabnsprefixes">Prefixes and Namespaces used in this specification.</caption>
	  <tbody>
	    <tr>
	      <th rowspan="2">Prefix</th>
	      <th>Namespace</th>
	    </tr>
	    <tr>
	      <th>Notes</th>
	    </tr>

	    <tr>
	      <td rowspan="2">env</td>
	      <td><attval>http://www.w3.org/2003/05/soap-envelope</attval></td>
	    </tr>
	    <tr>
	      <td colspan="1">
		A normative XML Schema <bibref ref="XMLSchemaP1"/>, <bibref
		  ref="XMLSchemaP2"/> document for the
		<attval>http://www.w3.org/2003/05/soap-envelope</attval>
		namespace can be found at <loc
		  xmlns:xlink="http://www.w3.org/1999/xlink"
		  xlink:type="simple"
		  href="http://www.w3.org/2003/05/soap-envelope"
		  xlink:show="replace"
		  xlink:actuate="onRequest">http://www.w3.org/2003/05/soap-envelope</loc>.
	      </td>
	    </tr>

	    <tr>
	      <td rowspan="2">rep</td>
	      <td><attval>http://www.w3.org/2004/08/representation</attval></td>
	    </tr>
	    <tr>
	      <td>
		A normative XML Schema <bibref ref="XMLSchemaP1"/>, <bibref
		  ref="XMLSchemaP2"/> document for the
		<attval>http://www.w3.org/2004/08/representation</attval>
		namespace can be found at <loc
		  xmlns:xlink="http://www.w3.org/1999/xlink"
		  xlink:type="simple"
		  href="http://www.w3.org/2004/08/representation"
		  xlink:show="replace"
		  xlink:actuate="onRequest">http://www.w3.org/2004/08/representation</loc>.
	      </td>
	    </tr>

	    <tr>
	      <td rowspan="2">xs</td>
	      <td><attval>http://www.w3.org/2001/XMLSchema</attval></td>
	    </tr>
	    <tr>
	      <td>
		The namespace of XML Schema data types (see <bibref
		  ref="XMLSchemaP2"/>).
	      </td>
	    </tr>

	    <tr>
	      <td rowspan="2">xmime</td>
        <td><attval>&xmlmime;</attval></td>
	    </tr>
	    <tr>
	      <td>
		The namespace for representing MIME media-types in XML (see <bibref
		  ref="xmlmime"/>).
	      </td>
	    </tr>
	  </tbody>
	</table>
        <p>
          All parts of this specification are normative, with the exception 
          of examples and sections explicitly marked as "Non-Normative".
        </p>
      </div2>

      <!--                                                    -->
      <!-- ___________________ Relations ____________________ -->
      <!--                                                    -->
      <div2 id="relations">
	<head>Relation to other specifications</head>

  <p>
    This document along with <bibref ref="XOP"/> and <bibref ref="MTOM"/>
    has been produced in conjunction with the development of
    requirements, embodied in the requirements document <bibref ref="ucr"/>.
  </p>
  <p>
    This document defines a SOAP Feature, and a SOAP Module that realizes 
    the SOAP Feature, as specified by SOAP 1.2 <bibref ref="W3C.soap-part1"/>
    <xspecref href="http://www.w3.org/TR/soap12-part1/#soapfeature">
      3.1 SOAP Features</xspecref> and <bibref ref="W3C.soap-part1"/>
    <xspecref href="http://www.w3.org/TR/soap12-part1/#soapmodules">
      3.3 SOAP Modules</xspecref>.
  </p>
  <p>
    Note: The Resource Representation header block is designed to optimize well 
    when used with the SOAP Message Transmission Optimization Mechanism 
    <bibref ref="MTOM"/>.
  </p>
  <p>
    Note: The Resource Representation header block is designed, but not 
    required, to be used in conjunction with the Describing Media Content of Binary Data in XML specification <bibref ref="xmlmime"/>.

  </p>

	<!--                                                  -->
	<!-- ................. SOAPRelation ................. -->
	<!--                                                  -->
	<div3 id="SOAPRelation">
	  <head>Relationship to the SOAP Processing model</head>

	  <p>
             This feature makes no changes to the SOAP processing model.
	  </p>
        </div3>
      </div2>
    </div1>

    <!-- ==================================================== -->
    <!-- ============== Feature Name    =============== -->
    <!-- ==================================================== -->
    <div1 id="feature-name">
      <head>SOAP Feature Name</head>
      <p>
        The Resource Representation header block defined by this document 
        embodies the SOAP feature <bibref ref="W3C.soap-part1"/> 
        <xspecref href="http://www.w3.org/TR/soap12-part1/#soapfeature">
          3.1 SOAP Features</xspecref> identified by the URI:
      </p>

      <ulist>
        <item><p><attval>http://www.w3.org/2004/08/representation</attval></p></item>
     </ulist>

     <p>
      The above SOAP feature URI can be used to identify the semantics and 
      serialization of the Resource Representation header block.
     </p>
    </div1>

    <!-- ==================================================== -->
    <!-- ============== Module Name    =============== -->
    <!-- ==================================================== -->
    <div1 id="module-name">
      <head>SOAP Module Name</head>
      <p>
        The SOAP Module <bibref ref="W3C.soap-part1"/>
        <xspecref href="http://www.w3.org/TR/soap12-part1/#soapmodules">
          3.3 SOAP Modules</xspecref> that realizes the SOAP feature defined 
        in <specref ref="feature-name"/> is identified by the URI:
      </p>

      <ulist>
        <item><p><attval>http://www.w3.org/2004/08/representation</attval></p></item>
     </ulist>

     <p>
      The above SOAP Module URI can be used to identify the semantics and 
      serialization of the Resource Representation header block.
     </p>
    </div1>

    <!-- ==================================================== -->
    <!-- ============== Representation Header =============== -->
    <!-- ==================================================== -->
    <div1 id="representation-header">
      <head>Representation Header Block</head>

      <p>
	This section describes a SOAP header block, the Representation header
	block, that allows a SOAP message to carry representations of Web
	resources.
      </p>
      
      <!--                                                    -->
      <!-- __________________ Introduction __________________ -->
      <!--                                                    -->
      <div2 id="rep-introduction">
	<head>Introduction</head>

   <p>
     The Representation header block is designed to allow applications to
     carry a representation of a Web resource in a SOAP message. Applications
     of this header include cases where the receiver has limited ability
     to get the representation using other means, for example because of
     access restrictions or because the overhead would be unacceptable. The
     Representation header block is also useful when multiple references to the
     same resource are required but duplication of the resource
     is undesirable. See UC2 and UC6 <bibref ref="ucr"/> for details. 
   </p>

	<p>
	  The meaning of the Representation header block, when present in a
	  SOAP message, is to make available the contained representation of
	  the resource it carries to the processing SOAP node. The SOAP node
	  MAY use this representation when dereferencing the URI of the
	  resource instead of making a network request to obtain a representation of 
	  the resource.
          Note that implementations MAY need to process a Representation header
          block before processing other header blocks that require
          dereferencing of a URI whose representation is carried in the
          Representation header block.
	</p>

	<p>
    	 Multiple occurrences of the Representation header block MAY be present
	  in the same SOAP Message to carry representation of multiple Web
	  resources or multiple representations of the same Web resource.
	</p>

        <p>
          Several occurrences of the Representation header block having the 
  	  same value for the <att>role</att> and <att>resource</att> 
          <emph>attribute information item</emph> 
          (see <specref ref="rep-resource"/>) MAY be present in the same SOAP
	  Message. Such Representation header blocks SHOULD NOT have the same 
	  metadata (such as media-type). If such Representation header blocks
	  have the same metadata then any one of them may be used.
        </p>

	<p>
	  URIs that are character for character identical MUST be considered 
	  equal when using a representation header to resolve a web reference;
	  URIs that are considered equal according to the URI scheme of the 
	  URI SHOULD be considered equal.
	</p>

	<p>
	  An example SOAP Envelope using the Representation header block is
	  given below.
	</p>
     
	<example id="rep-header-sample">
	  <head>Representation header block in a SOAP Envelope</head>
    <eg xml:space="preserve">&lt;soap:Envelope xmlns:soap='http://www.w3.org/2003/05/soap-envelope' 
               xmlns:rep='http://www.w3.org/2004/08/representation' 
               xmlns:xmime='&xmlmime;'&gt;
  &lt;soap:Header&gt;
    &lt;rep:Representation resource='http://example.org/me.png'&gt;
      &lt;rep:Data xmime:contentType='image/png'&gt;/aWKKapGGyQ=&lt;/rep:Data&gt;
    &lt;/rep:Representation&gt;
  &lt;/soap:Header&gt;
  &lt;soap:Body&gt;
    &lt;x:MyData xmlns:x='http://example.org/mystuff'&gt;
      &lt;x:name&gt;John Q. Public&lt;/x:name&gt;
      &lt;x:img src='http://example.org/me.png'/&gt;
    &lt;/x:MyData&gt;
  &lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;</eg>
	</example>
      </div2>

      <!--                                                    -->
      <!-- _____ Representation header block Construct ______ -->
      <!--                                                    -->
      <div2 id="rep-construct">
	<head>Representation header block Constructs</head>

	<!--                                                  -->
	<!-- ............ Representation element ............ -->
	<!--                                                  -->
	<div3 id="rep-representation">
	  <head><att>rep:Representation</att> element</head>

	  <p>
	    The <att>Representation</att> <emph>element information item</emph>
	    has:
	  </p>

	  <ulist>
	    <item><p>
		A [local name] of <att>Representation</att>.
	    </p></item>

	    <item><p>
		A [namespace name] of
		<attval>http://www.w3.org/2004/08/representation</attval>.
	    </p></item>

	    <item>
	      <p>
		One or more <emph>attribute information items</emph> amongst
		its [attributes] as follows:
	      </p>

	      <ulist>
		<item><p>
		    A mandatory <att>resource</att> <emph>attribute information
		      item</emph> (see <specref ref="rep-resource"/>).
		</p></item>

		<item><p>
		    An optional <att>reinsert</att> <emph>attribute information
		      item</emph> (see <specref ref="rep-reinsert"/>).
		</p></item>

		<item><p>
                  Zero or more namespace qualified <emph>attribute information
                  items</emph> whose [namespace name] is not
                  <attval>http://www.w3.org/2004/08/representation</attval>.
		</p></item>
	      </ulist>
	    </item>

	    <item>
	      <p>
		One or more <emph>element information items</emph> in its
		[children] property in order as follows:
	      </p>

	      <olist>
		<item><p>
		    A mandatory <att>Data</att> <emph>element information
		      item</emph> (see <specref ref="rep-data"/>).
		</p></item>

		<item><p>
                    Zero or more <emph>element information items</emph> 
	            whose [namespace name] is not 
                    <attval>http://www.w3.org/2004/08/representation</attval>.
		</p></item>
	      </olist>
	    </item>

	  </ulist>

	  <p>
	    The <att>rep:Representation</att> <emph>element information
	      item</emph> contains a representation of a Web resource. The
	    value of the <att>resource</att> <emph>attribute information
	      item</emph> is the identifier of the Web resource. The value of
	    the <att>rep:Data</att> <emph>element information item</emph> is a
	    base64-encoded representation of the Web resource.
	  </p>

	</div3>

	<!--                                                  -->
	<!-- .............. resource attribute .............. -->
	<!--                                                  -->
	<div3 id="rep-resource">
	  <head><att>resource</att> attribute</head>

	  <p>
	    The <att>resource</att> <emph>attribute information item</emph>
	    has:
	  </p>

	  <ulist>
	    <item><p>
		A [local name] of <att>resource</att>.
	    </p></item>

	    <item><p>
		An empty [namespace name].
	    </p></item>

	    <item><p>
		A [specified] property with a value of <attval>true</attval>.
	    </p></item>
	  </ulist>

	  <p>
		The type of the <att>resource</att> <emph>attribute information item</emph>
		is <att>xs:anyURI</att>. The value of the <att>resource</att>
		<emph>attribute information item</emph> identifies the Web
		resource whose representation is carried in the <att>rep:Representation</att>
		<emph>element information item</emph> parent of the <att>resource</att> <emph>attribute information item</emph>.
	  </p>
	</div3>

	<!--                                                  -->
	<!-- .............. reinsert attribute .............. -->
	<!--                                                  -->
	<div3 id="rep-reinsert">
	  <head><att>reinsert</att> attribute</head>

	  <p>
	    The <att>reinsert</att> <emph>attribute information item</emph>
	    has:
	  </p>

	  <ulist>
	    <item><p>
		A [local name] of <att>reinsert</att>.
	    </p></item>

	    <item><p>
		An empty [namespace name].
	    </p></item>

	    <item><p>
		A [specified] property with a value of <attval>true</attval>.
	    </p></item>
	  </ulist>

	  <p>
	    The type of the <att>reinsert</att> <emph>attribute information
	    item</emph> is <att>xs:boolean</att>. When this attribute is
            specified on the Representation header block with a value of
	    <attval>true</attval>, it indicates that a SOAP forwarding 
	    intermediary node processing the
            header block must reinsert the header block.  This means that when 
            used in conjunction with the <att>relay</att> attribute, defined 
            in <bibref ref="W3C.soap-part1"/> 
            <xspecref href="http://www.w3.org/TR/soap12-part1/#soaprelay">
            5.2.4 SOAP Relay Attribute</xspecref>, with a value of
            <attval>true</attval>, the Representation header 
            block will always be relayed by a SOAP forwarding intermediary.
            When this attribute is specified on the Representation header block
            with a value of <attval>false</attval>, the behavior of the SOAP
            node processing the header block is the same as that when the
            attribute is not specified, and normal SOAP processing rules
	    apply. The presence of this attribute has no effect on the 
	    processing of a Representation header by a SOAP endpoint.
	  </p>
	</div3>

	<!--                                                  -->
	<!-- ................. Data element ................. -->
	<!--                                                  -->
	<div3 id="rep-data">
	  <head><att>rep:Data</att> element</head>

	  <p>
	    The <att>Data</att> <emph>element information item</emph> has:
	  </p>

	  <ulist>
	    <item><p>
		A [local name] of <att>Data</att>.
	    </p></item>

	    <item><p>
		A [namespace name] of
		<attval>http://www.w3.org/2004/08/representation</attval>.
	    </p></item>

	    <item>
	      <p>
                Zero or more namespace qualified <emph>attribute information 
		items</emph> whose [namespace name] is not 
		<attval>http://www.w3.org/2004/08/representation</attval>.
	      </p>
	    </item>

	    <item>
	      <p>
		Any number of <emph>character information item</emph> in its
		[children] property. No other type of <emph>information
		  item</emph> in its [children] property.
	      </p>
	    </item>

	  </ulist>

	  <p>
	    The type of a <att>rep:Data</att> <emph>element information
	      item</emph> is <att>xs:base64Binary</att>. The value of this
	    <emph>element information item</emph> is a base64-encoded
	    representation of the Web resource carried in the
	    <att>rep:Representation</att> <emph>element information item</emph>
	    parent of the <att>resource</att> <emph>attribute information
	      item</emph>. 
	  </p>
	</div3>

      </div2>

      <!--                                                    -->
      <!-- __ Extensibility of Representation header block __ -->
      <!--                                                    -->
      <div2 id="rep-extensibility">
	<head>Extensibility of the Representation header block</head>

	<p>
	  The Representation header block is built to be extensible. This
	  section describes several possible usages of this extensibility.
	</p>

	<!--                                                  -->
	<!-- ............... SOAP Attributes ................ -->
	<!--                                                  -->
	<div3 id="rep-soap-attributes">
	  <head>SOAP header block Attributes</head>

	  <p>
	    Attributes defined in <bibref ref="W3C.soap-part1"/> <xspecref
	      href="http://www.w3.org/TR/soap12-part1/#soapenv">5. SOAP Message
	      Construct</xspecref> for SOAP header blocks MAY be used with the
	    Representation header block.
	  </p>

	  <p>
	    Adding a <att>env:mustUnderstand</att> <emph>attribute information
	      item</emph> with a value of <attval>true</attval> in the
	    [attributes] property of the <att>rep:Representation</att>
	    <emph>element information item</emph> ensures that the SOAP receiver
	    is aware that the Web resource representation is available to it.
	  </p>

	  <p>
	    A <att>env:role</att> <emph>attribute information item</emph> in
	    the [attributes] property of the <att>rep:Representation</att>
	    <emph>element information item</emph> indicates the SOAP node for
	    which the Web resource representation is intended.
	  </p>
	</div3>

	<!--                                                  -->
	<!-- ............ Specifying media type ............. -->
	<!--                                                  -->
	<div3 id="rep-media-type">
	  <head>Specifying the media type</head>

    <p>
      An <att>xmime:contentType</att> <emph>attribute information item</emph> 
      (See <bibref ref="xmlmime"/>) MAY be used to convey the 
      media type of the representation conveyed by a header.  Media type 
      information can be useful in determining whether a given representation 
      is suitable for processing and if it is, how best to interpret the 
      representation provided.  If used, the <att>xmime:contentType</att> 
      <emph>attribute information item</emph> MUST appear within the 
      [attributes] property of the <att>rep:Data</att> 
	  <emph>element information item</emph>. If the media type identified by
	  the value of an <att>xmime:contentType</att> <emph>attribute information
	  item</emph> is a text based media type then the value of the <att>xmime:contentType</att> 
	  <emph>attribute information item</emph> SHOULD include a charset parameter.
	</p>
	<p>
	  An example that uses the <att>xmime:contentType</att> <emph>attribute information item</emph> is shown in <specref ref="rep-header-sample"/>.
	</p>

	</div3>

	<!--                                                  -->
	<!-- ................. HTTP headers ................. -->
	<!--                                                  -->
	<div3 id="rep-http-headers">
	  <head>Extension example: HTTP resolver extension</head>
	  
	  <p> A receiving SOAP node MAY act as a resolver, with all the rules 
      pertaining to HTTP caches, for some or all of the <emph>http:</emph> 
      scheme URIs for which representations have been provided. 
	    To enable this, one or more <emph>element information
	      items</emph> MAY be added to the [children] property of
	    the <att>rep:Representation</att>
	    <emph>element information item</emph> to transmit the information
	    needed at the HTTP level.
	  </p>

	  <p>
	   To avoid requiring that all SOAP senders understand the HTTP caching
	    mechanism, all the data required by a processor that wants to act
	    as a local cache needs to be carried along with the message. This
	    includes the complete request, reply as well as the time the 
	    original HTTP request has been sent and the time the HTTP response
	    has been received.
	  </p>
	  
	<example id="http-extension">
	    <head>HTTP extension</head>
	  <eg xml:space="preserve">&lt;soap:Envelope xmlns:soap='http://www.w3.org/2003/05/soap-envelope' 
               xmlns:rep='http://www.w3.org/2004/08/representation' 
               xmlns:xmime='&xmlmime;'&gt;
  &lt;soap:Header&gt;
    &lt;rep:Representation resource='http://example.org/me.png'&gt;

      &lt;rep:Data xmime:contentType='image/png'&gt;/aWKKapGGyQ=&lt;/rep:Data&gt;
      &lt;htx:env xmlns:htx="http://www.w3.org/2004/08/representation/http"&gt;
        &lt;htx:request&gt;
          &lt;htx:request-line name="GET" version="HTTP/1.1"&gt;
            /me.png
          &lt;/htx:request-line&gt;
          &lt;htx:header name="Host"&gt;
            example.org
          &lt;/htx:header&gt;
          &lt;htx:header name="Accept"&gt;
            image/png,image/jpeg,image/gif
          &lt;/htx:header&gt;
          &lt;htx:header name="Accept-Encoding"&gt;
            gzip,deflate,compress;q=0.9
          &lt;/htx:header&gt;
          &lt;htx:header name="Date"&gt;
            Fri, 13 Feb 2004 11:23:28 GMT
          &lt;/htx:header&gt;
          [...]
          &lt;htx:time&gt;
            Fri, 13 Feb 2004 11:23:28 GMT
          &lt;/htx:time&gt;    
        &lt;/htx:request&gt;
        &lt;htx:reply&gt;
          &lt;htx:status-line version="HTTP/1.1" status="200"&gt;
            OK
          &lt;/htx:status-line&gt;
        &lt;htx:header name="Content-Type"&gt;
          image/png
        &lt;htx:header&gt;
        &lt;htx:header name="Date"&gt;
          Fri, 13 Feb 2004 11:23:28 GMT
        &lt;/htx:header&gt;
        [...]
        &lt;htx:time&gt;
          Fri, 13 Feb 2004 11:23:32 GMT
        &lt;/htx:time&gt;    
        &lt;/htx:reply&gt;
      &lt;/htx:env&gt;
      
    &lt;/rep:Representation&gt;
  &lt;/soap:Header&gt;
  &lt;soap:Body&gt;
    &lt;x:MyData xmlns:x='http://example.org/mystuff'&gt;
      &lt;x:name&gt;John Q. Public&lt;/x:name&gt;
      &lt;x:img src='http://example.org/me.png'/&gt;
    &lt;/x:MyData&gt;
  &lt;/soap:Body&gt;
&lt;/soap:Envelope&gt;</eg>
	  </example>
	  
	  <p>
	    Note that if the clocks of the SOAP sender and the SOAP recipient
	    are not synchronized, all the expiration/age computed at the 
	    receiving side will not accurately reflect what could have been
	    computed at the SOAP sender side.
	  </p>
	  
	</div3>
	
      </div2>
    </div1>


  </body>

  <!-- ****************************************************** -->
  <!-- *************** Trailer of the document ************** -->
  <!-- ****************************************************** -->
  <back>

    <!-- ==================================================== -->
    <!-- ==================== References ==================== -->
    <!-- ==================================================== -->
    <div1 id="references">
      <head>References</head>

      <blist>
   <bibl key="SOAP Part 1" 
        id="W3C.soap-part1">
	<titleref href="&dated-part1;">&name-part1;</titleref>, 
	Martin Gudgin, Marc Hadley, Noah Mendelsohn, Jean-Jacques Moreau,
	Henrik Frystyk Nielsen, Anish Karmarkar, Yves Lafon, Editors.
	World Wide Web Consortium, &draft.day; &draft.month; &draft.year;.
	This version is &dated-part1;.
	The <a href="http://www.w3.org/TR/soap12-part1/">latest version</a> is
	available at http://www.w3.org/TR/soap12-part1/.</bibl>

   <bibl key="XOP" 
	id="XOP">
        <titleref href="&dated-xop;">XML-binary Optimized 
	Packaging</titleref>, Mark Nottingham, Noah Mendelsohn, Martin Gudgin,
	and Hervé Ruellan, Editors. 
	World Wide Web Consortium, 
	&xopdraft.dd; &xopdraft.month; &xopdraft.year;. 
	This version is &dated-xop;. 
	The <a href="http://www.w3.org/TR/xop10/">latest version</a> is 
	available at http://www.w3.org/TR/xop10/.</bibl>


   <bibl key="MTOM" 
	id="MTOM">
        <titleref href="&dated-mtom;">SOAP Message 
	Transmission Optimization Mechanism</titleref>, Hervé Ruellan,
	Noah Mendelsohn, Martin Gudgin, and Mark Nottingham, Editors. 
	World Wide Web Consortium, 
	&mtomdraft.dd; &mtomdraft.month; &mtomdraft.year;. 
	This version is &dated-mtom;.
	The <a href="http://www.w3.org/TR/soap12-mtom/">latest version</a> is
	available at http://www.w3.org/TR/soap12-mtom/.</bibl>

    <bibl key="SOAP Optimized Serialization Use Cases and Requirements" 
	id="ucr">
	<titleref href="http://www.w3.org/TR/2004/WD-soap12-os-ucr-20040608/">SOAP Optimized 
	Serialization Use Cases and Requirements</titleref>, Tony Graham, 
	Mark Jones, and Anish Karmarkar, Editors. 
	World Wide Web Consortium, 08 June 2004. 
	This version is http://www.w3.org/TR/2004/WD-soap12-os-ucr-20040608/. 
	The <a href="http://www.w3.org/TR/soap12-os-ucr/">latest version</a>
	is available at http://www.w3.org/TR/soap12-os-ucr/.</bibl>

    <bibl key="XML InfoSet" 
	id="XMLInfoSet">
	<titleref href="http://www.w3.org/TR/2004/REC-xml-infoset-20040204">XML
	Information Set (Second Edition)</titleref>, Richard Tobin and 
	John Cowan, Editors. 
	World Wide Web Consortium, 04 February 2004. 
	This version is http://www.w3.org/TR/2004/REC-xml-infoset-20040204. 
	The <a href="http://www.w3.org/TR/xml-infoset">latest version</a> is
	available at http://www.w3.org/TR/xml-infoset.</bibl>

    <bibl key="XML Schema Part 1" 
        id="XMLSchemaP1">
        <titleref href="http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/">
	XML Schema Part 1: 
	Structures Second Edition</titleref>, David Beech, Murray Maloney, 
	Henry S. Thompson, and Noah Mendelsohn, Editors. 
	World Wide Web Consortium, 28 October 2004. 
	This version is http://www.w3.org/TR/2004/REC-xmlschema-1-20041028/
	The <a href="http://www.w3.org/TR/xmlschema-1/">latest version</a> is
	available at http://www.w3.org/TR/xmlschema-1/.</bibl>

    <bibl key="XML Schema Part 2" 
        id="XMLSchemaP2">
	<titleref href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/">
	XML Schema Part 2:
	Datatypes Second Edition</titleref>, 
	Ashok Malhotra and Paul V. Biron, Editors. 
	World Wide Web Consortium, 28 October 2004. 
	This version is http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/. 
	The <a href="http://www.w3.org/TR/xmlschema-2/">latest version</a> is
	available at http://www.w3.org/TR/xmlschema-2/.</bibl>

    <bibl key="RFC 2119" 
	id="RFC2119">
	<titleref href="http://www.ietf.org/rfc/rfc2119.txt">Key words for 
	use in RFCs to Indicate Requirement Levels</titleref>, S. Bradner, 
	Editor.
	IETF, March 1997. 
	This RFC is available at http://www.ietf.org/rfc/rfc2119.txt.</bibl>


    <bibl key="MediaTypes" 
	id="xmlmime">
	<titleref href="http://www.w3.org/TR/2005/NOTE-xml-media-types-20050504/">Describing Media Content of Binary Data in XML</titleref>, 
	Ümit Yalçınalp and Anish Karmarkar, Editors. 
	World Wide Web Consortium, 04 May 2005. 
	This version is http://www.w3.org/TR/2005/NOTE-xml-media-types-20050504/.
	The <a href="http://www.w3.org/TR/xml-media-types">latest version</a> 
	is available at http://www.w3.org/TR/xml-media-types.</bibl>

    <bibl key="RFC 3986" 
	id="RFC3986">
	<titleref href="http://www.ietf.org/rfc/rfc3986.txt">Uniform Resource 
	Identifiers (URI): Generic Syntax</titleref>, T. Berners-Lee, 
	R. Fielding and L. Masinter, Editors.
	IETF, January 2005. 
	<emph>Obsoletes: <span id="RFC2396">RFC 2396</span>, 
	<span id="RFC2732">RFC 2732</span></emph>.
	This RFC is available at http://www.ietf.org/rfc/rfc3986.txt.</bibl>

      </blist>
    </div1>

    <inform-div1 id="acks">
      <head>Acknowledgements</head>

      <p>This specification is the work of the W3C XML Protocol Working Group.</p>

      <p>Participants in the Working Group are (at the time of writing, and by
      alphabetical order): &wgmb;</p>

      <p>Previous participants were: &prevwgmb;</p>

      <p>This document has its genesis as a separate section in the <loc 
      xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple"
      href="http://www.w3.org/TR/soap12-mtom/">SOAP Message Transmission
      Optimization Mechanism (MTOM)</loc>
      document. The editors of the MTOM document, specifically Mark Nottingham 
      and Hervé Ruellan are gratefully acknowledged.</p>

<p>The people who have contributed to discussions on
<loc xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" href="mailto:xml-dist-app@w3.org">xml-dist-app@w3.org</loc>
are also gratefully acknowledged.</p>

    </inform-div1>
  </back>
</spec>

  
