thanx for helping out! i really appreciate it. But no, i'm not new to java, but I just suck at it... as u have seen... :D
I'll let u know if i can get that example to work... --- "NJ Rogers, Learning and Research Technology" <[EMAIL PROTECTED]> wrote: > Hi > > You've sorted out your classpath problem. Now you've > got a connect problem. > I suggest you search via "Connection refused" in the > archives for this list > (http://ws.apache.org/axis/mail.html). > > If you're new to java, servlet containers, web > services in general. I > suggest you try some of the free, online tutorials > or the developer pack > at http://java.sun.com/webservices/ > > or http://java.sun.com/docs/books/tutorial/ (java > tutorial from sun) > > regards, > Nikki > > > > > > > > > > --On 26 October 2003 11:03 -0800 Mees > <[EMAIL PROTECTED]> wrote: > > > C:\axis>java samples.userguide.example1.TestClient > > Exception in thread "main" > > java.lang.NoClassDefFoundError: > samples/userguide/exa > > mple1/TestClient > > > > this is what i get when i do what u say, so i > tried it > > with .; befor the path... > > that doesn't work either... but it's another > error, > > sth bout refusal of connection, but i tried to > solve > > that with killing my firewall, but that doesn't > work > > either... > > > > anymore suggestions? > > > > --- "NJ Rogers, Learning and Research Technology" > > <[EMAIL PROTECTED]> wrote: > >> Should not be: > >> > >> set classpath > >> > > >> > > > classpath=C:\axis\samples\userguide\example1\TestClient.class > >> > >> should not be: > >> > >> > C:\axis>set classpath > >> > classpath=C:\axis\samples\userguide\example1\; > >> > >> should instead be: > >> > >> C:\axis>set classpath > >> classpath=C:\axis\samples\userguide\example1; > >> > >> (take off slash at end) > >> > >> n > >> > >> --On 26 October 2003 09:07 -0800 Mees > >> <[EMAIL PROTECTED]> wrote: > >> > >> > I've tried 2 ways: > >> > 1 is the path to testclient.class > >> > and 2 is to path example1 both failed :S > >> > > >> > C:\axis>set classpath > >> > > >> > > > classpath=C:\axis\samples\userguide\example1\TestClient.class;c:\axis\lib > >> > \axis.j > >> > > >> > > > ar;c:\axis\lib\axis.jar;c:\axis\lib\commons-discovery.jar;c:\axis\lib\com > >> > mons-lo > >> > > >> > > > gging.jar;c:\axis\lib\jaxrpc.jar;c:\axis\lib\saaj.jar;c:\axis\lib\log4j-1 > >> > .2.8.ja > >> > > > r;c:\axis\lib\xml-apis.jar;c:\axis\lib\xercesImpl.jar > >> > > >> > C:\axis>java > >> samples.userguide.example1.TestClient. > >> > Exception in thread "main" > >> > java.lang.NoClassDefFoundError: > >> samples/userguide/exa > >> > mple1/TestClient/ > >> > > >> > ------ > >> > > >> > C:\axis>set classpath > >> > > >> > > > classpath=C:\axis\samples\userguide\example1\;c:\axis\lib\axis.jar;c:\axi > >> > s\lib\a > >> > > >> > > > xis.jar;c:\axis\lib\commons-discovery.jar;c:\axis\lib\commons-logging.jar > >> > ;c:\axi > >> > > >> > > > s\lib\jaxrpc.jar;c:\axis\lib\saaj.jar;c:\axis\lib\log4j-1.2.8.jar;c:\axis > >> > \lib\xm l-apis.jar;c:\axis\lib\xercesImpl.jar > >> > > >> > C:\axis>java > samples.userguide.example1.TestClient > >> > Exception in thread "main" > >> > java.lang.NoClassDefFoundError: > >> samples/userguide/exa > >> > mple1/TestClient > >> > > >> > > >> > --- Xavier Renard <[EMAIL PROTECTED]> > wrote: > >> >> Mees wrote: > >> >> > >> >> > The axisclasspath already directs to the > >> axis.jar > >> >> and > >> >> > alle the other jars... so i dunno what u > mean > >> with > >> >> the > >> >> > classpath... > >> >> > > >> >> well, should be on another mailing-list this > >> >> question. > >> >> However, trying to execute your class,there is > >> some > >> >> other classes that > >> >> need to be found and loaded (as the Service > >> class). > >> >> In your case, they are not > >> >> found(NoClassDefFoundError) > >> >> To be found, they need to be referenced by the > >> >> environnement variable > >> >> CLASSPATH. > >> >> That's all > >> >> Be sure that your classpath contains . (for > the > >> >> current directory) > >> >> So it should give something like > >> >> set > >> >> > >> > > >> > > > CLASSPATH=.;/path/to/whatever/jarfile/you/want;/other/jarfile > >> >> > >> >> Xavier > >> >> > >> >> > > >> >> > --- Xavier Renard <[EMAIL PROTECTED]> > >> wrote: > >> >> > > >> >> > > >> >> >> Mees wrote: > >> >> >> > >> >> >> > >> >> >> > >> >> >>> I've set the environmental variables > >> >> AXISCLASSPATH, > >> >> >>> AXIS_LIB and AXIS_HOME. > >> >> >>> I've runned the getQuote example it > worked. > >> It > >> >> gave > >> >> >>> back 55.25 > >> >> >>> > >> >> >>> But now that I've moved on to the user > guide, > >> to > >> >> >>> > >> >> >>> > >> >> >> the > >> >> >> > >> >> >> > >> >> >>> example with the TestClient.java. > >> >> >>> It says run with the following command: > >> >> >>> java samples.userguide.example1.TestClient > >> >> >>> So I did from the dir C:\axis > >> >> >>> > >> >> >>> I tried from other dir but it won't work I > >> keep > >> >> >>> getting this error, when i run the > following > >> >> >>> > >> >> >>> > >> >> >> command > >> >> >> > >> >> >> > >> >> >>> C:\axis\java > >> >> samples.userguide.example1.TestClient > >> >> >>> > >> >> >>> --------------- > >> >> >>> > >> >> >>> Exception in thread "main" > >> >> >>> java.lang.NoClassDefFoundError: > >> >> >>> org/apache/axis/client/Service > >> >> >>> at > >> >> >>> > >> >> >>> > >> >> > >> >>> > >> > > > samples.userguide.example1.TestClient.main(TestClient.java:70) > >> >> >> > >> >> >> > >> >> >>> -------------------------------- > >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> > >> >> >> add it to your classpath maybe :-) > >> >> >> set > CLASSPATH=%CLASSPATH%;%AXIS_LIB%\axis.jar; > >> >> >> > >> >> >> Xavier > >> >> >> > >> >> >> > >> >> >> > >> >> > >> >> > >> >> > >> > > >> > > >> > __________________________________ > >> > Do you Yahoo!? > >> > Exclusive Video Premiere - Britney Spears > >> > http://launch.yahoo.com/promos/britneyspears/ > >> > > >> > >> > >> > >> ---------------------- > >> NJ Rogers, Technical Researcher > >> (Semantic Web Applications Developer) > >> Institute for Learning and Research Technology > >> (ILRT) > >> Email:[EMAIL PROTECTED] > >> Tel: +44(0)117 9287096 (Direct) > >> Tel: +44(0)117 9287193 (Office) > > > > > > __________________________________ > > Do you Yahoo!? > > Exclusive Video Premiere - Britney Spears > > http://launch.yahoo.com/promos/britneyspears/ > > > > > > ---------------------- > NJ Rogers, Technical Researcher > (Semantic Web Applications Developer) > Institute for Learning and Research Technology > (ILRT) > Email:[EMAIL PROTECTED] > Tel: +44(0)117 9287096 (Direct) > Tel: +44(0)117 9287193 (Office) __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/