function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Venk_ModelMetriVenk_ModelMetri 

Logging in when a Proxy is involved.

I try to run the quickstart.bat in the client's computer and its giving the error

 

; nested exception is:
        java.net.ConnectException: Connection refused: connect

 

I'm assuming this is because of the use of proxy. Is there a work around? What should be done to support Proxy?

 

Thanks

Venk

Message Edited by Venk_ModelMetri on 03-29-2004 01:26 PM

DevAngelDevAngel

Hi Venk,

I have not tried to do a java client through an authenticating proxy.  You will need to google this to find the correct way to establish an http proxy.

Venk_ModelMetriVenk_ModelMetri

Hi Dave,

What files in the quickstart kit would I have to modify?

 

My impression was the quickstart uses port 80 to make the webservices call. Is there a reason why it will not be allowed by a Proxy?

 

Thanks

Venk

DevAngelDevAngel

Hi Venk,

Typically a proxy server uses some other port and all requests to port 80 or 443 or what ever else might be designated by the proxy are passed through.  This means that http requests go to the server and port that define the proxy and the proxy determines what to do with the request. 

See if this link is of any use:

http://jguru.com/faq/view.jsp?EID=559996

Or maybe this from http://www.mindreef.com/products/2.0/help/proxydetails.html

Setting a Proxy in Apache Axis 1.0

To send all outbound SOAP requests from your client through SOAPScope, set the Java system properties http.proxyHost and http.proxyPort from your client code:

  System.setProperty("http.proxyHost", "SOAPscopeMachine");
  System.setProperty("http.proxyPort", "5049");

You can set these system properties without modifying your client code by using the Java -D command line option when you start your Java application.

  >java -Dhttp.proxyHost=SOAPscopeMachine -Dhttp.proxyPort=5049 myPackage.MyApp

Back to top

Venk_ModelMetriVenk_ModelMetri

Dave,

Thank You So Much! You rock!

 

Venk