  | |  | Apache Axis Tutorial | Apache Axis Tutorial 2003-12-10 - By Dhanush Gopinath
Back 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 To: axis-user@(protected) 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) http://www.ammai.com/modules.php?op=modload&name=Sections&file=index&req =viewarticle&artid=4&page=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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 6.00.2600.0" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Hi, </FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Once u jhave wriitten ur Webservice and Deployed that .. u will have to run this command ... u create the 4 Class Files.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2><FONT color=#ff0000><STRONG>java org.apache.axis.wsdl.WSDL2JAVA </STRONG></FONT><A href="http://localhost:8080/axis/"><FONT color=#ff0000><STRONG>http://localhost:8080/axis/</STRONG></FONT></A><FONT color=#ff0000><STRONG>..... .jws?WSDL -p localhost.dir1.dir2</STRONG></FONT></FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV> <FONT face=Arial size=2>....jws indicate ur Webservice File</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Then Four files will be generated underthe directory localhost.dir1.dir2;</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Import that and try it again .. </FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Regards</FONT></DIV> <DIV><FONT face=Arial size=2>Dhanush</FONT></DIV> <BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"> <DIV style="FONT: 10pt arial">-- -- Original Message -- -- </DIV> <DIV style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> <A title=boxingstar@(protected) href="mailto:boxingstar@(protected)">Yves</A> </DIV> <DIV style="FONT: 10pt arial"><B>To:</B> <A title=axis-user@(protected) href="mailto:axis-user@(protected)">axis-user@(protected)</A> </DIV> <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, December 09, 2003 1:34 PM</DIV> <DIV style="FONT: 10pt arial"><B>Subject:</B> Apache Axis Tutorial</DIV> <DIV><BR></DIV> <DIV>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:</DIV> <DIV> </DIV> <DIV>C:\j2sdk1.4.1_05\dev>javac TaxClient.java <BR>TaxClient.java:2: package localhost does not exist <BR>import localhost.*; <BR>^ <BR>TaxClient.java:12: cannot resolve symbol <BR>symbol : class TaxServiceService <BR>location: class TaxClient <BR>TaxServiceService service = new TaxServiceServiceLocator(); <BR>^ <BR>TaxClient.java:12: cannot resolve symbol <BR>symbol : class TaxServiceServiceLocator <BR>location: class TaxClient <BR>TaxServiceService service = new TaxServiceServiceLocator(); <BR>^ <BR>TaxClient.java:13: cannot resolve symbol <BR>symbol : class TaxService <BR>location: class TaxClient <BR>TaxService port = service.getTaxService(); <BR>^ <BR>4 errors </DIV> <DIV>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- ---- ---- ---- ---- ---- ----</DIV> <DIV> </DIV> <DIV>Here's the URL for the tutorial (step 5)</DIV> <DIV><A href="http://www.ammai.com/modules.php?op=modload&name=Sections&file =index&req=viewarticle&artid=4&page=5">http://www.ammai.com/modules .php?op=modload&name=Sections&file=index&req=viewarticle&artid=4 &page=5</A><BR></DIV> <DIV>I don't think anyone checks their forums anymore. Thanks.</DIV> <DIV> </DIV> <DIV>Cheers,</DIV> <DIV> </DIV> <DIV>-Yves</DIV> <P><BR> <HR SIZE=1> Do You Yahoo!? -- Avec Yahoo! soyez au coeur de la r?colte de dons pour le <A href="http://fr.promotions.yahoo.com/caritatif/">T?l?thon</A>. <BR>**************************************************************<BR>Scanned by eScan Content-Security and Anti-Virus Software.<BR>Visit http://www.mwti.net for more info on eScan and MailScan.<BR>************************************************************** <BR><BR></BLOCKQUOTE></BODY></HTML>
<html> <br> **************************************************************<br> Scanned by eScan Content-Security and Anti-Virus Software.<br> Visit http://www.mwti.net for more info on eScan and MailScan.<br> **************************************************************<br> <br> </html>
<html> <br> *********************************************************<br> Disclaimer<br> <br> This message (including any attachments) contains <br> confidential information intended for a specific <br> individual and purpose, and is protected by law. <br> If you are not the intended recipient, you should <br> delete this message and are hereby notified that <br> any disclosure, copying, or distribution of this<br> message, or the taking of any action based on it, <br> is strictly prohibited.<br> <br> *********************************************************<br> Visit us at http://www.mahindrabt.com<br> <br> </html>
|
|
 |