Use the Java system properties http.proxyHost and http.proxyPort. You can
also set http.nonProxyHosts e.g. to "localHost". These properties are
described in [1].

Glyn
[1] http://java.sun.com/j2se/1.4.1/docs/guide/net/properties.html


                                                                                       
                                                  
                      "santhosh"                                                       
                                                  
                      <santhosh.kumar@comin        To:       
<[EMAIL PROTECTED]>                                                  
                      sights.com>                  cc:                                 
                                                  
                                                   Subject:  Re: Accessing Axis server 
through internet behind firewall                  
                      21/06/02 14:32                                                   
                                                  
                      Please respond to                                                
                                                  
                      axis-user                                                        
                                                  
                                                                                       
                                                  
                                                                                       
                                                  



It is throwing UnknownHostException. Tell me, how can I set my ProxyHost
and
ProxyPort for HTTP request.
----- Original Message -----
From: "Sam Ruby" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 21, 2002 5:53 PM
Subject: Re: Accessing Axis server through internet behind firewall


> santhosh wrote:
>
> >Can anyone help me in accessing service from axis server through
internet
> >behind the firewall. I am not able to find any proxy setting in the Call
> >object. If possible, let me know any other way to do this.
> >
>
> Try
>
>     System.setProperty("http.proxyUser", "username");
>     System.setProperty("http.proxyPassword", "password");
>
>
> - Sam Ruby
>
>





Reply via email to