I have worked with servlets and java in a different environment before.
This is a new environment for me . We just installed Oracle 9ias and
Oracle portal.   I am very new to soap and Apache Axis.   I  was able to
compile the code in jdeveloper.

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 4:57 PM
To: [EMAIL PROTECTED]
Subject: Re: Problem in knowing which directory to compile and set
classpath

Take a look at the Axis installation instructions at
http://ws.apache.org/axis/java/install.html.  Among the things there:

    "You should also have an application server or servlet engine and be
familiar with operating and deploying to it"  (that would be OAS9i)

    "servlet engines are supported, provided they implement version 2.2
or greater of the servlet API"
    (I assume OAS9i supports 2.2 or 2.3)

    "Axis client and server requires Java 1.3 or later" (JDeveloper will
install a JDK, hopefully this recent)

And finally

>>>>
A lot of problems with Axis are encountered by people who are new to
Java, server-side Java and SOAP. While you can learn about SOAP as you
go along, writing Axis clients and servers is not the right time to be
learning foundational Java concepts, such as what an array is, or basic
application server concepts such as how servlets work, and the basics of
the HTTP protocol.

Things you need to know before writing a Web Service:

Core Java datatypes, classes and programming concepts.
What threads are, race conditions, thread safety and sychronization.
What a classloader is, what hierarchical classloaders are, and the
common causes of a "ClassNotFoundException".
How to diagnose trouble from exception traces, what a
NullPointerException (NPE) and other common exceptions are, and how to
fix them.
What a web application is; what a servlet is, where classes, libraries
and data go in a web application.
How to start your application server and deploy a web application on it.
What a network is, the core concepts of the IP protocol suite and the
sockets API. Specifically, what is TCP/IP.
What HTTP is. The core protocol and error codes, HTTP headers and
perhaps the details of basic authentication.
What XML is. Not necessarily how to parse it or anything, just what
constitutes well-formed and valid XML.

Axis and SOAP depends on all these details. If you don't know them, Axis
(or anyone else's Web Service middleware) is a dangerous place to learn.
Sooner or later you will be forced to discover these details, and there
are easier places to learn than Axis.


If you are completely new to Java, we recommend you start off with
things like the Java Tutorials on Sun's web site, and perhaps a classic
book like Thinking in Java, until you have enough of a foundation to be
able to work with Axis. It is also useful to have written a simple web
application, as this will give you some knowledge of how HTTP works, and
how Java application servers integrate with HTTP.
<<<<

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 4:14 PM
Subject: RE: Problem in knowing which directory to compile and set
classpath


Would the Apache Axis work with Oracle9iAS using Jdeveloper 

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:52 PM
To: [EMAIL PROTECTED]
Subject: Re: Problem in knowing which directory to compile and set
classpath

Given the errors you are receiving, it appears your environment is not
properly configured to use the command-line compiler, nor to run Tomcat,
for that matter.  Since you do not normally compile from the command
line, I would recommend you not try now and use JDeveloper (which I
assume you use regularly).

As for Tomcat, if you have 9iAS, why do you want to use Tomcat?

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 3:40 PM
Subject: RE: Problem in knowing which directory to compile and set
classpath


I was compiling the code using the command line under where I installed
tomcat?  Is that right??  Am I suppose to compile it in the Jdeveloper
IDE.
What should I do?

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