Return-Path: Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm Delivered-To: mailing list axis-user@xml.apache.org Delivered-To: moderator for axis-user@xml.apache.org Received: (qmail 41054 invoked from network); 13 Dec 2001 19:36:15 -0000 Received: from thumper.research.telcordia.com (128.96.41.1) by daedalus.apache.org with SMTP; 13 Dec 2001 19:36:15 -0000 Received: from research.telcordia.com (extranet245-95.cc.telcordia.com [192.4.245.95]) by thumper.research.telcordia.com (8.12.1/8.12.1) with ESMTP id fBDJZskG004891 for ; Thu, 13 Dec 2001 14:35:59 -0500 (EST) Message-ID: <3C190325.52E60E5B@research.telcordia.com> Date: Thu, 13 Dec 2001 14:36:06 -0500 From: John-Luc Bakker Reply-To: JLBakker@research.telcordia.com Organization: Telcordia Technologies/Applied Research X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: axis-user@xml.apache.org Subject: alpha 2 userguide/example3 problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N All, I may have a newbie question. I am working through the userguide. I have Tomcat 3.2.3. I successfully deployed example3 and ran the example3 client. Then I jumped to the WSDL section and tried to view the WSDL output through: %JAVA_HOME%\bin\java -cp %XERCES_HOME\xerces.jar;%AXIS_HOME%\lib\axis.jar;%AXIS_HOME%\lib\log4j-core.jar;%AXIS_HOME%\lib\wsdl4j.jar;;%AXIS_HOME%\lib\clutil.jar;. org.apache.axis.wsdl.Wsdl2java http://localhost:8080/axis/services/MyService?wsdl This failed: org.xml.sax.SAXParseException: File "http://localhost:8080/axis/services/MyService?wsdl" not found. at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1202) at org.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.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:195) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:184) at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:196) at org.apache.axis.wsdl.Emitter.emit(Emitter.java:133) at org.apache.axis.wsdl.Wsdl2java.main(Wsdl2java.java:199) java.lang.NullPointerException at com.ibm.wsdl.xml.WSDLReader.readWSDL(Unknown Source) at org.apache.axis.wsdl.Emitter.emit(Emitter.java:151) at org.apache.axis.wsdl.Emitter.emit(Emitter.java:134) at org.apache.axis.wsdl.Wsdl2java.main(Wsdl2java.java:199) Error in parsing: null Tomcat echos: 2001-12-13 14:26:25 - Ctx( /axis ): 404 R( /axis + /services/MyService + null) null Then I had a look at my server.xml file and found that I during configuration of WSTK 2.4 I probably (had to) enter(ed) this line: Idon't want to use WSTK; I want to play with AXIS. However, my root for axis is "c:\javasoft\axis-1_0". Should I change my docBase to get this working? What should my docBase be to have a look at the wsdl for example3? I have been trying various things last nite and so far to no avail ... Thanks, John-Luc -- John-Luc Bakker Telcordia Technologies tel: +1 973 829 5062 445 South Street gsm: +1 973 462 0538 Morristown, 07960 NJ fax: +1 973 829 2645 Yahoo & AIM messengers: jlbakker51 ********************************************************** Visit http://www.argreenhouse.com/ngnets for ETS enabled APIs Visit http://www.argreenhouse.com/JAINRefCode for JCC RI/TCK **********************************************************