Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Soap Connection Through Proxy

843834Jul 15 2002 — edited Jun 2 2003
HI,

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


Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 30 2003
Added on Jul 15 2002
8 comments
2,013 views