RE: SWAP Example

	Question:
		doesn't this need a METHOD name after the <d:observer> tag?
		something like:
	
<d:observer>http://www.ics.uci.edu/pub/ietf/swap/chair.html</d:observer>
			<d:method>PROPFIND</d:method>

		Actually - I thought it would look more like this (sorry -
no namespaces :(  ):

	<SWAP>
	   <INTERFACE>PROCESSINSTANCE</INTERFACE>    <-- PROCESSINSTANCE is
a value - not a tag?????
	   <METHOD>PROPFIND</METHOD>                            <-- the
PROCESSINSTANCE method as a METHOD tag value
	   <KEY>http://rheim.jcals.csc.com</KEY>                     <---
the URL goes in the key field
	   <VALIDSTATES>
	      <li>open.notRunning</li>
	      <li>open.running</li>
	   </VALIDSTATES>
	   <STATE>open.notRunning</STATE>
	   <DATA>
	      <city>San Francisco<city>
	      <state>California<state>
	   </DATA>
	</SWAP>

		Otherwise - how do we know which method is being requested?

	thanks,
	rich


	
****************************************************************************
*******************************************************************
>            >>Request 
>            CREATEPROCESSINSTANCE /submit/order?proc=10 HTTP/1.1 
>            Host: www.widget-makers.com 
>            Content-Type: text/xml 
>            Content-Length: xxxx 
>            Authorization: Digest username="skreddy" 
>              realm="skreddy@oracle.com", ... 
> 
>            <?xml version="1.0" ?> 
>            <?xml:namespace ns="SWAP:" prefix="d" ?> 
>            <?xml:namespace ns="http://conf.pcmanufact.com/" prefix="z"
> ?>
> 
>            <d:swap> 
>           
> <d:observer>http://www.ics.uci.edu/pub/ietf/swap/chair.html</d:observer>
> 
>            <d:name>equipment-purchase-process</d:name> 
>            <d:subject>procurement</d:subject> 
>            <d:description>New equipment purchase</d:description> 
>            <d:contextData> 
>                 <z:processor>pentiumII</z:processor> 
>                 <z:memory> 
>                      <z:size>256 Meg</z:size> 
>                      <z:speed>60 ns</z:speed> 
>                      <z:type>DRAM</z:type> 
>                 </z:memory> 
>                 <!-- "name, billing address, etc." --> 
>            </d:contextData> 
>            <d:startImmediately>no</d:startImmediately><!-- "available?"
> -->
> 
>            </d:swap> 
> 
>            >>Response 
>            HTTP/1.1 207 Multi-Status 
>            Content-Type: text/xml 
>            Content-Length: xxxxx 
> 
>            <?xml version="1.0" ?> 
>            <?xml:namespace ns="SWAP:" prefix="d" ?> 
>            <?xml:namespace ns="http://conf.pcmanufact.com/" prefix="z"
> ?>
> 
>            <d:multistatus> 
>                 <d:response> 
>                      <d:processInstance> 
>                          
> <d:href>http://www.widget-makers.com/status?proc=10.1 
>                           </d:href> 
>                           <?-- "other items as defined by process" --> 
>                      </d:processInstance> 
>                      <d:propstat> 
>                           <d:prop><z:size/></d:prop> 
>                           <d:status>HTTP/1.1 409 Conflict</d:status> 
>                           <d:comment>part unavailable</d:comment> 
>                      </d:propstat> 
>                      <d: propstat> 
>                           <?-- "other resource properties" --> 
>                      </d:propstat> 
>                 </d:response> 
>            </d:multistatus>

Received on Wednesday, 2 December 1998 15:16:44 UTC