WebService Axis2 (1): Pojo to achieve 0 configuration webservice

Source: Internet
Author: User
Tags zip tomcat

Axis2 is a brand-new WebService engine, which is a product of the redesign of the axis1.x. Axis2 not only supports SOAP1.1 and SOAP1.2, but also integrates the very popular rest WebService, as well as the support of spring, JSON and other technologies. These will be explained in a series of tutorials later. This article mainly describes how to use AXIS2 to develop a webservice that does not require any configuration files, and calls this webservice on the client using Java and C #.

Download and installation of AXIS2

Readers can download the latest version of Axis2 from the URL below:

http://ws.apache.org/axis2/

The current AXIS2 version of 1.4.1 is used in this article. Readers can download the following two zip packages:

Axis2-1.4.1-bin.zip

Axis2-1.4.1-war.zip

The Axis2-1.4.1-bin.zip file contains all the jar files in Axis2, and axis2-1.4.1-war.zip files are used to publish WebService to the Web container.

Extract the Axis2-1.4.1-war.zip file to the appropriate directory, place the Axis2.war file in the directory in the <tomcat installation directory >\webapps directory (the Tomcat version used in this article is 6.x), and start Tomcat.

In the browser address bar, enter the following URL:

http://localhost:8080/axis2/

If you display a page in the browser as shown in Figure 1, the AXIS2 installation is successful.

Figure 1

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.