I got my javac to work from everywhere now (I just reinstalled the sdk), but that wasn't the problem. Hmmm. Does anyone have XP running? How do you have the classpath and path and everything set up? Since I have all the axis jars in the classpath and and in the path, I think there could easily be something I mis-typed.
 

Xavier Renard <[EMAIL PROTECTED]> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dhanush Gopinath wrote:
|
| PATH=C:\j2sdk1.4.1_06\bin;%PATH%
|
| set CLASSPATH=%CLASSPATH%;C:\AXIS\axis-1_1\lib\axis.jar
| set CLASSPATH=%CLASSPATH%;C:\AXIS\axis-1_1\lib\axis-ant.jar
| set CLASSPATH=%CLASSPATH%;C:\AXIS\axis-1_1\lib\commons-discovery.jar
| set CLASSPATH=%CLASSPATH%;C:\AXIS\axis-1_1\lib\commons-logging.jar
| set CLASSPATH=%CLASSPATH%;C:\AXIS\axis-1_1\lib\jaxrpc.jar
| set CLASSPATH=%CLASSPATH%;C:\AXIS\axis-1_1\lib\log4j-1.2.8.jar
| set CLASSPATH=%CLASSPATH%;C:\AXIS\axis-1_1\lib\saaj.jar
| set CLASSPATH=%CLASSPATH%;C:\AXIS\axis-1_1\lib\wsdl4j.jar
|
| set CLASSPATH=%CLASSPATH%;D:\Web Services
| Trials\jakarta-tomcat-4.1.17\common\lib\servlet.jar
|
| set CLASSPATH=%CLASSPATH%;C:\AxisDemos
| Hi
| My PATH and CLASSPATH
|
| C:\AxisDemos => Is my working directiry.. It contains the Client class
| and the package which includes the 4 files
| C:\AXIS\axis-1_1 => is Axis_home
|
|
My 2 cents:
I would put the . in the PATH

and for the last line, i would add a backslash at the end
so
set PATH=.;%PATH%

and

set CLASSPATH=%CLASSPATH%;C:\AxisDemos\

Xavier

| Cheers
| Dhanush
|
| ----- Original Message -----
| *From:* Yves
| *To:* [EMAIL PROTECTED]
| *Sent:* Wednesday, December 10, 2003 7:02 PM
| *Subject:* Re: Apache Axis Tutorial
|
| Hmmm... same thing. I did that step before: the 4 files created are:
| TaxService.java TaxServiceService.java TaxServiceServiceLocator.java
| and TaxServiceBindingStub.java they're there...
| Just a note, my java command works from everywhere in DOS, but javac
| only works from within the java_home (C:\j2sdk1.4.1_05) and where I
| have this app set up (j2sdk1.4.1_05/dev) is that a problem?
|
| Thanks
|
| -Yves
|
| */Dhanush Gopinath <[EMAIL PROTECTED]>/* wrote:
|
| Hi,
|
| Once u jhave wriitten ur Webservice and Deployed that .. u will
| have to run this command ... u create the 4 Class Files.
|
| *java org.apache.axis.wsdl.WSDL2JAVA
| **http://localhost:8080/axis/**..... .jws?WSDL -p
| localhost.dir1.dir2*
|
| ....jws indicate ur Webservice File
|
| Then Four files will be generated underthe directory
| localhost.dir1.dir2;
|
| Import that and try it again ..
|
| Regards
| Dhanush
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org

iD8DBQE/1yZbyiOPf64lMPQRAtCqAJwLwSU+7axaGbW1HC8cf3zNH+MGUACdE2NC
LLUKgqLb+NHS8ZsGeRLANwk=
=/gai
-----END PGP SIGNATURE-----



Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Testez le nouveau Yahoo! Mail

Reply via email to