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
----- Original Message -----
From: Yves
Sent: Tuesday, December 09, 2003 1:34 PM
Subject: Apache Axis Tutorial

I'm following a tutorial for Apache Axis I found on the web, I'm at the point where I'm supposed to compile the java app but mine keeps returning errors. Here's the DOS prompt from where I tell it to compile and the errors that I get:
 
C:\j2sdk1.4.1_05\dev>javac TaxClient.java
TaxClient.java:2: package localhost does not exist
import localhost.*;
^
TaxClient.java:12: cannot resolve symbol
symbol : class TaxServiceService
location: class TaxClient
TaxServiceService service = new TaxServiceServiceLocator();
^
TaxClient.java:12: cannot resolve symbol
symbol : class TaxServiceServiceLocator
location: class TaxClient
TaxServiceService service = new TaxServiceServiceLocator();
^
TaxClient.java:13: cannot resolve symbol
symbol : class TaxService
location: class TaxClient
TaxService port = service.getTaxService();
^
4 errors
--------------------------------------------------------------------------------------------------------
 
Here's the URL for the tutorial (step 5)
I don't think anyone checks their forums anymore. Thanks.
 
Cheers,
 
-Yves



Do You Yahoo!? -- Avec Yahoo! soyez au coeur de la récolte de dons pour le Téléthon.
**************************************************************
Scanned by eScan Content-Security and Anti-Virus Software.
Visit http://www.mwti.net for more info on eScan and MailScan.
**************************************************************


**************************************************************
Scanned by eScan Content-Security and Anti-Virus Software.
Visit http://www.mwti.net for more info on eScan and MailScan.
**************************************************************


*********************************************************
Disclaimer

This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.

*********************************************************
Visit us at http://www.mahindrabt.com

Reply via email to