try using the -O (timeout) option passed to WSDL2Javav with a higher value. The default is 45 seconds. I had to set mine to 2 mins for it to work.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 4:02 PM To: [EMAIL PROTECTED] Subject: wsdl2java "Connection Timed Out" Hi, when trying to convert the attached wsdl file to java I get the following error. Does anyone know why this error occurs ? My network connection is fine >java org.apache.axis.wsdl.WSDL2Java test1.wsdl java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at java.net.URL.openStream(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:322) at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:367) at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:350) at org.apache.axis.wsdl.symbolTable.SymbolTable.lookForImports(SymbolTable.java:656) at org.apache.axis.wsdl.symbolTable.SymbolTable.lookForImports(SymbolTable.java:661) at org.apache.axis.wsdl.symbolTable.SymbolTable.lookForImports(SymbolTable.java:661) at org.apache.axis.wsdl.symbolTable.SymbolTable.lookForImports(SymbolTable.java:661) at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:552) at org.apache.axis.wsdl.symbolTable.SymbolTable.add(SymbolTable.java:421) at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:408) at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:393) at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:245) at java.lang.Thread.run(Unknown Source)
