If you want the underlying things about ACS and OpenACS you need to read Chapter 3 of Philip and Alex's Guide to Web Publishling, which is at
http://www.arsdigita.com/books/panda/.
In fact, you should read the entire book if you want to learn how to build a good web service.