|
Hi, I liked your article very much. However I have to say that a lot of what you did already exists inside the eXist XML Native Database, im not sure if you are aware of it or not?
It can be deployed as a Servlet and readily processes XML posted to XQuery stored in the database via. its HTTP REST API. It also has a very nice extensions API for XQuery, which several people have already contributed modules for.
As a bonus it can also serve up an custom XQuery function as a SOAP Web Service, the XML output of the function is the body of the SOAP Response and the parameters to the function are mapped as parameters in the SOAP Request.
I think you could of used it in your scenario without needing to write any of the glue.
Take a look - http://www.exist-db.org
|