Tutorial Addendum on Web Account and SOAP - SOAP Java Implementations
Installing Arbor 1.2.1 on Windows
Before installing Axis, you should attending at your accepted JDK and Bobcat installations. Actuality is what
I accept on my system:
Name Adaptation Location
JDK 1.5.0 jdk
Tomcat 5.5 omcat
If you are ready, echo the afterward accomplish to install Arbor on your system.
1. Go to http://ws.apache.org/axis/releases.html, and baddest adaptation 1.2.1.
2. Go to the appropriate mirror site, and download axis-bin-1_2_1.tar.gz.
3. Achieve axis-bin-1_2_1.tar.gz, move the consistent subdirectory .axis-1_2_1 to axis.
4. Archetype axiswebappsaxis agenda to omcatwebappsaxis.
5. Re-start Bobcat with a command window:
cd omcatin
set JAVA_HOME=jdk
startup
You should get something like this in a separate window:
(Date) 9:47:16 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
(Date) 9:47:17 PM org.apache.catalina.startup.Catalina load
INFO: Initialization candy in 5407 ms
(Date) 9:47:17 PM org.apache.catalina.core.StandardService start
INFO: Starting account Catalina
(Date) 9:47:17 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.7
...
6. Run Internet Explorer (IE) with url: http://localhost:8080/axis/happyaxis.jsp.
You should get something like this in the browser:
Axis Beatitude Page
Examining webapp configuration
Needed Components
Begin SAAJ API ... omcatwebappsaxisWEB-INFlibsaaj.jar
Begin JAX-RPC API ... omcatwebappsaxisWEB-INFlibjaxrpc.jar
Begin Apache-Axis ... omcatwebappsaxisWEB-INFlibaxis.jar
Begin Jakarta-Commons Analysis ... omcatwebappsaxisWEB-INF
libcommons-discovery-0.2.jar
Begin Jakarta-Commons Logging ... omcatin
commons-logging-api.jar
Begin Log4j ... omcatwebappsaxisWEB-INFliblog4j-1.2.8.jar
Begin IBM s WSDL4Java ... omcatwebappsaxisWEB-INF
libwsdl4j-1.5.1.jar
Begin JAXP accomplishing ... an alien location
Error: could not acquisition chic javax.activation.DataHandler from
book activation.jar
Arbor will not work.
See http://java.sun.com/products/javabeans/glasgow/jaf.html
Alternative Components
Warning: could not acquisition chic javax.mail.internet.MimeMessage
from book mail.jar
Attachments will not work.
See http://java.sun.com/products/javamail/
Warning: could not acquisition chic org.apache.xml.security.Init
from book xmlsec.jar
XML Aegis is not supported.
See http://xml.apache.org/security/
...
Wow. This is absolutely a nice accession report. I can avoid the two warnings.
But I accept to fix the error. Abide with the next section.
Installing JAF 1.0.2
JAF stands for JavaBeans Activation Framework. Actuality is the official description of JAF 1.0.2:
With the JavaBeans Activation Framework accepted extension, developers who use Java technology
can yield advantage of accepted casework to actuate the blazon of an approximate section of data,
encapsulate admission to it, ascertain the operations accessible on it, and to instantiate
the adapted bean to accomplish said operation(s). For example, if a browser acquired
a JPEG image, this framework would accredit the browser to analyze that beck of data
as an JPEG image, and from that type, the browser could locate and instantiate an item
that could manipulate, or appearance that image.
I charge to install JAF 1.0.2 to complete my Arbor installation. Actuality is what I did:
1. Go to http://java.sun.com/products/javabeans/glasgow/jaf.html.
2. Chase the instructions to download jaf-1_0_2-upd2.zip.
3. Achieve jaf-1_0_2-upd2.zip.
4. Archetype .jaf-1.0.2activation.jar to axiswebappsaxisWEB-INFlib
5. Re-start Tomcat, and go to http://localhost:8080/axis/happyaxis.jsp again.
You should get no added error. All bare apparatus are found:
...
Needed Components
Begin SAAJ API ... omcatwebappsaxisWEB-INFlibsaaj.jar
Begin JAX-RPC API ... omcatwebappsaxisWEB-INFlibjaxrpc.jar
Begin Apache-Axis ... omcatwebappsaxisWEB-INFlibaxis.jar
Begin Jakarta-Commons Analysis ... omcatwebappsaxisWEB-INF
libcommons-discovery-0.2.jar
Begin Jakarta-Commons Logging ... omcatin
commons-logging-api.jar
Begin Log4j ... omcatwebappsaxisWEB-INFliblog4j-1.2.8.jar
Begin IBM s WSDL4Java ... omcatwebappsaxisWEB-INF
libwsdl4j-1.5.1.jar
Begin JAXP accomplishing ... an alien location
Begin Activation API ... omcatwebappsaxisWEB-INF
libactivation.jar
...
I anticipate my Arbor accession is done now.
Conclusion
Apache Arbor seems to be alotof accepted Java accomplishing of SOAP. Accession is easy.
|
Tags: products, service, class, browser, commons, security, location, image, installing, framework found, omcatwebappsaxisweb, apache, activation, catalina, installation, javabeans, logging, jakarta, discovery, commons, tomcat, browser, components, security, installing, image, framework, location, implementation, error, class, service, products, , jar found, api omcatwebappsaxisweb, omcatwebappsaxisweb inf, org apache, jakarta commons, found jakarta, com products, sun com, http java, apache catalina, java sun, jar found jakarta, found jakarta commons, org apache catalina, logging omcatin commons, omcatin commons logging, commons logging omcatin, jakarta commons logging, inf libcommons discovery, jar found log4j, found log4j omcatwebappsaxisweb, products javabeans glasgow, javabeans activation framework, com products javabeans, found jaxp implementation, log4j omcatwebappsaxisweb infliblog4j, jar found jaxp, commons discovery omcatwebappsaxisweb, jakarta commons discovery, 8080 axis happyaxis, components found saaj, localhost 8080 axis, http localhost 8080, apache catalina core, api omcatwebappsaxisweb inflibsaaj, api omcatwebappsaxisweb inflibjaxrpc, axis omcatwebappsaxisweb inflibaxis, soap java implementations, apache axis omcatwebappsaxisweb, found apache axis, jar found apache, soap soap java, |
Also see ...
PermalinkArticle In : Computers & Technology - web service