Hi there,
I am working in a place that outgoing traffic must go through a HTTP PROXY server.
I am building a WAR that uses XML configuration, which references XSD file, see below. As the app. is deployed to Tomcat, I suppose tomcat will make outbound request to download the XSD to validate my XML. But I cannot figure out how to configure TOMCAT to be aware of proxy.
There are documents about configuring PROXY in TOMCAT, but that is for reverser proxy (incoming traffic), which is different from what I need here.
Basically, how does Tomcat get the XSD in a proxy environment?
Thanks,
Yan
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">