Receive the contents of the instance as an XML document:
POST /xforms/request HTTP/1.1
Content-type: application/xml
Accept: application/xml.application/xhtml+xml;q=0.9,text/plain;q=0.8,image/png
User-Agent: X-Smiles/0.93/20050131
Accept-language: en-us,en;q=0.5
Host: sinex.tml.hut.fi:8080
Content-length: 290
<?xml version="1.0" encoding="ISO-8859-1"?>
<doughnuts xmlns="http://www.example.org/doughnuts/">
<quantity xsi:type="xsd:nonNegativeInteger">32</quantity>
</doughnuts>
Process in PHP, Servlets, JSP, ASP, CGI, etc.
Use any XML API you like
Respond with a standard HTTP response header and document body