eclipse+axis2配置

主題內容: 

       本節講解Eclipse開發Webservice中的環境搭配,我們使用axis2發佈webservice服務


詳細講解:

      1. 安裝Eclipse的過程在這裏就不說了

      2.官網下載Tomcat服務器,Axis2的war包。http://axis.apache.org/axis2/java/core/download.cgi

         將其中的Axis2.war包放到Tomcat發佈的webApp目錄下就可以了。

         啓動Tomcat看到如下界面說明你成功了:

         

 

Welcome!

Welcome to the new generation of Axis. If you can see this page you have successfully deployed the Axis2 Web Application. However, to ensure that Axis2 is properly working, we encourage you to click on the validate link. 
  • Services 
    View the list of all the available services deployed in this server.
  • Validate 
    Check the system to see whether all the required libraries are in place and view the system information.
  • Administration 
    Console for administering this Axis2 installation.

     3.安裝Eclipse的Axis2插件

        在Axis2官網上有個工具列表。axis2-eclipse-codegen-plugin和axis2-eclipse-service-plugin

解壓放置在eclipse/plugins,

eclipse中install new software->http://download.eclipse.org/release/luna 選中最後一項(包含axis)安裝

. 重啓;

new->other中多出webservice等選項則成功

4.綁定axis2-1.6.2

http://axis.apache.org/axis2/java/core/download.cgi下載axis2-1.6.2-bin,解壓,eclipse中window->perference->web service->axis2 preference選中解壓後文件中的axis2-1.6.2

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章