How to install Apache Axis2 1.6.1 In the indigo (Eclipse 3.7.2) Environment

Source: Internet
Author: User

InHelios(Eclipse 3.6) The Axis2 for eclipse plug-in has been installed twice.

The first time I made a mistake, I made a whole day and finally succeeded. Environment: JDK1.6 + Eclipse 3.6 For Java EE + axis2 1.4.1
Http://www.cnblogs.com/downmoon/archive/2010/08/24/1807161.html)

The second installation was successful. The environment is JDK1.6 + Eclipse 3.6.2 + Axis2 1.5.4

Http://www.cnblogs.com/downmoon/archive/2011/04/25/2027210.html)

Yesterday was the third time, and it took another half day. This time, the environment changed to: JDK1.6 + Eclipse 3.7.2 For JEE + Axis2 1.5.4, which has never been successful, and even replaced Axis2 with XFire, think carefully at night and google, find an article to solve, the original article (https://issues.apache.org/jira/browse/AXIS2-5145), refer to the article, successfully solved. The process is as follows:


I. Problem symptoms:

Environment:JDK1.6 + Eclipse 3.7 sp2 + Axis2 1.6.1

Installation steps:

1. Install JDK 6.0.31 first and configure the JDK variables. Note that my environment variable is (JAVA_HOME = D: \ 2000 \ Java \ jdkUpdate)

2. Download the Axis compressed package to release,

Modify the related bat files under axis2 \ bin. There are four files in total.Axis2.Bat,Axis2Server.Bat,Java2wsdl. Bat andWsdl2java. Bat

Add the following three lines to the first line of the four bat files:

Set JAVA_HOME = D :\2000 \ Java \ jdkUpdate
Set AXIS2_HOME = D: \ 2000 \ Java \ Axis2
Set AXIS2_CLASS_PATH = % AXIS2_HOME % \ lib

Run axis2Server. bat, OK!

3. Download Indigo Eclipse 3.7.2 For JEE, http://download.eclipse.org/eclipse/downloads/drops/R-3.7.2-201202080800/index.php

Decompress the package to D :\ 2000 \ Java \ Eclipse.

4. Go to Generator Wizard Guide for Eclipse Plug-in and decompress the package to D: \ 2000 \ Java \ eclipse \ dropins.

Path: D: \ 2000 \ Java \ eclipse \ dropins \ axis2-eclipse-codegen-plugin-1.6.1

And D: \ 2000 \ Java \ eclipse \ dropins \ axis2-eclipse-service-plugin-1.6.1

Now, open Eclipse 3.7.2, but you cannot see the familiar Axis2 Wizard interface.

 

Ii. Try to solve the problem:

Failed to download Axis2 of different versions, such as 1.5.4, 1.5.5, 1.5.6, and 1.6.0.

The link method fails.

 

Iii. Final Solution:

Reference original (https://issues.apache.org/jira/browse/AXIS2-5145), the general meaning is: axis2 1.6.1 this plug-in package has a bug in version 1.7.0 has been fixed, but 1.7.0 has not been officially released, so the next snapshot version is required.

Is:

Https://repository.apache.org/content/groups/snapshots/org/apache/axis2/axis2.eclipse.service.plugin/SNAPSHOT/

Https://repository.apache.org/content/groups/snapshots/org/apache/axis2/axis2.eclipse.codegen.plugin/SNAPSHOT/

Download the corresponding ZIP files and decompress them to the drops directory.

 

 

Iv. Summary

In view of the compatibility and Stability of Axis2 Eclipse plug-ins and versions, in addition to the Axis2 Web service solution, there are actually alternative solutions like XFire and XCF, which are relatively simpler and more stable.


 

Related Article

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.