What is SOAP4R
The SOAP implementation available for Ruby is called SOAP4R. SOAP4R was first released in July 2000, and has had over a dozen updates including fixes based on interoperability testing. Its latest version at the time of writing was version 1.4.4 released in May 2002.
SOAP4R does not yet support the following SOAP 1.1 features:
* SOAP actor attribute
* SOAP mustUnderstand attribute
* SOAP Fault codes
* SOAP
XML Schema encoding
* SOAP transports other than HTTP
Nor does it support SSL, HTTP Authentication, layered standards like
WSDL or UDDI, or the sorts of extended transport mechanisms (such SMTP, POP3, libz compression, and Jabber) found in SOAP::Lite. Some of these mechanisms should come as development progresses.
Development has been quite active, but expecting
WSDL or UDDI support immediately may be too much to ask. Updates are frequently improving functionality and interoperability, which is quite encouraging.
การติดตั้ง SOAP4R บน Windows
เป็นการแนะนำการติดตั้ง soap4r เวอร์ชั่น 1.5.5
- ดาวโหลด soap4r ได้ที่ http://dev.ctor.org/download/soap4r-1_5_5.tar.gz
- upzip ไฟล์ soap4r-1_5_5.tar.gz จะได้โฟลเดอร์ชื่อว่า soap4r-1_5_5
- เข้าไปในโฟลเดอร์ soap4r-1_5_5
พิมพ์คำสั่ง
$ ruby install.rb
จะทำการติดตั้งดังรูปด้านล่างนี้
- รูปที่ 1 พิมพ์คำสั่งเพื่อติดตั้ง pic01.png:
- รูปที่ 2 แสดงผลการติดตั้ง pic02.png:
โฟลเดอร์เก็บไฟล์ที่สำคัญของ soap4r
- C:\ruby\lib\ruby\site_ruby\1.8\soap
- C:\ruby\lib\ruby\1.8\soap
- C:\ruby\lib\ruby\1.8\soap\rpc
- C:\ruby\lib\ruby\1.8\soap\mapping
- C:\ruby\lib\ruby\1.8\soap\encodingstyle
- C:\ruby\lib\ruby\1.8\soap\header
- C:\ruby\lib\ruby\site_ruby\1.8\wsdl\xmlSchema
- C:\ruby\lib\ruby\1.8\wsdl
- C:\ruby\lib\ruby\1.8\wsdl\xmlSchema
- C:\ruby\lib\ruby\1.8\wsdl\soap
- C:\ruby\lib\ruby\site_ruby\1.8\wsdl\soap
- C:\ruby\lib\ruby\1.8\xsd
- C:\ruby\lib\ruby\1.8\xsd\codegen
- C:\ruby\lib\ruby\1.8\xsd\xmlparser
- C:\ruby\lib\ruby\site_ruby\1.8\xmlscan
สามารถอ่านรายละเอียดเพิ่มเติมได้ที่
http://dev.ctor.org/doc/soap4r/RELEASE_en.html
by Wrox Press.