If our application wants to access external content where our system needs to go through proxy server, then we have to give http proxy details to access via proxy server.
For instance, to enable proxy for xdk tool, set -Dhttp.proxyHost , -Dhttp.proxyPort as below
java -cp .\xml.jar;.\xmlparserv2.jar -Dhttp.proxyHost=www-proxy.xyz.com -Dhttp.proxyPort=80 oracle.xml.parser.v2.oraxml -schema abcd.xml
Please find more details http://java.sun.com/javase/6/docs/technotes/guides/net/proxies.html
No comments:
Post a Comment