KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to connect to a web service with a client generated from wsdl through a java program in eclipse. I am passing my request through a proxy server. But it seems that request is not getting through. Same proxy settings are working fine on SoapUI. Please find below the system properties set by me. Properties props= new Properties(System.getProperties()); props.put("http.proxySet", "true"); props.put("http.proxyHost", "10.x.x.x"); props.put("http.proxyPort", "80"); props.put("http.proxyUser","domainName\\xxx"); props.put("http.proxyPassword","xxx"); Properties newprops = new Properties(props); Java program throws an exception as java.net.UnknownHostException: What is it I am missing?
Tags (comma-separated)
Save Edits
Cancel