It's difficult to help with such a broad question. You can start with the sample SaxonServlet issued as one of the sample applications (in the saxon-resources8.x file, a separate download) and then customize it to your needs. That provides you with a simple web service implemented as a stateless servlet (well, stateless as far as the caller is concerned): it accepts the URIs of a source document and stylesheet as inputs, and returns the result of applying the stylesheet to the source document.
 
Don't implement it on a public site without thinking about the security implications.
 
Michael Kay
http://www.saxonica.com/


From: saxon-help-bounces@lists.sourceforge.net [mailto:saxon-help-bounces@lists.sourceforge.net] On Behalf Of Elton Gomez
Sent: 11 March 2007 18:51
To: saxon-help@lists.sourceforge.net
Subject: [saxon] saxon web service config

I need use SAXON like a web service; I'll request web service from .php application. Can do you help me? Thanks in advnce.