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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > 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? >
**************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ***************************************************************************
