Hi All,
I am working on a project in which the dev team has downloaded and is using Xerces to parse XML. I have also downloaded Sun's JWSDP-1.5 and am trying to create
SOAP messages. When I attempt to get the SOAPPart of the message, I receive the following exception:
java.lang.NoClassDefFoundError: com/sun/org/apache/xerces/internal/dom/DocumentImpl
The problem is obvious. One possible solution is to copy the xercesImpl.jar provided with the JWSDP into the project. However, the preferred solution would be to use the Xerces implementation already being used by the rest of the dev team. Is there something that I can put into my code that will allow me to achieve this?
(Note that my code doesn't reference the DocumentImpl class directly -- it's called somewhere within Sun's code.)
Thanks,
Greg