on 2012 Mar 07 5:03 AM
Hello All,
I'm trying to access a SQLAnywhere database WebService inside a lan without having to change firewall settings. I can install some software on the lan side and on the WAN side (WebServer). The idea is to reach multiple lan databases trough a specific URL (each URL would map to a diferent WebServer.
I have found RSHOST, and RSOE and tried to implement these tools but i don't know if they can be used for acessing database webservices (instead of synchronization).
Can someone shad a light in this?
Best Regards and TIA, Rui Cruz
Request clarification before answering.
If you're simply trying to direct HTTP requests across a web server (e.g. to make requests to the database server's web services port for HTTP web services), you usually just have to install some type of HTTP reverse-proxy mechanism in your web server.
e.g.
The Relay Server is also a kind of reverse-proxy technology, but is usually for intended for routing data "streams" from clients to different application servers (e.g. to MobiLink, Afaria, etc.).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Jeff,
Problem is using mod_proxy or Application Request Routing implies that I need to modify the firewall rules to have access to the internal machines.
I was trying with the RSOE because as the name implies (Outbound enabler) it bypasses the firewall settings but has you said it doesn't seems to be intended for this situation (accessing webservices behind a firewall).
Maybe with a dynamic VPN between the two hosts. Does someone knows some kind of tool / API for setting up a scenary like this one? (with simple examples preferably)? WebServer is ISS and not Apache / linux...
PS. I would love to use RSOE / RSHost since it seems very scalable and doing stuff with another tools may give me scalability problems in the future.
Thanks anyway, Rui Cruz
@Jeff: The (interesting-looking!) links do not work properly (for me, at least)...
Ah, I had misunderstood the problem as well - the problem is not the external firewall, but an internal one, separating a DMZ and hence the desire for the RSOE. Yes, if this is a technical requirement, this may be a good scenario to use the Relay Server.
The RSOE should also support SQL Anywhere as a back-end server, as per the documentation, but I'm not aware of any documentation samples that might show you how to set this particular configuration up.
It should be very similar to the MobiLink instructions, except instead of starting a MobiLink server, you would start the database server instead.
If you're looking for a step-by-step solution to this issue, we can try to put one together for you (but a warning that this may take some time). If this is an urgent issue, please open a technical support case and we can discuss your specific requirements.
Someone? Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
IMHO, you can simply use the internal IP addresses (or server names, if they are mapped via WINS or the like) in the URL, and there shouldn't be a need to use RSHOST and the RSOE.
I would try to use the SQL Anywhere Web Service tutorials (which usually run locally on localhost) and modify them to run on a different box in your LAN (which would include to use dbsrvX instead of dbengX).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
52 | |
10 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.