> How do you ask Xerces to use a proxy server?  I tried setting the
> environment variable http_proxy, and I tried setting the java system
> properties http.proxyHost and http.proxyPort.  Neither of these approaches
> worked.  

        I would suggest you to write separte program to make sure that it is 
able to make URL connections through proxy server by setting http.proxyHost and 
http.proxyPort. I presume you have set right values for proxyHost and proxyPort
and site you are trying to access is running etc..
                Once you are able to make above thing work, u should start the 
application using Xerces by setting same two properties.. 
java -Dhttp.proxyHost=".." -Dhttp.proxyPort=".." ....
This will help Xerces to make URL connections throuh proxy server. 
There is related faq on it..
http://xml.apache.org/xerces2-j/faq-general.html#faq-6
        Please provide more information if u are still facing the problem, as i 
have tested it with Xerces and it works.        

Thanks,

Neeraj B.
Sun Microsystems, inc.






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to