How to use Axis2 to build Android Server backend---tool preparation and environment configuration

Source: Internet
Author: User

A recent project is to make a lab equipment management system for Android. The little partner bravely picked up the pot on the Android side, and I

Responsible for him to write back end, recently saw Axis2 this webservice very useful, toss a few days to share under:

1. Tool Preparation

Java EE (Please be sure to download the latest version, I have an older version of the plugin does not support embarrassment)

http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/mars/2/ Eclipse-jee-mars-2-win32-x86_64.zip

Tomcat (server)

(I'm using the 7.0 version)

http://tomcat.apache.org/download-70.cgi

Axis2

Http://axis.apache.org/axis2/java/core/download.html

Download MySQL

2. Configuring the Environment

Installing Tomcat

Install Eclipse

Install MySQL

(There is a detailed tutorial on the Internet will not repeat it)

Install Axis2:

AXIS2 environment configuration in eclipse: Window->perferences->web services->axis2 perferences->axis2 Runtime->axis2 Runtime Location,browse Select the axis2-1.6.2 file directory to extract the Axis2-1.6.2-bin.zip from.

2.2: Install plug-ins: Unzip Axis2-eclipse-codegen-plugin-1.6.2.zip and Axis2-eclipse-service-plugin-1.6.2.zip, put the resulting two jar packages into the Eclipse directory \plugins\, restart Eclipse.
2.3: Configure Tomcat: Unzip Apache-tomcat-6.0.36-windows-x64.zip (do not repeat).
2.4:eclipse in Tomcat configuration: Window->perferences->server->runtime environments added.
3: Release Axis2:
3.1: Unzip axis2-1.6.2-war.zip to get Axis2.war and put it into the WebApps folder of Tomcat decompression directory, launch Tomcat, enter http://localhost:8080/axis2/in the browser, Figure 3.1 appears, indicating that the configuration was successful.

How to use Axis2 to build Android Server backend---tool preparation and environment configuration

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.