| 59 | | are an application program (bin/wsdl2ruby) and some test codes. |
|---|
| 60 | | Consider to get this package if, |
|---|
| 61 | | </p> |
|---|
| 62 | | |
|---|
| 63 | | <ul> |
|---|
| 64 | | <li>You need the WSDL to ruby (reads a WSDL file and generates stubs and Ruby class definitions) application, or</li> |
|---|
| 65 | | <li>You want to use soap4r under ruby/1.6.</li> |
|---|
| 66 | | </ul> |
|---|
| 67 | | |
|---|
| 68 | | <ul> |
|---|
| | 59 | are; some experimental code, application program (bin/wsdl2ruby) and some test |
|---|
| | 60 | codes. Consider to get this package if, |
|---|
| | 61 | </p> |
|---|
| | 62 | |
|---|
| | 63 | <ul> |
|---|
| | 64 | <li>You want to use soap4r under ruby/1.6</li> |
|---|
| | 65 | <li>You need to do SOAP Messages with Attachments (SwA)</li> |
|---|
| | 66 | <li>You need the WSDL to ruby (reads a WSDL file and generates stubs and Ruby class definitions) application</li> |
|---|
| | 67 | </ul> |
|---|
| | 68 | |
|---|
| | 69 | <p> |
|---|
| | 70 | Changes from 1.5.1.2. |
|---|
| | 71 | </p> |
|---|
| | 72 | |
|---|
| | 73 | <ul> |
|---|
| | 74 | <li>License; |
|---|
| | 75 | <ul> |
|---|
| | 76 | <li>Changed license from GPL2 to Ruby's.</li> |
|---|
| | 77 | </ul></li> |
|---|
| | 78 | |
|---|
| 71 | | <li>Sample updates; Update Amazon Web Service WSDL (v2 -> v3), and update RAA WSDL(0.0.1 -> 0.0.2). |
|---|
| 72 | | <li>Supports ivars of basetype and extending modules marshalling with XML attribute. |
|---|
| 73 | | Using XML attribute to support ruby object dependent information, marshalled object keeps compatibility with SOAP spec. |
|---|
| 74 | | It shows the power of XML, extensibility.<br/> |
|---|
| 75 | | Now I think SOAP marshaller supports all kind of object graph which is supported by Ruby's original marshaller.</li> |
|---|
| 76 | | <li>Better XML pretty printing. |
|---|
| | 81 | <li>Add SOAP Messages with Attachments (SwA) support. |
|---|
| | 82 | Patched by Jamie Herre. |
|---|
| | 83 | "SOAP Messages with Attachments" is the W3C Note which defines a |
|---|
| | 84 | binding for a SOAP 1.1 message to be carried within a MIME |
|---|
| | 85 | multipart/related message. <a href="http://www.w3.org/TR/SOAP-attachments">http://www.w3.org/TR/SOAP-attachments</a> |
|---|
| | 86 | This feature is still experimental. Interop testing is going on.</li> |
|---|
| | 87 | |
|---|
| | 88 | <li>HTTPS support even when you use net/http (not http-access2). |
|---|
| | 89 | Patched by Oliver M. Bolzer.</li> |
|---|
| | 90 | |
|---|
| | 91 | <li>Property file support. SOAP and WSDL client reads "soap/property" |
|---|
| | 92 | file located at somewhere in $: (ruby libray locations). For |
|---|
| | 93 | example, save these lines to |
|---|
| | 94 | "$rubylibdir/site_ruby/1.8/soap/property". |
|---|
| 78 | | puts SOAPMarshal.dump(Person.new("NaHi", 33)) |
|---|
| 79 | | |
|---|
| 80 | | => |
|---|
| 81 | | |
|---|
| 82 | | <?xml version="1.0" encoding="utf-8" ?> |
|---|
| 83 | | <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
|---|
| 84 | | xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" |
|---|
| 85 | | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|---|
| 86 | | <env:Body> |
|---|
| 87 | | <Person xmlns:n1="http://www.ruby-lang.org/xmlns/ruby/type/custom" |
|---|
| 88 | | xsi:type="n1:Person" |
|---|
| 89 | | env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> |
|---|
| 90 | | <age xsi:type="xsd:int">33</age> |
|---|
| 91 | | <name xsi:type="xsd:string">NaHi</name> |
|---|
| 92 | | </Person> |
|---|
| 93 | | </env:Body> |
|---|
| 94 | | </env:Envelope> |
|---|
| 95 | | </pre></li> |
|---|
| | 96 | client.protocol.http.proxy = http://myproxy:8080 |
|---|
| | 97 | client.protocol.http.no_proxy = 192.168.71.71,192.168.71.72 |
|---|
| | 98 | </pre> |
|---|
| | 99 | Then all HTTP connections should use these proxy and no_proxy |
|---|
| | 100 | definition.</li> |
|---|
| | 101 | |
|---|
| | 102 | <li>Do not trust "HTTP_PROXY" environment variable by default to |
|---|
| | 103 | avoid security problem. cf. |
|---|
| | 104 | <ul> |
|---|
| | 105 | <li><a href="http://ftp.ics.uci.edu/pub/websoft/libwww-perl/archive/2001h1/0072.html">http://ftp.ics.uci.edu/pub/websoft/libwww-perl/archive/2001h1/0072.html</a></li> |
|---|
| | 106 | <li><a href="http://ftp.ics.uci.edu/pub/websoft/libwww-perl/archive/2001h1/0241.html">http://ftp.ics.uci.edu/pub/websoft/libwww-perl/archive/2001h1/0241.html</a></li> |
|---|
| | 107 | <li><a href="http://curl.haxx.se/mail/archive-2001-12/0034.html">http://curl.haxx.se/mail/archive-2001-12/0034.html</a></li> |
|---|
| | 108 | </ul> |
|---|
| | 109 | To use HTTP_PROXY and NO_PROXY environment variable, you must set |
|---|
| | 110 | SOAP_USE_PROXY environment variable 'on', too. |
|---|
| | 111 | <pre> |
|---|
| | 112 | bash$ soap_use_proxy=on http_proxy=http://myproxy:8080 ruby ... |
|---|
| | 113 | csh$ env soap_use_proxy=on http_proxy=http://myproxy:8080 ruby ... |
|---|
| | 114 | </pre></li> |
|---|
| | 115 | |
|---|
| | 116 | <li>Add SOAP::RPC::Driver#mandatorycharset= and |
|---|
| | 117 | SOAP::WSDLDriver#mandatorycharset= interface to force using |
|---|
| | 118 | charset when parsing response from buggy server such as AWS.</li> |
|---|
| | 119 | |
|---|
| | 120 | <li>Support a halfway-typed multi-ref array that Axis dumps.</li> |
|---|
| | 121 | |
|---|
| | 122 | <li>Added a interface XSD::Charset.encoding= to control internal |
|---|
| | 123 | encoding scheme. Internal encoding scheme was fixed to 'utf-8' |
|---|
| | 124 | when iconv or uconv was installed. You can set 'euc-jp', etc. |
|---|
| | 125 | to avoid encoding scheme conversion if you know what encoding |
|---|
| | 126 | scheme the server uses.</li> |
|---|
| 109 | | <li>Do not introduce XSD constants to toplevel.</li> |
|---|
| 110 | | <li>'NO_PROXY'/'no_proxy' env var was not supported under net/http. Fixed.</li> |
|---|
| 111 | | <li>Remove some ruby/1.8 dependent codes. Should work fine under 1.6, too.</li> |
|---|
| 112 | | <li>XSD::XSDString did not check its value space under $KCODE = 'NONE' env for example where iconv module is not installed.</li> |
|---|
| 113 | | <li>XSD::XSDFloat, XSD::XSDDouble: add +/- sign explicitly when stringified and embedded into XML instance. Ruby's sprintf may format -0.0 as "0.0" (no minus sign) depending on underlying C sprintf implementation.</li> |
|---|
| | 131 | <li>SOAP::Marshal.unmarshal: raise an exception if parse fails. |
|---|
| | 132 | (returned nil)</li> |
|---|
| | 133 | |
|---|
| | 134 | <li>SOAP::WSDLDriver: decode unknown element according to self-defined |
|---|
| | 135 | type even if WSDL was given.</li> |
|---|
| | 136 | |
|---|
| | 137 | <li> SOAP::Mapping::Factory#create_empty_object: fix Class#allocate |
|---|
| | 138 | emulation code for ruby/1.6. no effective change under ruby/1.8.</li> |
|---|
| | 139 | |
|---|
| | 140 | <li>SOAP::RPC::SOAPMethodResponse: element name of response message |
|---|
| | 141 | could have the name other than 'return'.</li> |
|---|
| | 142 | |
|---|
| | 143 | <li>SOAP::RPC::StandaloneServer: add methods 'shutdown' and 'status' |
|---|
| | 144 | as delegates to WEBrick.</li> |
|---|
| | 145 | |
|---|
| | 146 | <li>WSDL::SOAP::ClassDefCreator: WSDL/1.1 allows plural fault |
|---|
| | 147 | definition in a operation.</li> |
|---|
| | 148 | |
|---|
| | 149 | <li>XSD::Charset.init: use cp932 under emx. |
|---|
| | 150 | Patched by Siena. / SHINAGAWA, Norihide.</li> |
|---|
| | 587 | <dt>1.5.2 - December 25, 2003</dt> |
|---|
| | 588 | <dd> |
|---|
| | 589 | <ul> |
|---|
| | 590 | <li>License; |
|---|
| | 591 | <ul> |
|---|
| | 592 | <li>Changed license from GPL2 to Ruby's.</li> |
|---|
| | 593 | </ul></li> |
|---|
| | 594 | |
|---|
| | 595 | <li>Features; |
|---|
| | 596 | <ul> |
|---|
| | 597 | <li>Add SOAP Messages with Attachments (SwA) support. |
|---|
| | 598 | Patched by Jamie Herre. |
|---|
| | 599 | "SOAP Messages with Attachments" is the W3C Note which defines a |
|---|
| | 600 | binding for a SOAP 1.1 message to be carried within a MIME |
|---|
| | 601 | multipart/related message. <a href="http://www.w3.org/TR/SOAP-attachments">http://www.w3.org/TR/SOAP-attachments</a> |
|---|
| | 602 | This feature is still experimental. Interop testing is going on.</li> |
|---|
| | 603 | |
|---|
| | 604 | <li>HTTPS support even when you use net/http (not http-access2). |
|---|
| | 605 | Patched by Oliver M. Bolzer.</li> |
|---|
| | 606 | |
|---|
| | 607 | <li>Property file support. SOAP and WSDL client reads "soap/property" |
|---|
| | 608 | file located at somewhere in $: (ruby libray locations). For |
|---|
| | 609 | example, save these lines to |
|---|
| | 610 | "$rubylibdir/site_ruby/1.8/soap/property". |
|---|
| | 611 | <pre> |
|---|
| | 612 | client.protocol.http.proxy = http://myproxy:8080 |
|---|
| | 613 | client.protocol.http.no_proxy = 192.168.71.71,192.168.71.72 |
|---|
| | 614 | </pre> |
|---|
| | 615 | Then all HTTP connections should use these proxy and no_proxy |
|---|
| | 616 | definition.</li> |
|---|
| | 617 | |
|---|
| | 618 | <li>Do not trust "HTTP_PROXY" environment variable by default to |
|---|
| | 619 | avoid security problem. cf. |
|---|
| | 620 | <ul> |
|---|
| | 621 | <li><a href="http://ftp.ics.uci.edu/pub/websoft/libwww-perl/archive/2001h1/0072.html">http://ftp.ics.uci.edu/pub/websoft/libwww-perl/archive/2001h1/0072.html</a></li> |
|---|
| | 622 | <li><a href="http://ftp.ics.uci.edu/pub/websoft/libwww-perl/archive/2001h1/0241.html">http://ftp.ics.uci.edu/pub/websoft/libwww-perl/archive/2001h1/0241.html</a></li> |
|---|
| | 623 | <li><a href="http://curl.haxx.se/mail/archive-2001-12/0034.html">http://curl.haxx.se/mail/archive-2001-12/0034.html</a></li> |
|---|
| | 624 | </ul> |
|---|
| | 625 | To use HTTP_PROXY and NO_PROXY environment variable, you must set |
|---|
| | 626 | SOAP_USE_PROXY environment variable 'on', too. |
|---|
| | 627 | <pre> |
|---|
| | 628 | bash$ soap_use_proxy=on http_proxy=http://myproxy:8080 ruby ... |
|---|
| | 629 | csh$ env soap_use_proxy=on http_proxy=http://myproxy:8080 ruby ... |
|---|
| | 630 | </pre></li> |
|---|
| | 631 | |
|---|
| | 632 | <li>Add SOAP::RPC::Driver#mandatorycharset= and |
|---|
| | 633 | SOAP::WSDLDriver#mandatorycharset= interface to force using |
|---|
| | 634 | charset when parsing response from buggy server such as AWS.</li> |
|---|
| | 635 | |
|---|
| | 636 | <li>Support a halfway-typed multi-ref array that Axis dumps.</li> |
|---|
| | 637 | |
|---|
| | 638 | <li>Added a interface XSD::Charset.encoding= to control internal |
|---|
| | 639 | encoding scheme. Internal encoding scheme was fixed to 'utf-8' |
|---|
| | 640 | when iconv or uconv was installed. You can set 'euc-jp', etc. |
|---|
| | 641 | to avoid encoding scheme conversion if you know what encoding |
|---|
| | 642 | scheme the server uses.</li> |
|---|
| | 643 | </ul></li> |
|---|
| | 644 | |
|---|
| | 645 | <li>Bug fixes; |
|---|
| | 646 | <ul> |
|---|
| | 647 | <li>SOAP::Marshal.unmarshal: raise an exception if parse fails. |
|---|
| | 648 | (returned nil)</li> |
|---|
| | 649 | |
|---|
| | 650 | <li>SOAP::WSDLDriver: decode unknown element according to self-defined |
|---|
| | 651 | type even if WSDL was given.</li> |
|---|
| | 652 | |
|---|
| | 653 | <li> SOAP::Mapping::Factory#create_empty_object: fix Class#allocate |
|---|
| | 654 | emulation code for ruby/1.6. no effective change under ruby/1.8.</li> |
|---|
| | 655 | |
|---|
| | 656 | <li>SOAP::RPC::SOAPMethodResponse: element name of response message |
|---|
| | 657 | could have the name other than 'return'.</li> |
|---|
| | 658 | |
|---|
| | 659 | <li>SOAP::RPC::StandaloneServer: add methods 'shutdown' and 'status' |
|---|
| | 660 | as delegates to WEBrick.</li> |
|---|
| | 661 | |
|---|
| | 662 | <li>WSDL::SOAP::ClassDefCreator: WSDL/1.1 allows plural fault |
|---|
| | 663 | definition in a operation.</li> |
|---|
| | 664 | |
|---|
| | 665 | <li>XSD::Charset.init: use cp932 under emx. |
|---|
| | 666 | Patched by Siena. / SHINAGAWA, Norihide.</li> |
|---|
| | 667 | </ul></li> |
|---|
| | 668 | </ul></dd> |
|---|
| | 669 | |
|---|