We're making a product which requires a web service to hook up to an existing database used by one of our other products. Owing to time constraints we need to get this thing up and running pretty quickly. Our web server is Apache on a Linux machine, and the client software for the new product is constrained to communication on Port 80. Our dilemma is that we can't just get a new server in time (Apache can't share port 80) and so the plan is to route requests through the existing Apache server.
我们制作的产品需要Web服务才能连接到我们其他产品使用的现有数据库。由于时间限制,我们需要快速启动并运行。我们的Web服务器是Linux机器上的Apache,新产品的客户端软件仅限于端口80上的通信。我们的困境是我们不能及时获得新服务器(Apache无法共享端口80)所以计划是通过现有的Apache服务器路由请求。
I know we can hook Apache up to Tomcat using mod_jk, but what I want to do is overlay Apache Axis on Tomcat to make use of SOAP. I'm currently downloading everything I need to test this out, but not having used Axis before, I'm just curious as to whether anybody has actually tried this before and if so, does it / can it work? If there are going to be any roadblocks stopping me from doing this then a heads-up would be much appreciated.
我知道我们可以使用mod_jk将Apache连接到Tomcat,但我想要做的是在Tomcat上覆盖Apache Axis以使用SOAP。我正在下载我需要测试它的所有内容,但之前没有使用过Axis,我只是好奇是否有人之前已经尝试过这个,如果有的话,它/它可以工作吗?如果有任何障碍阻止我这样做,那么我将非常感谢单挑。
I can't seem to find anything which says this particular setup will or won't work, apart from a posting on the Ubuntu forums which looks similar to what I'm attempting to do but on closer inspection appears to be different.
我似乎无法找到任何说这个特定设置将会或不会工作的东西,除了在Ubuntu论坛上的帖子看起来类似于我试图做的但是仔细观察似乎是不同的。
So to summarise, what I'm curious about is whether accessing a SOAP Web Service through Apache web server, connected to an Axis / Tomcat combo would work?
总而言之,我很好奇的是,通过连接到Axis / Tomcat组合的Apache Web服务器访问SOAP Web服务是否有效?
I'm assuming for now that with a little jiggery-pokery it should be ok, but I'll admit I'm in unfamiliar territory here so any advice / information would be a big help.
我现在假设有一点点jiggery-pokery它应该没问题,但我承认我在这里不熟悉,所以任何建议/信息都将是一个很大的帮助。
Thanks,
Tom
2 个解决方案
#1
Having just installed and configured all of the necessary components, it appears that this does work. I'm yet to test whether it allows a web service to work from a client machine properly yet, but all signs look good so far!
刚刚安装并配置了所有必要的组件后,看起来这确实有效。我还没有测试它是否允许Web服务正常地从客户端计算机上运行,但到目前为止所有标志看起来都很好!
#2
I worked on a product that had exactly this setup about a year ago. I'm afraid the details are a bit fuzzy, but I don't remember having any problems with the software stack. If you find you need help, comment back here and I'll try to dig up some more info.
我在大约一年前制作了一款完全具有这种设置的产品。我担心细节有点模糊,但我不记得软件堆栈有任何问题。如果您发现需要帮助,请回复此处,我会尝试挖掘更多信息。
#1
Having just installed and configured all of the necessary components, it appears that this does work. I'm yet to test whether it allows a web service to work from a client machine properly yet, but all signs look good so far!
刚刚安装并配置了所有必要的组件后,看起来这确实有效。我还没有测试它是否允许Web服务正常地从客户端计算机上运行,但到目前为止所有标志看起来都很好!
#2
I worked on a product that had exactly this setup about a year ago. I'm afraid the details are a bit fuzzy, but I don't remember having any problems with the software stack. If you find you need help, comment back here and I'll try to dig up some more info.
我在大约一年前制作了一款完全具有这种设置的产品。我担心细节有点模糊,但我不记得软件堆栈有任何问题。如果您发现需要帮助,请回复此处,我会尝试挖掘更多信息。