axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Provencher, Samuel" <sprovenc...@telegea.com>
Subject RE: WSDL2Java programmatic errors
Date Fri, 10 May 2002 21:36:07 GMT
Oh, I forgot to mention that the same call works when called from a batch
file...

-----Original Message-----
From: Provencher, Samuel [mailto:sprovencher@telegea.com]
Sent: Friday, May 10, 2002 5:28 PM
To: 'axis-user@xml.apache.org'
Subject: WSDL2Java programmatic errors


I've managed to drive Java2WSDL programmatically, but am having trouble
doing the same thing with WSDL2Java and it appears to do some naming things
in the parser as it tries to find the file. The file is there, but it's
getting confused I guess... maybe I have the wrong version of xerces for
Axis?



- Exception: org.xml.sax.SAXException: Fatal Error: URI=null Line=0: File
"file:///D:/WebServiceGenerator/portalservice.wsdl" not found. 	at
org.apache.axis.utils.XMLUtils$ParserErrorHandler.fatalError(XMLUtils.java:4
72) 	at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1225) 	at
org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(Defa
ultEntityHandler.java:512) 	at
org.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:312)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1080) 	at
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:19
5) 	at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:243)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:256) 	at
org.apache.axis.wsdl.toJava.Emitter.emit(Emitter.java:151) 	at
org.apache.axis.wsdl.WSDL2Java$WSDLRunnable.run(WSDL2Java.java:725) 	at
java.lang.Thread.run(Thread.java:484) java.io.IOException: Unable to
retrieve WSDL document: D:\WebServiceGenerator\indirect_portalservice.wsdl
at org.apache.axis.wsdl.toJava.Emitter.emit(Emitter.java:153) 	at
org.apache.axis.wsdl.WSDL2Java$WSDLRunnable.run(WSDL2Java.java:725) 	at
java.lang.Thread.run(Thread.java:484) 


*******************************************************
*******************************************************
"Imagination is more important than knowledge."  - Albert Einstein

Samuel Provencher        voice: 781.663.9209
Senior Project Engineer  email: sprovencher@telegea.com
Telegea, Inc.            
*******************************************************
*******************************************************

Mime
View raw message