Soap Connection Through Proxy
843834Jul 15 2002 — edited Jun 2 2003HI,
I Have to connect to a web service through proxy which requires Authentication. i am using the following code
System.setProperty("http.proxySet", "true");
System.setProperty("http.proxyHost", "192.168.100.133");
System.setProperty("http.proxyPort", "80");
System.setProperty("http.proxyUserName", proxyUserName);
System.setProperty("http.proxyPassword", proxyPassword);'
but is failing & giving me error
javax.xml.soap.SOAPException: Bad response: (407Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )
at com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection.post(HttpSOAPConnection.java:267)
Can any one help me out on this