Server side custom script xml

Hi

I need to process a post request with messages in xml format
this is the headers:

POST HTTP/1.1
Host
Accept: text/xml
Content-Type: text/xml
Content-Length: 123xxx

its possible process this request with a custom script

Regards

Julian