|Oracle® Enterprise Data Quality for Product Data Java API Interface Guide
Release 11g R1 (18.104.22.168)
Part Number E29133-03
|PDF · Mobi · ePub|
Sometimes a Java program needs to call the Oracle DataLens Java API to an Oracle DataLens Server outside of your firewall. Normally this is not a problem, but sometimes there is a proxy server that must be negotiated to get to the outside world.
There are two solutions to this problem.
Use the Oracle DataLens Web Services interface and you your WSDL connection software to negotiate through the proxy server.
Use the Java Proxy arguments to the
Three parameters are used with the
java command to set the proxy information:
DproxyHost=hostname or IP Address
These parameters are illustrated in the following example
java call to a program called
java -cp "./opdq-api1.jar;./jdom-1.0.jar;." -DproxySet=true -DproxyHost=10.1.60.116 -DproxyPort=8080 WfgProgram
There are four additional parameters to the RtClient overloaded constructor for with through a proxy. For additional information, see the JavaDoc documentation as described in "Related Documents".
@param proxyHost - the name of the proxy server
@param proxyPort - the port of the proxy server
@param proxyUser - the user name to login to the proxy server
@param proxyPassword - the password to login to the proxy server
These are shown in the following between the
ServerPort and the
m_wfgClient = new WfgClient(serverName, serverPort, "10.1.60.106",2229, "user123", "secret1", ENCRYPTION, clientCode, APPLICATION);