I am working on a number of geoprocessing services to be accessed solely by web clients. The traditional method of encapsulating this type of stuff in toolboxes and then publishing the toolbox just won't work. For example, I would like to send some binary data (zip files) back to the client, and that is not possible. I know I could store the zip file on the server, and send the url to the client, but I really HATE that approach for many reasons.
I am thinking about writing a traditional python based gp script, and making that available to a web client via mod_python and Apache. I haven't even tried it yet to know that its possible, but I can't imagine why it wouldn't be. However, is the use of the geoprocessor in this context legal (I do have valid AGIS Server license)?