Axis getting started (2)

Source: Internet
Author: User
Tags xml parser

How to install axis

1) install jdk1.3 or later
My ID is D:/j2sdk1.4.2
2) install tomcat5.0
Not necessarily required is tomcat, as long as it supports the servlet 2.2 API; I am D:/tomcat 5.0
No error should be reported when Tomcat is started.
3) download axis1.1
Download from http://xml.apache.org, unzip, my is D:/axis/axis-1_1
4) Copy axis
From D:/axis/axis-1_1/webapps/axis copy to D:/tomcat 5.0/webapps/axis
5) create a package file
If your JDK version is later than 1.4, you do not need the XML Parser package; otherwise, locate the xerces package and place it in the D:/tomcat 5.0/webapps/axis/WEB-INF/lib directory.
6) start Tomcat and access http: // 127.0.0.1: 8080/axis/. The APACHE-axis startup page appears.
7) Click "Validate" and an error should be reported as follows:
Error: cocould not find class javax. Activation. datahandler from file activation. Jar
Axis will not work
See http://java.sun.com/products/javabeans/glasgow/jaf.html
Optional Components
Warning: cocould not find class javax. Mail. Internet. mimemessage from file mail. Jar
Attachments will not work
See http://java.sun.com/products/javamail/
The package mentioned in error should be placed in the corresponding directory. optional components is an optional package.
8) we observe that the Directory D:/tomcat 5.0/webapps/axis contains an echoheader. JWS file. We can use it to test the JWS service and access http: // localhost: 8080/axis/echoheaders. JWS? Method = list we can see the effect.

?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.