Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 62 Insurance
- 536.1K On-Premises Infrastructure
- 138.2K Analytics Software
- 38.6K Application Development Software
- 5.7K Cloud Platform
- 109.4K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71.1K Infrastructure Software
- 105.2K Integration
- 41.6K Security Software
Configuring Web Service Access via a Proxy Server?

656842
Member Posts: 11
Hi,
I'm trying to configure the OdiInvokeWebservices Tool to hit a WebService via a proxy server.
I've managed to test my OdiInvokeWebservices against a local WS (i.e. a direct connection), but I can't see how to configure ODI to go via a proxy server.
There are no obvious configuration parameters (I'd expect to see a proxy host, username, password and proxy exceptions perhaps) on either the OdiInvokeWebServices Tool or on ODI itself.
So, can anyone answer any or all of the following?
* Are there any ODI config variables (or ODI environment variables) for configuring proxy server access?
* If that fails, what is the advisable approach (given the ODI architecture)? E.g. creating a ODI technology in the topology for HTTP connections via a proxy server (does this make any sense - I'm new to ODI)?
* Is it possible or advisable to extend the OdiInvokeWebServices Tool to allow config for a proxy server? (probably a bad idea - much hacking involved)?
If all the above fails, then the only option is to give the ODI access direct access to the internet.
Thanks in advance,
Matt
I'm trying to configure the OdiInvokeWebservices Tool to hit a WebService via a proxy server.
I've managed to test my OdiInvokeWebservices against a local WS (i.e. a direct connection), but I can't see how to configure ODI to go via a proxy server.
There are no obvious configuration parameters (I'd expect to see a proxy host, username, password and proxy exceptions perhaps) on either the OdiInvokeWebServices Tool or on ODI itself.
So, can anyone answer any or all of the following?
* Are there any ODI config variables (or ODI environment variables) for configuring proxy server access?
* If that fails, what is the advisable approach (given the ODI architecture)? E.g. creating a ODI technology in the topology for HTTP connections via a proxy server (does this make any sense - I'm new to ODI)?
* Is it possible or advisable to extend the OdiInvokeWebServices Tool to allow config for a proxy server? (probably a bad idea - much hacking involved)?
If all the above fails, then the only option is to give the ODI access direct access to the internet.
Thanks in advance,
Matt
Tagged:
Best Answer
-
Matt
Have you tried adding additional settings to the java vm?
I note that there are the following options which you could set in ODI_ADDITIONAL_JAVA_OPTIONS in the odiparams file.
$ java -Dhttp.proxyHost=proxyhostURL
-Dhttp.proxyPort=proxyPortNumber
-Dhttp.proxyUser=someUserName
-Dhttp.proxyPassword=somePassword javaClassToRun
Craig
Answers
-
Matt
Have you tried adding additional settings to the java vm?
I note that there are the following options which you could set in ODI_ADDITIONAL_JAVA_OPTIONS in the odiparams file.
$ java -Dhttp.proxyHost=proxyhostURL
-Dhttp.proxyPort=proxyPortNumber
-Dhttp.proxyUser=someUserName
-Dhttp.proxyPassword=somePassword javaClassToRun
Craig -
Thanks Criag.
For anyone else's reference, my odiparams.bat file now has a line something like:
set ODI_ADDITIONAL_JAVA_OPTIONS=-Dhttp.proxyHost=myproxyhost.com -Dhttp.proxyPort=proxyPortNumber -Dhttp.proxyUser=someUserName -Dhttp.proxyPassword=somePassword "-Dhttp.nonProxyHosts=127.0.0.1|someInternalHost.com"
Note the -Dhttp.nonProxyHosts (which is the proxy exceptions list) is in quotes to escape the pipe character (for windows at least).
Also, check out: [http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html]
Matt
This discussion has been closed.