Use Apache axis to implement Web Service (1)

Source: Internet
Author: User
Tags xml parser

The advantages of web service are not nonsense. If you do not know, this article is not suitable for you.

Apache axis is the third-generation version of Apache SOAP, and far exceeds the latter in terms of running speed, flexibility, and stability. More importantly, axis supports the Web Service Description Language (WSDL), which is the most widely supported Web Service Description Language Specification developed by IBM and Ms ).

Apache axis can be obtained from the http://ws.apache.org. The current version supports Java and C ++. I am using axis1.1, the runtime environment jdk1.4 + tomcat5.0, and the operating system XP

Decompress the downloaded file to the hard disk, copy the axis (the latter axis-version) directory under the webapps directory to tomcat_home/webapps, and record tomcat_home/webapps/axis as axis_home. OK. visit http: // localhost: 8080/axis to view the welcome page of axis. Click the validate link to run happyaxis. JWS to check whether the axis configuration is correct. If no error message is returned for happyaxis, the configuration is correct. If an error occurs, it may be that the jar package required by axis is true. Set activation. jar/mail. jar/xerces. jar (in fact, you can also use other XML parser, such as the Crimson contained in jdk1.4, which is also described in the axis documentation) and place it under tomcat_home/commons/lib.

Click the view link on the axis welcome page to view the list of published Web Services.

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.