axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Selvakumar Ganesan" <selvakumar.gane...@wipro.com>
Subject Re: WSDL2Java not reading from live internet URLs?
Date Thu, 24 Oct 2002 06:00:21 GMT
In your client code you can set the System properties. Client code is the
class/servlet where you instantiate the WSDL2Java generated Locator and Stub
classes.
//set the proxy

System.getProperties().put( "http.proxySet", "true" );

System.getProperties().put( "http.proxyHost", "" );

System.getProperties().put( "http.proxyPort", "8080" );

System.getProperties().put( "http.proxyUser", "" );

System.getProperties().put( "http.proxyPassword", "" );

Ignore proxyUser and proxyPassword if ur proxy does not need authentication.

Selva.

----- Original Message -----
From: "Anand Hatwalne" <anand_hatwalne@persistent.co.in>
To: <axis-user@xml.apache.org>
Sent: Thursday, October 24, 2002 9:33 AM
Subject: RE: WSDL2Java not reading from live internet URLs?


> It probably is the proxy problem. How do I make WSDL2Java go through our
> corporate proxy?
>
> -----Original Message-----
> From: Anand Hatwalne [mailto:anand_hatwalne@persistent.co.in]
> Sent: Thursday, October 24, 2002 9:21 AM
> To: axis-user@xml.apache.org
> Subject: WSDL2Java not reading from live internet URLs?
>
>
> Hi,
> When I use WSDL2Java to read a WSDL from an internet  URL, it times out
> saying connection reset by peer. (java.net.SocketException: Connection
reset
> by peer: connect)
> However, the same WSDL URL is available when visited through browser. What
> might be wrong?
>


Mime
View raw message