Girish,

The documentation for ant wsdltojava says:

Create Java classes from local or remote WSDL. Mappings from namespaces to packages can be provided as nested <mapping> elements.

Proxy settings are taken from the java runtime settings of http.ProxyHost, http.ProxyPort, etc. The Ant task <setProxy> can set these. As well as the nested mapping elements, this task uses the file NStoPkg.properties in the project base directory for namespace mapping

So either use setproxy (ant) or use
-Dhttp.proxyHost=hostname
-Dhttp.proxyPort=80
 

Full properties for JDK 1.4.2 can be found here.

HTH,

Anthony Bargnesi

On 1/23/06, Girish_Kumar <[EMAIL PROTECTED]> wrote:













Hi,

 

How do we bye pass or authenticate a proxy while using wsdltojava?

 

Girish

 


From: Anthony Bargnesi [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 20, 2006 10:24 PM
To: [email protected]
Subject: RE: Reasons why Webservice is inaccessible from WAN?

 

Do you have a proxy server?
You can test the service access with a browser.
 
tao


I am not running a proxy server on the client.  The server I am not too sure
about.  I know, though, that I can do a "wget" command from my linux box
and access the service.  I have retrieved the "webservice exists here page"
as well as querying for the wsdl with ?wsdl.  Those both work from my client
but when using the axis client api it hangs without making a soap request.

Anthony Bargnesi
 

 

DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated..


Reply via email to