These properties do not go in the config files. The need to be added to any class that will try to make a call that will try to use the proxy server. I would guess you would need to manually add them.
 
Jim

"Huang, Yuming, ALABS" <[EMAIL PROTECTED]> wrote:

Jimmy and Jim,

 

Thanks for your response.  But where should I insert those code?

 

  1. In Java’s config file?
  2. In axis config file?
  3. In the src code of WSDL2Java, and then compile?
  4. or other?

 

Yuming

 

 

-----Original Message-----
From: Jim Azeltine [mailto:[EMAIL PROTECTED]
Sent:
Friday, October 07, 2005 9:50 AM
To: [email protected]
Subject: RE: How to set proxy?

 

You may also need the following (I did):

 

System.setProperty("http.proxyUser", "myuser"); 
System.setProperty("http.proxyPassword", "mypassword");

 

Jim

"Coyne, Jimmy" <[EMAIL PROTECTED]> wrote:

try

System.setProperty("http.proxyHost", "your.proxy.name");

System.setProperty("http.proxyPort", "your.port.number");

 

That should work.

-----Original Message-----
From: Huang, Yuming, ALABS [mailto:[EMAIL PROTECTED]
Sent:
06 October 2005 21:03
To: [email protected]
Subject: How to se t proxy?

Hello,

 

The WSDL2Java command works for local/intranet urls  but fails to connect to outside urls.

I can view the wsdl using IE.  My question is, seems to me Axis does not use IE's proxy setting,

How to proxy to Axis?

 

java org.apache.axis.wsdl.WSDL2Java (WSDL-file-URL)

 

 

Thanks a lot.

Reply via email to