  | |  | Apache Axis Tutorial | Apache Axis Tutorial 2003-12-11 - By Yves
Back 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 <Xavier.Renard@(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:* axis-user@(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 /* 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 @(protected) gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail <DIV>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.</DIV> <DIV> </DIV> <DIV><BR><B><I>Xavier Renard <Xavier.Renard@(protected)></I></B> wrote:< /DIV> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER -LEFT: #1010ff 2px solid">-- --BEGIN PGP SIGNED MESSAGE-- --<BR>Hash: SHA1<BR> <BR>Dhanush Gopinath wrote:<BR>|<BR>| PATH=C:\j2sdk1.4.1_06\bin;%PATH%<BR>|<BR>| set CLASSPATH=%CLASSPATH%;C:\AXIS\axis-1_1\lib\axis.jar<BR>| set CLASSPATH= %CLASSPATH%;C:\AXIS\axis-1_1\lib\axis-ant.jar<BR>| set CLASSPATH=%CLASSPATH%;C: \AXIS\axis-1_1\lib\commons-discovery.jar<BR>| set CLASSPATH=%CLASSPATH%;C:\AXIS \axis-1_1\lib\commons-logging.jar<BR>| set CLASSPATH=%CLASSPATH%;C:\AXIS\axis-1 _1\lib\jaxrpc.jar<BR>| set CLASSPATH=%CLASSPATH%;C:\AXIS\axis-1_1\lib\log4j-1.2 .8.jar<BR>| set CLASSPATH=%CLASSPATH%;C:\AXIS\axis-1_1\lib\saaj.jar<BR>| set CLASSPATH=%CLASSPATH%;C:\AXIS\axis-1_1\lib\wsdl4j.jar<BR>|<BR>| set CLASSPATH= %CLASSPATH%;D:\Web Services<BR>| Trials\jakarta-tomcat-4.1.17\common\lib\servlet .jar<BR>|<BR>| set CLASSPATH=%CLASSPATH%;C:\AxisDemos<BR>| Hi<BR>| My PATH and CLASSPATH<BR>|<BR>| C:\AxisDemos => Is my working directiry.. It contains the Client class<BR>| and the package which includes the 4 files<BR>| C:\AXIS\axis-1_1 => is Axis_home<BR>|<BR>|<BR>My 2 cents: <BR>I would put the . in the PATH<BR><BR>and for the last line, i would add a backslash at the end<BR>so<BR>set PATH=.;%PATH%<BR><BR>and<BR><BR>set CLASSPATH =%CLASSPATH%;C:\AxisDemos\<BR><BR>Xavier<BR><BR>| Cheers<BR>| Dhanush<BR>|<BR>| -- -- Original Message -- --<BR>| *From:* Yves <mailto:boxingstar@(protected)><BR> | *To:* axis-user@(protected) <mailto:axis-user@(protected)><BR>| *Sent:* Wednesday, December 10, 2003 7:02 PM<BR>| *Subject:* Re: Apache Axis Tutorial <BR>|<BR>| Hmmm... same thing. I did that step before: the 4 files created are: <BR>| TaxService.java TaxServiceService.java TaxServiceServiceLocator.java<BR>| and TaxServiceBindingStub.java they're there...<BR>| Just a note, my java command works from everywhere in DOS, but javac<BR>| only works from within the java_home (C:\j2sdk1.4.1_05) and where I<BR>| have this app set up (j2sdk1.4.1_05/dev) is that a problem?<BR>|<BR>| Thanks<BR>|<BR>| -Yves<BR>|<BR>| */Dhanush Gopinath <DHANUSH@(protected)>/* wrote:<BR>|<BR>| Hi,<BR>|<BR>| Once u jhave wriitten ur Webservice and Deployed that .. u will <BR>| have to run this command ... u create the 4 Class Files.<BR>|<BR>| *java org.apache.axis.wsdl.WSDL2JAVA<BR>| **http://localhost:8080/axis/**..... .jws ?WSDL -p<BR>| localhost.dir1.dir2*<BR>|<BR>| ....jws indicate ur Webservice File <BR>|<BR>| Then Four files will be generated underthe directory<BR>| localhost .dir1.dir2;<BR>|<BR>| Import that and try it again ..<BR>|<BR>| Regards<BR>| Dhanush<BR>|<BR>-- --BEGIN PGP SIGNATURE-- --<BR>Version: GnuPG v1.2.1 (GNU /Linux)<BR>Comment: Using GnuPG with Debian - http://enigmail.mozdev.org<BR><BR >iD8DBQE/1yZbyiOPf64lMPQRAtCqAJwLwSU+7axaGbW1HC8cf3zNH+MGUACdE2NC<BR>LLUKgqLb +NHS8ZsGeRLANwk=<BR>=/gai<BR>-- --END PGP SIGNATURE-- --<BR></BLOCKQUOTE></mailto:axis-user@(protected)></mailto :boxingstar@(protected)><p><br><hr size=1><font face=arial size=-1>Do You Yahoo!? -- Une adresse @(protected) gratuite et en fran?ais !<br> <a href=http://fr.mail.yahoo.com>Testez le nouveau Yahoo! Mail</a></font>
|
|
 |