You need to define the system properties http.proxyHost and http.proxyPort.
If you're running your client from Ant you can do something like this, replacing everything that begins with "My".
 
      <java classname="MyClass" classpathref="classpath" fork="yes">
        <sysproperty key="http.proxyHost" value="MyProxyHostName"/>
        <sysproperty key="http.proxyPort" value="MyProxyPort"/>
      </java>
 
If you're running your client from the command-line you can do something liket his.
 
    java -Dhttp.proxyHost=MyProxyHostName -Dhttp.proxyPort=MyProxyPort MyClass
-----Original Message-----
From: Andrew Chau [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 12:36 PM
To: [EMAIL PROTECTED]
Subject: Proxy Server howto?

If we have a proxy server, how do I tell the SOAP stub to use the proxy server instead?

 

Thanks

 

Andrew



***************************************************************************************
WARNING: All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
***************************************************************************************

Reply via email to