MKCOL /public/appI/ HTTP/1.1
HOST: yws

================================================================== 

MKCOL /public/appI/resources/ HTTP/1.1
HOST: yws

==================================================================

PUT /public/appI/resources/form.htm HTTP/1.1
HOST: yws
Content-type: text/html

<html><head>
<title>appI Item Form</title>
</head><body>
<form class="form" method="POST" actionspec="%DataUrl%">
  First Name: <input type="text" class="field" name="FirstName"> <br>
  Last Name: <input type="text" class="field" name="LastName"> <br>
  <input type="submit">
  <input type="hidden" name="DAV:contentclass" value="SampleItem">
  <input type="hidden" name="http://schemas.microsoft.com/exchange/nosave/hintforurl" value="LastName">
</form>

==================================================================

PUT /public/appI/resources/closewindow.htm HTTP/1.1
HOST: yws
Content-type: text/html

<html><head>
<script>
window.close()
</script>
</head></html>

==================================================================

PROPPATCH /public/appI/ HTTP/1.1
HOST: yws
Content-type: text/xml

<?xml version="1.0"?>
<g:propertyupdate xmlns:g="DAV:" xmlns:w="urn:schemas-microsoft-com:exch-data:">
   <g:set>
      <g:prop>
         <w:schema-collection-ref>/public/appI/resources/</w:schema-collection-ref>
       </g:prop>
   </g:set>
</g:propertyupdate>

==================================================================

PROPPATCH /public/appI/resources/newform.freg HTTP/1.1
HOST: yws
Content-type: text/xml

<?xml version="1.0"?>
<g:propertyupdate xmlns:g="DAV:" xmlns:form="urn:schemas-microsoft-com:office:forms">
   <g:set>
      <g:prop>
         <form:request>GET</form:request>
         <form:cmd>newpost</form:cmd>
         <form:binding>server</form:binding>
         <form:contentclass>urn:content-classes:folder</form:contentclass>
         <form:executeurl>/exchweb/bin/exwform.dll</form:executeurl>
         <form:formurl>form.htm</form:formurl>
         <g:contentclass>urn:schemas-microsoft-com:office:forms#registration</g:contentclass>
      </g:prop>
   </g:set>
</g:propertyupdate>

==================================================================

PROPPATCH /public/appI/resources/createitem.freg HTTP/1.1
HOST: yws
Content-type: text/xml

<?xml version="1.0"?>
<g:propertyupdate xmlns:g="DAV:" xmlns:form="urn:schemas-microsoft-com:office:forms">
   <g:set>
      <g:prop>
         <form:request>POST</form:request>
         <form:binding>server</form:binding>
         <form:contentclass>urn:content-classes:folder</form:contentclass>
         <form:executeurl>/exchweb/bin/exwform.dll</form:executeurl>
         <form:formurl>form.htm</form:formurl>
         <form:executeparameters>CreateNew&amp;redir=closewindow.htm</form:executeparameters>
         <g:contentclass>urn:schemas-microsoft-com:office:forms#registration</g:contentclass>
      </g:prop>
   </g:set>
</g:propertyupdate>

==================================================================

PROPPATCH /public/appI/resources/openitem.freg HTTP/1.1
HOST: yws
Content-type: text/xml

<?xml version="1.0"?>
<g:propertyupdate xmlns:g="DAV:" xmlns:form="urn:schemas-microsoft-com:office:forms">
   <g:set>
      <g:prop>
         <form:request>GET</form:request>
         <form:binding>server</form:binding>
         <form:contentclass>SampleItem</form:contentclass>
         <form:executeurl>/exchweb/bin/exwform.dll</form:executeurl>
         <form:formurl>form.htm</form:formurl>
         <g:contentclass>urn:schemas-microsoft-com:office:forms#registration</g:contentclass>
      </g:prop>
   </g:set>
</g:propertyupdate>

==================================================================

PROPPATCH /public/appI/resources/updateitem.freg HTTP/1.1
HOST: yws
Content-type: text/xml

<?xml version="1.0"?>
<g:propertyupdate xmlns:g="DAV:" xmlns:form="urn:schemas-microsoft-com:office:forms">
   <g:set>
      <g:prop>
         <form:request>POST</form:request>
         <form:binding>server</form:binding>
         <form:contentclass>SampleItem</form:contentclass>
         <form:executeurl>/exchweb/bin/exwform.dll</form:executeurl>
         <form:formurl>form.htm</form:formurl>
         <form:executeparameters>redir=closewindow.htm</form:executeparameters>
         <g:contentclass>urn:schemas-microsoft-com:office:forms#registration</g:contentclass>
      </g:prop>
   </g:set>
</g:propertyupdate>
==================================================================