Graphical design component

r7 - 09 Jan 2007 - 00:00:00 - MoinMoin?You are here: TWiki >  TAPIR Web > HeaderProposalThree

HeaderProposalThree

The header is used in both requests and responses to communicate directly with a single resource (datasource). Examples:

Header from a "manual" request sent directly to a resource
<header>
   <source accesspoint="13.14.15.16" sendtime="2001-12-17T09:30:47-05:00" HeaderProposalThree>
</header>

Note: in this case no software has been specified, and there's only a single source element.

Header from a response to the previous request
<header>
   <source accesspoint="http://mydomain.org/provider/wrapper.php" sendtime="2001-12-17T09:30:50-05:00">
     <software name="PHP Provider" version="1.1.4" HeaderProposalThree>
        </source>
</header>

Note: the source address in resource responses must be the exact accesspoint of the resource, otherwise clients won't be able to easily identify which response belongs to each resource.

Header from a client software request that has been dispatched by a portal
<header>
   <source accesspoint="11.12.13.14" sendtime="2001-12-17T09:30:47-05:00">
     <software name="GBIF Website" HeaderProposalThree>
   </source>
   <source accesspoint="15.16.17.18" sendtime="2001-12-17T09:30:49-05:00">
     <software name="Portal Engine" version="0.95" HeaderProposalThree>
   </source>
</header>

Note: Intermediaries such as portals (MessageBrokers) are not obliged to include a source element in the header, although that's a recommended behavior.

Header from a more detailed response to the previous request
<header>
   <source accesspoint="http://mydomain.org/myresource/wrapper.py" sendtime="2001-12-17T09:30:50-05:00">
     <software name="PyWrapper" version="1.3.6" HeaderProposalThree>
     <software name="Python" version="2.3" HeaderProposalThree>
        </source>
</header>

Note: each "source" has the freedom to specify other related software.

Edit | Attach | Printable | Backlinks: Web, All Webs | History: r7 < r6 < r5 < r4 < r3 | More topic actions
 
Back to TDWG Homepage TDWG Wiki > TAPIR
This site is powered by the TWiki collaboration platform

Valid XHTML 1.0 Transitional
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback