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 Jean-Marc Taillant <ta...@bst.bsf.alcatel.fr> on 2002/10/25 08:57:19 UTC

Re: Wsdl2Java Client Stub -> jdk 1.3 problem

Hi,
Aa I know org/w3c/dom/Node com from xerces library. JDK1.4 include it own
DOM class. So if you want to use with JDK 1.3 you need to include an xml
parser (like xerces)

Regards,

Jean Marc Taillant


----- Original Message -----
From: "Markus Koblbauer" <ma...@segue.at>
To: <ax...@xml.apache.org>
Sent: Friday, October 25, 2002 8:57 AM
Subject: Wsdl2Java Client Stub -> jdk 1.3 problem


> > Hi!
> >
> > I'm using Axis rc2 and JDK 1.3.0 to generate the Client Stub. Compile it
> > works fine but when I want to execute a method an error occurs:
> >
> > Code:
> >       Service1 serv = new Service1Locator();
> >       Service1Soap prot = serv.getService1Soap();
> >       System.out.println(prot.echoString("test"));
> >
> > The constructor raises this exception:
> > java.lang.NoClassDefFoundError: org/w3c/dom/Node
> >  at org.apache.axis.client.Service.getAxisClient(Service.java:142)
> >  at org.apache.axis.client.Service.<init>(Service.java:151)
> >  at jexp.webservice.Service1Locator.<init>(Service1Locator.java:10)
> >
> > The class is a member of JDK 1.4.
> > Isn't it possible to use the stubs with older JDKs?
> >
> >
> > thanks for any hint.
> > MK
> >