Hi.
 
What is your actual code rathert than the example.
 
eg code
 
  httpConn = new SOAPHTTPConnection();
  if ( !mstrProxyServer.equalsIgnoreCase("") )
  {       
   if ( mintProxyPort != 0 )
   {
    httpConn.setProxyPort(mintProxyPort);
   }   
   httpConn.setProxyHost(mstrProxyServer);   
  }       
 
where
mintProxyPort = myproxy
mstrProxyServer = 8080
 
J


Fegenbush Scott <[EMAIL PROTECTED]> wrote:
Hello,
Can someone PLEASE give me some advice / examples of how to get through our corporate proxy server to an outside URL? I have tried the following code without any luck:

SOAPHTTPConnection soapHTTPConnection = new SOAPHTTPConnection();
soapHTTPConnection.setProxyHost("proxyserver.somedomain.com");
soapHTTPConnection.setProxyPort(portNumber);
soapHTTPConnection.setUserName("userid");
soapHTTPConnection.setPassword("password");

with I receive the following error everytime:
[SOAPException: faultCode=SOAP-ENV:Client; msg=Error opening socket: java.net.UnknownHostException: .....
..................
at org.apache.soap.transport.http.SOAPHTTPConnection.send(SOAPHTTPConnection.java:354)



Any help would be GREATLY apprecaited!!!!



Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger

Reply via email to