After
putting xerces at the beginning of my classpath (putting it at the end resulted
in crimson's use I have not looked enough to see where it was picking that up
from) I got this.
[wsdl2java] WSDL2Java
samples/echo/InteropTest.wsdl
java.lang.NoClassDefFoundError: org/w3c/dom/events/EventTarget
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
java.lang.NoClassDefFoundError: org/w3c/dom/events/EventTarget
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
I am
poking at this some more. I'll post a fix when I find what I am doing
wrong.
-----Original Message-----
From: Ng, Charles [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 11:15
To: '[EMAIL PROTECTED]'
Subject: RE: Dist build failureI reported this bug yesterday. WSDL2Java doesn't work with Crimson (default JAXP parser for J2SDK 1.4). Add Xerces (I tried version 2.0.1) to your classpath and it should work.Charles-----Original Message-----
From: Joseph Carew [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 01, 2002 9:00 AM
To: '[EMAIL PROTECTED]'
Subject: Dist build failureDoes anyone know what I might have wrong that would result in this error when running the "dist" ant target?samples:
[wsdl2java] WSDL2Java samples/echo/InteropTest.wsdl
[wsdl2java] java.lang.NullPointerException
[wsdl2java] at org.apache.crimson.tree.ElementNode.getAttributeNodeNS(ElementNode.java:417)
[wsdl2java] at com.ibm.wsdl.util.xml.DOMUtils.getAttributeNS(DOMUtils.java:46)
[wsdl2java] at com.ibm.wsdl.util.xml.DOMUtils.getNamespaceURIFromPrefix(DOMUtils.java:196)
[wsdl2java] at com.ibm.wsdl.util.xml.DOMUtils.getQualifiedAttributeValue(DOMUtils.java:227)
[wsdl2java] at com.ibm.wsdl.xml.WSDLReaderImpl.parsePart(WSDLReaderImpl.java:719)
[wsdl2java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseMessage(WSDLReaderImpl.java:695)
[wsdl2java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java:271)
[wsdl2java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:1320)
[wsdl2java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:1312)
[wsdl2java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:1337)
[wsdl2java] at org.apache.axis.wsdl.toJava.Emitter.emit(Emitter.java:167)
[wsdl2java] at org.apache.axis.wsdl.toJava.Emitter.emit(Emitter.java:155)
[wsdl2java] at org.apache.axis.wsdl.WSDL2Java$WSDLRunnable.run(WSDL2Java.java:725)
[wsdl2java] at java.lang.Thread.run(Thread.java:484)Thanks
This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you.