Hi!
 
You have to add all the jars in axis/lib to your classpath!
 
Best regards,
--
DI Günter Grossberger
Solution Architect     Tel: +43 1 329 50 161
Software AG Österreich Fax: +43 1 329 50 171
Guglgasse 7-9          GSM: +43 676 833 29 261
1030 Wien             
http://www.softwareag.com/austria
 


From: Alasadi, Saad [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 22, 2006 6:44 PM
To: '[email protected]'
Subject: need to compile Java code

 

 

I have java files that use axis.  Every time I try to compile I get loads of errors. My java code is in c:\javacode and the axis is c:\axis. I set the axis_home as the documentation stated. 

 

 

C:\javaCode>echo %classpath%

C:\j2sdk1.4.2_06\lib;

 

 

C:\javaCode>javac -classpath %AXIS_HOME%\lib\axis.jar SingleSignOnLocator.java

SingleSignOnLocator.java:11: cannot access javax.xml.rpc.Service

file javax\xml\rpc\Service.class not found

public class SingleSignOnLocator extends org.apache.axis.client.Service implemen

ts org.tempuri.SingleSignOn {

       ^

SingleSignOnLocator.java:31: cannot resolve symbol

symbol  : class SingleSignOnSoap

location: package tempuri

    public org.tempuri.SingleSignOnSoap getSingleSignOnSoap() throws javax.xml.r

pc.ServiceException {

                      ^

SingleSignOnLocator.java:31: package javax.xml.rpc does not exist

    public org.tempuri.SingleSignOnSoap getSingleSignOnSoap() throws javax.xml.r

pc.ServiceException {

 

  ^

SingleSignOnLocator.java:42: cannot resolve symbol

symbol  : class SingleSignOnSoap

location: package tempuri

    public org.tempuri.SingleSignOnSoap getSingleSignOnSoap(java.net.URL portAdd

ress) throws javax.xml.rpc.ServiceException {

 

 

Reply via email to