RI01.Apache Axis/Java

YouTube Video

Apache Axis 是向 W3C 提交的 SOAP(Simple Object-Access Protocol,簡單物件取存協議)實作。一個 Web Services / SOAP / WSDL 引擊。





簡介


Apache Axis2 是一種更加高效、模組化和 XML 導向的 Axis。Axis2 不僅支持 SOAP 1.1 和 SOAP 1.2,它還整合了對 REST 風格的 Web 服務的支持。同一業務邏輯實作可以同時提供一個 WS-* 樣式的類型介面以及一個 REST/POX 樣式的介面。

Apache Axis2 not only supports SOAP 1.1 and SOAP 1.2, but it also has integrated support for the widely popular REST style of Web services . The same business logic implementation can offer both a WS-* style interface as well as a REST/POX style interface simultaneously.

Apache Axis2 is more efficient, more modular and more XML-oriented than the older version. It is carefully designed to support the easy addition of plug-in "modules" that extend their functionality for features such as security and reliability. The Modules currently available or under development include:



WisdomFish 參考圖表






Getting


  1. Standard Binary Distribution

  2. WAR (Web Archive) Distribution
    1. This is the Web application of Axis2, which can be deployed in most of the servlet containers.
      Download WAR (Web Archive) Distribution
    2. Deploy war file as to [web container]/webapps
  3. Tools
    1. Service Archive Wizard - Eclipse Plug-in
      1. As part of the Axis2 tool set, the service archive generator is an important tool that allows the generation of service archives ("aar" file or a "jar" files) that can be deployed as a web services to the Axis2.
    2. Code Generator Wizard - Eclipse Plug-in
      1. The Axis2 code generator comes built-in with an Eclipse plug-in. This plug-in can be used to generate a WSDL file from a java class (Java2WSDL) and/or a java class file from a WSDL (WSDL2Java). First you need to install the plug-in. The instructions for the installation process are given below.





Eclipse WTP - Web Service Tutorials


WTP 1.5 Web service tutorials
Note: As a general rule, Web service tutorials are made available for each of the WTP milestones. An index to the Web service tutorials by milestone is available here.

http://www.infoq.com/cn/articles/silverlight-java-interop
http://www.blogjava.net/gembin/archive/2008/07/06/212819.html
http://qingzhuang.javaeye.com/blog/32415
http://www.javaeye.com/topic/133215
http://www.javaeye.com/topic/51237
http://www.javaeye.com/topic/53130
http://www.javaeye.com/topic/192018




References



教學參考





Comments