Is there an HTTP listener for the scanner that would accept a POST message? I started looking through the code and saw some things that looked like there might be. (I don't want a SOAP listener, - well, I do, but separately).
Or, do I need to write a servlet that drops it into a directory?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is already a servlet in the web module that does this. I can't remember the name of the servlet, but take a look at the code in the web module. It does just what you need.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Bruce and Dejan, I looked at the code and it does seem to do the right things. I presume from the code that it's looking for a pipeline name as a parameter on the POST, but I'm wondering if there's a little more configuration information anywhere for how to run babeldoc underneath Tomcat, config properties for the listener, etc. (or do I just set BABELDOC_HOME to a Tomcat-addressable directory when I start Tomcat?)
Thanks again,
Bill
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
com.babeldoc.web.pipeline.servlet.HttpPostPipelineFeeder class.
This is servlet for feeding pipelines. I haven't worked with it, but I guess it should work...
Dejan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is a cataline start script in the web/bin directory that you can use to start tomcat/catalina. I have not used it in awhile so you might need to roll up your sleeves...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there an HTTP listener for the scanner that would accept a POST message? I started looking through the code and saw some things that looked like there might be. (I don't want a SOAP listener, - well, I do, but separately).
Or, do I need to write a servlet that drops it into a directory?
Thanks
There is already a servlet in the web module that does this. I can't remember the name of the servlet, but take a look at the code in the web module. It does just what you need.
Thanks Bruce and Dejan, I looked at the code and it does seem to do the right things. I presume from the code that it's looking for a pipeline name as a parameter on the POST, but I'm wondering if there's a little more configuration information anywhere for how to run babeldoc underneath Tomcat, config properties for the listener, etc. (or do I just set BABELDOC_HOME to a Tomcat-addressable directory when I start Tomcat?)
Thanks again,
Bill
com.babeldoc.web.pipeline.servlet.HttpPostPipelineFeeder class.
This is servlet for feeding pipelines. I haven't worked with it, but I guess it should work...
Dejan
There is a cataline start script in the web/bin directory that you can use to start tomcat/catalina. I have not used it in awhile so you might need to roll up your sleeves...