In Jdeveloper when I tried to compile my code I am getting these errors:
Where should I get  the DataHandler ?
I am trying to connect it to Apache soap or Axis?
Error(4,1): cannot access directory javax\activation; verify that
directory is reachable from classpath and/or sourcepath
Error(9,57): class DataHandler not found in class
receivefileservicepackage.ReceiveWeeklyService

Below is the file:

package receivefileservicepackage;
import java.io.*;
import java.util.*;
import javax.activation.*;


  public class ReceiveWeeklyService 
  {
    public String ReceiveWeeklyFile (String weeklyfile, DataHandler dh)
throws IOException
    {
      FileOutputStream weekly = new
FileOutputStream("T:\\IT\\AHWeekly\\" + weeklyfile);
      Object o = dh.getContent();
      dh.writeTo(weekly);
      weekly.close();
      return "Confirmation of the Weekly File Received. If you have any
question please email [EMAIL PROTECTED]: " + weeklyfile;
    } 
  }

Thanks
Dibor Secka-Jallow
Web Developer
Atlanta Housing Authority
[EMAIL PROTECTED]
404-817-7370

-----Original Message-----
From: Scott Nichol [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 26, 2004 3:54 PM
To: [EMAIL PROTECTED]
Subject: Re: Problem in knowing which directory to compile and set
classpath

I am too unfamiliar with JDeveloper to guide you.  You should probably
either browse the on-line help or use some sort of JDeveloper support.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "Secka-Jallow, Dibor" <[EMAIL PROTECTED]>
To: "Scott Nichol" <[EMAIL PROTECTED]>
Sent: Thursday, February 26, 2004 3:37 PM
Subject: FW: Problem in knowing which directory to compile and set
classpath


To compile the client in Jdeveloper which axis jars do I have to add in
Jdeveloper.   Where would the classpath be?  In Jdeveloper, If I moved
the code to one of the projects I can just do a make to compile the
program. I am a little bit confused in what to do?  Please help

Dibor Secka-Jallow
Web Developer
Atlanta Housing Authority
[EMAIL PROTECTED]
404-817-7370

-----Original Message-----
From: Scott Nichol [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 26, 2004 2:47 PM
To: [EMAIL PROTECTED]
Subject: Re: Problem in knowing which directory to compile and set
classpath

How are you trying to compile?  Are you trying to run javac from the
command line, or are you using the JDeveloper IDE?  Since you have
installed JDeveloper, I would think you would want to use that.  You
will have to add the Axis jars to the classpath JDeveloper uses for
compiling.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "Secka-Jallow, Dibor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 26, 2004 2:21 PM
Subject: Problem in knowing which directory to compile and set classpath


I have downloaded Apache Axis, Tomcat and Xerces. I have problems in
where to compile the file My Client is called ReceiveweeklyClient.  When
I try to compile the client in this directory
C:\Jakarta\jakarta\webapps.  I am getting this message :Could not find
java.dll Could not find java 2 runtime environment

 

When I try to start startup.bat it is telling me that the java
environment is not setup?    What am I doing wrong?   I have the
following installed Jdeveloper , oracle 9ias and the Apache Axis, Tomcat
and Xerces.

 

Please help.  --What do I need to do?

I have created the web service and followed Apache directions, but when
I tried to test the service. I started having the above error messages.

 

Thanks

 

Dibor Secka-Jallow

Web Developer

Atlanta Housing Authority

[EMAIL PROTECTED]

404-817-7370

 



Reply via email to