You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Sarkar, Sudipta" <Su...@workscape.com> on 2002/10/01 22:12:16 UTC

WSDL2Java on https

Hi,
   I am using Axis 1.0 RC1. I tried to run WSDL2Java using
  java org.apache.axis.wsdl.WSDL2Java https://localhost:7002/wsdl/test.wsdl. it gives the exception. It does not find the wsdl although its present and I can see it thru the browser.
WSDL2Java works fine if I access it over http rather that https (http://localhost:7001/wsdl/test.wsdl)
I believe the problem is because of using SSL. Is there any parameters/setting I need to modify to make WSDL2Java work over https.

The exception is as follows:

org.xml.sax.SAXException: Fatal Error: URI=null Line=0: File "https://localhost:
7002/wsdl/test.wsdl" not found.
        at org.apache.axis.utils.XMLUtils$ParserErrorHandler.fatalError(XMLUtils
.java:556)
        at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1225
)
        at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocume
nt(DefaultEntityHandler.java:499)
        at org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:3
12)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1080)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.
java:195)
        at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:304)
        at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:329)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
a:347)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:247)
        at java.lang.Thread.run(Thread.java:484)
java.io.IOException: Unable to retrieve WSDL document: https://localhost:7002/wsdl/test.wsdl
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.jav
a:349)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:247)
        at java.lang.Thread.run(Thread.java:484)

Thanks
Sudipta Sarkar