Web Service client running on Tomcat behind Apache-ModJk

Hi all.

I've realized a web service, which have been deployed on a Tomcat 5.5 instance running behind a firewall.

The Web Service is published through an Apache 2.0 Web Server, which is in the DMZ and which is connected to Tomcat via modjk.

Everything is working fine (as apache forwards to tomcat clients' calls), except from one thing: one of the web-methods needs to connect to a remote server to validate some data... that is, this web-method implements a "web service client" piece of code, by which a remote validating method must be called.

So, the problem is that this remote method must be accessed from something running behind the firewall...

One way could be to open a hole in the firewall, allowing only calls to that remote address, but I'd rather avoid this.

Do someone have other suggestions?

Is there perhaps any way to use mod_jk also for "exiting" and not only for "entering"?

Any help will be very appreciated!!

[989 byte] By [robicha] at [2007-11-27 10:28:58]
# 1

Could you not use a proxy server. The web service client would go through the proxy server to the internet

tolmanka at 2007-7-28 17:54:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...