Eclipse + axis2 + tomcat5.5 develop WebService

Source: Internet
Author: User
Tags wsdl

1. Download The axis2 plug-in of eclipse

Axis2-eclipse-service-archiver-wizard-1.4:

Http://ws.apache.org/axis2/tools/index.html

 

Axis2-eclipse-service-archiver-wizard-1.2:
Http://apache.justdn.org/ws/axis2/tools/1_2/axis2-eclipse-service-archiver-wizard-1.2.zip
Axis2-eclipse-codegen-wizard-1.2.1:
Http://apache.justdn.org/ws/axis2/tools/1_1_1/axis2-eclipse-codegen-wizard.zip

 

Download axis2_codegen_wizard_1.3.0 and axis2-eclipse-service-archiver-wizard on this site

 

2. Generate the server-side AAR

 

Package Services into AAR

 

3. Deploy AAR

 

Upload the AAR file to the axis2 APACHE-Tomcat-5.5.27/webapps/axis2/WEB-INF/Services Directory

 

4. Test the AAR deployment success

 

Http: // 192.168.6.18: 8085/axis2/services/sayhello? WSDL

If the connection can open the XML file, the configuration is successful.

 

5. When an invotiontargetexception exception occurs during WSDL and Java code conversion, convert codegen to version 1.2.

 

 

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.