Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

root/tags/RELEASE_1_4_5/RELEASE_en.html

Revision 534, 42.7 kB (checked in by nahi, 7 years ago)

for 1.4.5

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to author date id revision
Line 
1 <?xml version="1.0"?>
2 <!DOCTYPE html
3     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4     "DTD/xhtml1-strict.dtd">
5 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
6 <head>
7 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
8 <meta http-equiv="Content-Style-Type" content="text/css" />
9 <link rev="MADE" href="mailto:nakahiro@sarion.co.jp" />
10 <link rel="StyleSheet" href="rubyStyle.css" type="text/css" media="screen" />
11 <title>Release Notes - SOAP4R</title>
12 </head>
13 <body>
14
15 <div class="header">
16 <h1>
17 Release Notes - SOAP4R
18 </h1>
19
20 <p class="status">
21 Last modified: May 25, 2002<br />
22 Created: July 17, 2000
23 </p>
24 </div>
25
26 <hr />
27
28 <div class="main">
29 <h2>0. In this document...</h2>
30
31 <p>
32 This is Release Notes of SOAP4R.
33 </p>
34
35 <p>
36 Target SOAP4R version: SOAP4R/1.4.5
37 </p>
38
39 <ol>
40 <li><a href="#changes">Changes</a></li>
41 <li><a href="#install">Install</a></li>
42 <li><a href="#uninstall">Uninstall</a></li>
43 <li><a href="#whats">What is SOAP4R?</a></li>
44 <li><a href="#dependencies">Dependencies</a></li>
45 <li><a href="#samples">Samples</a></li>
46 <li><a href="#restrictions">Restrictions</a></li>
47 <li><a href="#resources">Resources</a></li>
48 <li><a href="#history">History</a></li>
49 <li><a href="#author">Author</a></li>
50 <li><a href="#copyright">Copyright</a></li>
51 </ol>
52
53 <h2 id="changes" name="changes">1. Changes</h2>
54
55 <p>
56 This version has these enhancements;
57 </p>
58 <ul>
59 <li>Supports all primitive datatypes of XML Schema Part2 Datatypes except NOTATION.
60 Added types are Duration, gYearMonth, anyURI, QName and so on.</li>
61 <li>Runs much faster than earlier versions.
62 Some performance check and tuning has been done.</li>
63 <li>Supports all Ruby objects marshalling/unmarshalling
64 except some special objects.  See below for more detail.</li>
65 </ul>
66
67 <p>
68 CAUTION: This version requires
69 <a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=date2">[RAA:date2]</a> version 3.2 or later and
70 <a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=http-access2">[RAA:http-access2]</a> version F.
71 Please make sure the versions you use.
72 </p>
73
74 <p>
75 Here is detail of change.
76 </p>
77
78 <dl>
79 <dt>Datatypes (XMLSchemaDatatypes.rb and baseData.rb)</dt>
80 <dd>
81 <ul>
82 <li>Added duration, gYearMonth, gYear, gMonthDay, gDay, gMonth, anyURI and QName datetypes.
83 All primitive datatypes in XML Schema Part 2 section 3.2 except NOTAION are supported now.</li>
84 <li>Modified XSDDataTime, XSDDate and XSDTime implementation.  These use a DataTime as a data holder.</li>
85 <li>Follow date/3.2: date2.rb -&gt; date.rb.</li>
86 <li>Changed to_s representations of single float and double float.  Thanks to gotoken.</li>
87 <li>XSDFloat: Add '0' if given str ends with 'E'.  Float( "-1.4E" ) might fail on some system.</li>
88 <li>Added SOAPRawString class.  Given string is embedded into XML instance directly.
89 You can use this class to embed (numeric) character references manually.</li>
90 <li>Fixed UTF8 regexp bug.  XSDString uses this regexp to check a given string.</li>
91 <li>Added UT for XMLSchemaDatatypes.rb.  See test/xsd_ut.rb and test/baseData_ut.rb.</li>
92 </ul></dd>
93
94 <dt>SOAP &lt;-&gt; Ruby object mapping (mappingRegistry.rb and rpcUtils.rb)</dt>
95 <dd>
96 <ul>
97 <li>Exception raised from server side could not be mapped to specific exception.  Fixed.</li>
98 <li>Refactoring to avoid *_eval.  Reduced warnings.</li>
99 <li>Added Range marshalling support.</li>
100 <li>Regexp#options support under ruby/1.6.</li>
101 <li>Supports cyclic Range such as;
102 <pre>
103   class Foo
104     attr_accessor :foo
105     def succ; end
106     def &lt;=&gt;( rhs ); end
107   end
108
109   o1 = Foo.new
110   o2 = Foo.new
111   r = o1..o2
112   o1.foo = r
113
114   p SOAPMarshal.load( SOAPMarshal.dump( r ))
115 </pre></li>
116 <li>Supports some instance variable of ruby standard class.
117 But instance variable of Array, Hash, String, Float and Bignum are not supported because of restriction of SOAP encoding format...</li>
118 <li>Alias ::SOAPMarshal to ::SOAP::Marshal.</li>
119 <li>Added Marshal.load and Marshal.dump as aliases to Marshal.unmarshal and
120   Marshal.unmarshal.</li>
121 </ul></dd>
122
123 <dt>misc</dt>
124 <dd>
125 <ul>
126 <li>Dumps what parser is used when $DEBUG.  Try 'ruby -d -rsoap/processor -e 0'</li>
127 <li>Added CGI samples in sample/.</li>
128 <li>Some performance check and tuning has been done on both client and server side.
129 One bottle neck is Kernel.methods which SOAP4R use(d) while mapping SOAP Data Model &lt;-&gt; Ruby object.
130 I replaced it with Object.respond_to? .
131 Another bottle neck of client side is delegate.rb which is used by http-access2.
132 Get <a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=http-access2">[RAA:http-access2]</a> version F.
133 </ul>
134 </dd>
135 </dl>
136
137 <h2 id="install" name="install">2. Install</h2>
138
139 <p>
140 At first, see <a href="#dependencies">Dependencies</a> section.
141 You may need to install some extra packages.
142 Next, get the archived file of SOAP4R and extract it, then simply try;
143 </p>
144 <pre class="path">
145 $ ruby install.rb
146 </pre>
147
148 <p>
149 Necessary files will be installed to suitable directory.
150 </p>
151
152 <p>
153 Files in lib/soap directory are SOAP4R library program itself.
154 Followings are redistributed files in redist/.
155 </p>
156
157 <dl>
158 <dt class="path">GServer</dt>
159 <dd>by John W. Small: <a href="http://fairfax2.laser.net/~jsmall/rubycorner.html">http://fairfax2.laser.net/~jsmall/rubycorner.html</a></dd>
160
161 <dt class="path">httpserver.rb</dt>
162 <dd>by Michael Neumann: httpserver.rb in <a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=XML-RPC">[RAA:XML-RPC]</a></dd>
163 </dl>
164
165 <p>
166 Files in archive:
167 </p>
168
169 <dl>
170 <dt class="path">lib/soap/</dt>
171 <dd>SOAP4R library program.</dd>
172
173 <dt class="path">sample/</dt>
174 <dd>SOAP4R samples.
175 See <a href="#samples">Samples</a> section.</dd>
176
177 <dt class="path">test/</dt>
178 <dd>Clients/Server for
179 <a href="http://www.xmethods.net/ilab/">`SOAPBuilders Interoperability Lab.'</a>
180 Followings are advanced examples to use complex type transmit,
181 sending base64 encoded string, multi-dimensional array, and so on.
182 <ul>
183 <li>test/interopR2/server.cgi is a RPC Server side implementation.</li>
184 <li>test/interopR2/client*.rb is a RPC Client side implementation.</li>
185 <li>test/interopR2/base.rb includes common definitions for client/server.</li>
186 </ul>
187 </dd>
188
189 <dt class="path">redist/</dt>
190 <dd>Redistributed modules which SOAP4R uses.
191 I would appriciate to authors of these programs.
192 </dd>
193
194 </dl>
195
196 <h2 id="uninstall" name="uninstall">3. Uninstall</h2>
197
198 <p>
199 To uninstall;
200 </p>
201
202 <pre class="path">
203 $ ruby uninstall.rb
204 </pre>
205
206 <p>
207 Of cource, modules listed at <a href="#dependencies">Dependencies</a>
208 which you may install are not uninstalled.
209 </p>
210
211 <h2 id="whats" name="whats">4. What is SOAP4R?</h2>
212
213 <p>
214 'SOAP4R' is an implementation of
215 <a href="http://www.w3.org/TR/SOAP/">Simple Object Access Protocol (SOAP) 1.1 (W3C Note)</a>.
216 </p>
217
218 <p>
219 Comments, information such as interoperability between SOAP4R and another implementation are welcomed.
220 Feel free sending mail to
221 <a href="mailto:nakahiro@sarion.co.jp" class="path">nakahiro@sarion.co.jp</a>.
222 </p>
223
224 <h2 id="dependencies" name="dependencies">5. Dependencies</h2>
225
226 <p>
227 SOAP4R is written in <a href="http://www.ruby-lang.org">Ruby</a> and
228 aims to use with Ruby application.
229 You have to install Ruby itself.
230 Ruby/1.6 series are required.
231 It does not works on 1.4 series because it does not have class variable.
232 </p>
233
234 <p>
235 SOAP4R depends on following Ruby modules in
236 <a href="http://www.ruby-lang.org/en/raa.html">RAA</a>.
237 You also have to install these modules to use SOAP4R.
238 </p>
239
240 <dl>
241 <dt class="path">XML processor</dt>
242 <dd>SOAP4R requires a XML processor package installed.
243 For now, one of following XML processor must be installed
244 (SOAP4R automatically detects it in runtime).
245 <ul>
246 <li><a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=NQXML">[RAA:NQXML]</a></li>
247 <li><a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=XMLParser">[RAA:XMLParser]</a></li>
248 <li><a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=REXML">[RAA:REXML]</a> version 2.1.3 or later</li>
249 </ul></dd>
250
251 <dt class="path"><a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=date2">[RAA:date2]</a> version 3.2 or later</dt>
252 <dd>Date and DateTime implementation by Todayoshi Funaba.
253 Note: This module is scheduled to be included in standard distribution instead of lib/date.rb.  Ruby/1.7 or later.</dd>
254
255 <dt class="path"><a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=Devel%3A%3ALogger">[RAA:Devel::Logger]</a></dt>
256 <dd>Logging utility by NaHi.</dd>
257
258 <dt class="path"><a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=http-access2">[RAA:http-access2]</a> version F or later</dt>
259 <dd>Yet another HTTP client implementation by NaHi.</dd>
260
261 <dt class="path"><a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=Uconv">[RAA:Uconv]</a> (optional)</dt>
262 <dd>by Yoshida Masato.
263 It is requred when you want automatic CES conversion between
264 SJIS &lt;-&gt; UTF8 and EUC &lt;-&gt; UTF8.
265 Note: SJIS &lt;-&gt; EUC uses NKF module which is in standard distribution.
266 I will support Iconv for more conversion set.
267 </dd>
268
269 </dl>
270
271 <h2 id="samples" name="samples">6. Samples</h2>
272
273 <p>
274 Samples are in sample/ directory of distribution.
275 Some samples try to connect to public servers.
276 Set environment variable HTTP_PROXY if you are in a firewall and you have
277 http proxy to the internet like;
278 </p>
279 <pre class="path">
280 $ export HTTP_PROXY=http://myproxyserver:8080
281   or
282 $ setenv HTTP_PROXY http://myproxyserver:8080
283 </pre>
284
285 <dl>
286 <dt class="path">babelfish.rb</dt>
287 <dd>A client for
288 <a href="http://www.xmethods.com/ve2/ViewListing.po?serviceid=14">BabelFish</a>
289 which namespace URI is 'urn:xmethodsBabelFish'.
290 <pre class="path">
291 $ ./babelfish.rb "Text to translate" [ translation pattern like 'en_fr' ]
292 </pre>
293 </dd>
294
295 <dt class="path">whois.rb</dt>
296 <dd>A client for
297 <a href="http://www.xmethods.com/ve2/ViewListing.po?serviceid=34">SQLData's WHOIS</a>
298 which namespace URI is 'http://www.SoapClient.com/xml/SQLDataSoap.xsd'.
299 <pre class="path">
300 $ ./whois.rb ruby-lang.org
301 </pre>
302 CAUTION: This WhoIs server does not handle non-ascii characters correctly.
303 Querying domain which entry contains Japanese or so will hang.  Gee.
304 </dd>
305
306 <dt class="path">digraph.rb</dt>
307 <dd>A sample of SOAP marshalling/unmarshalling.
308 It creates a digraph that contains multi-ref-ed nodes at first
309 and marshals this object to get serialized XML instance.
310 Then reads and unmarshals this XML instance to recover a object
311 which has the same links among nodes in the digraph.
312 </dd>
313
314 <dt class="path">apacheClient.rb</dt>
315 <dd>SOAP-RPC client sample which connects with demonstration server;
316 stockquote and addressbook in Apache-SOAP.
317 You have to install Apache-SOAP and deploy demostration programs.<br />
318 To execute;
319 <pre class="path">
320 $ ./apacheClient.rb http://localhsot:2020/xml-soap/rpcrouter/rpcrouter.jsp
321 </pre>
322 </dd>
323
324 <dt class="path">Calc/</dt>
325 <dd>Calc service contains 2 servers and 2 clients.
326 calc.rb is hosted by server.rb, calc2.rb is hosted by server2.rb.
327 client.rb is for server.rb, client2.rb is for server2.rb.
328 <dl>
329 <dt>calc.rb</dt>
330 <dd>Calc server definition using module and module methods.
331 This module responds 'add', 'sub', 'multi' and 'div'.</dd>
332 <dt>server.rb</dt>
333 <dd>Standalone server.
334 It requires calc.rb and serve module methods of this module.
335 To run this server;
336 <pre class="path">
337 $ ./server.rb
338 </pre>
339 </dd>
340 <dt>server.cgi</dt>
341 <dd>CGI version.
342 To run this server, copy server.cgi and calc.rb to suitable directory
343 of your WWW server.
344 </dd>
345 <dt>client.rb</dt>
346 <dd>It connects to server.rb or server.cgi,
347 and hit methods served by calc.rb.
348 To run the client;
349 <pre class="path">
350 $ ./client.rb
351 </pre>
352 Is it stacked?  Did you run the server.rb?<br/>
353 Turn logger and wireDumpDev in its source on to see logs and wire dumps of
354 SOAP transport.</dd>
355
356 <dt>calc2.rb</dt>
357 <dd>Calc server definition using class and instance methods.
358 An instance of this class holds its value.  Methods 'set' and 'get' is to
359 set/get the value.
360 It also responds to '+', '-', '*', and '/'.
361 </dd>
362 <dt>server2.rb</dt>
363 <dd>It requires calc2.rb and creates an instance of CalcService2
364 that responds all SOAP requests.
365 Since '+', '-' and so on of calc2.rb are not valid name as an element
366 in XML instance,
367 this sample register the method '+' as 'add', '-' as 'sub', and so on.
368 </dd>
369 <dt>server2.cgi</dt>
370 <dd>CGI version.
371 To run this server, copy server2.cgi and calc2.rb to suitable directory
372 of your WWW server.
373 </dd>
374 <dt>client2.rb</dt>
375 <dd>It connects to server2.rb or server2.cgi.
376 Set a value at first and call methods like 'puts objAtServer + 2'.</dd>
377 </dl>
378 </dd>
379
380 <dt class="path">Exchange/</dt>
381 <dd>A sample to retrieve the currency rate from public SOAP service.</dd>
382 <dl>
383 <dt>iExchange.rb</dt>
384 <dd>It includes common definitions for client and server of
385 Exchange service.
386 Including only a definition of namespace URI of this service.</dd>
387 <dt>exchange.rb</dt>
388 <dd>Definition of servant class ExchangeService which returns the currency rate
389 after connecting to another site by SOAP to get the real rate.
390 So that this class is the SOAP server for local client and
391 is also a SOAP client for public server.
392 An instance of this class is hosted by server.rb.
393 The instance responds to only 'getRate' which receives two country code
394 such as 'USA' and 'Japan'.</dd>
395 <dt>server.rb</dt>
396 <dd>It requires exchange.rb and creates an instance of ExchangeService
397 that responds all SOAP requests.
398 To run this server;
399 <pre class="path">
400 $ ./server.rb
401 </pre>
402 </dd>
403 <dt>server.cgi</dt>
404 <dd>CGI version.
405 To run this server, copy server.cgi and exchange.rb to suitable directory
406 of your WWW server.
407 </dd>
408 <dt>client.rb</dt>
409 <dd>It connects to server.rb.
410 Turn logger and wireDumpDev in its source on to see logs and wire dumps of
411 SOAP transport.
412 To run the client;
413 <pre class="path">
414 $ ./client.rb
415 </pre>
416 </dd>
417 </dl>
418 </dd>
419
420 <dt class="path">SampleStruct/</dt>
421 <dd>A sample to transmit complex structured object which has recursive
422 object reference.
423 <dl>
424 <dt>iSampleStruct.rb</dt>
425 <dd>It includes common definitions for client and server of
426 SampleStruct service.
427 Definition of SampleStruct class and namespace URI of this service.</dd>
428 <dt>sampleStruct.rb</dt>
429 <dd>Definition of servant class SampleStructService.
430 An instance of this class is hosted by server.rb.
431 The instance responds to only 'hi' which receives a SampleStruct and wraps
432 it in the new instance of SampleStruct to return .</dd>
433 <dt>server.rb</dt>
434 <dd>It requires sampleStruct.rb and creates an instance of SampleStructService
435 that responds all SOAP requests.
436 To run this server;
437 <pre class="path">
438 $ ./server.rb
439 </pre>
440 </dd>
441 <dt>server.cgi</dt>
442 <dd>CGI version.
443 To run this server, copy server.cgi and sampleStruct.rb to suitable directory
444 of your WWW server.
445 </dd>
446 <dt>client.rb</dt>
447 <dd>It connects to server.rb.
448 Turn logger and wireDumpDev in its source on to see logs and wire dumps of
449 SOAP transport.
450 To run the client;
451 <pre class="path">
452 $ ./client.rb
453 </pre>
454 </dd>
455 </dl>
456 </dd>
457
458 <dt class="path">RAA/</dt>
459 <dd>SOAP-RPC client samples.
460 These programs connect to RAA SOAP Interface on www.ruby-lang.org.
461 <ul>
462 <li>soap4r.rb: Ruby program using SOAP4R</li>
463 <li>xmlrpc4r.rb: Ruby program using xmlrpc4r</li>
464 <li>pocketSOAP.js: JScript program using pocketSOAP</li>
465 <li>SOAP::Lite.pl: Perl program using SOAP::Lite for Perl</li>
466 </ul>
467 Since the server is (still) under testing phase so stable operation is not expected.</dd>
468
469 <dt class="path">webrick/</dt>
470 <dd>SOAP-RPC server samples which runs with WEBrick.
471 <ul>
472 <li>httpd.rb: HTTP server which soaplet.rb mounts to.
473 It is powered by WEBrick so you must install
474 <a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=WEBrick">[RAA:WEBrick]</a>
475 to run it.</li>
476 <li>soaplet.rb: A bricklet to add a SOAP function to WEBrick.
477 It hosts exchange.rb, sampleStruct.rb below, and it is mounted to httpd.rb
478 to serve ExchangeService and SampleStructService.</li>
479 <li>ExchangeService
480 <dl>
481 <dt>exchange.rb</dt>
482 <dd>A server class definition which returns the currency rate
483 after connecting to another site by SOAP to get the real rate.
484 An instance of this class is instanciated in httpd.rb and this instance
485 respond to each HTTP request.</dd>
486 <dt>exchangeClient.rb</dt>
487 <dd>A client to connect soaplet.rb via SOAP/HTTP to call exchange.rb.</dd>
488 <dt>iExchange.rb</dt>
489 <dd>Common class(type) definitions for server and client.</dd>
490 </dl>
491 </li>
492
493 <li>SampleStructService
494 <dl>
495 <dt>sampleStruct.rb</dt>
496 <dd>A server class definition which wraps a given struct
497 and returns it.
498 An instance of this class is instanciated in httpd.rb and this instance
499 respond to each HTTP request.</dd>
500 <dt>sampleStructClient.rb</dt>
501 <dd>A client to connect soaplet.rb via SOAP/HTTP to call sampleStruct.rb</dd>
502 <dt>iSampleStruct.rb</dt>
503 <dd>Common class(type) definitions for server and client.</dd>
504 </dl></li>
505 </ul>
506 Run the server;
507 <pre class="path">
508 $ ruby httpd.rb
509 </pre>
510 Then, run clients;
511 <pre class="path">
512 $ ruby sampleStruct.rb
513 $ ruby exchangeClient.rb
514 </pre>
515 Set 'logger' and 'wireDumpDev' in clients to see log and wiredumps of SOAP.
516 </dd>
517
518 <dt class="path">ICD</dt>
519 <dd>A client for
520 <a href="http://www.iwebmethod.net/">Insider's Computer Dictionary Web Service</a>.
521 This service is implemented with ASP.NET so that it's also a sample of
522 a client which connects to ASP.NET.
523 CAUTION: this sample contains non-ascii chars in its source and dumped results.
524 <dl>
525 <dt>IICD.rb</dt>
526 <dd>Class(type) definitions for this server.</dd>
527 <dt>icd.rb</dt>
528 <dd>Client implementation.  To run the client;
529 <pre class="path">
530 $ ./icd.rb
531 </pre>
532 </dd>
533 </dl>
534 </dd>
535
536 <dt class="path">WSDemo</dt>
537 <dd>A sample of messaging client.  Server side sample does not exist now...</dd>
538
539 <dt class="path">RWiki</dt>
540 <dd>A sample CGI server which receives a request via SOAP and dispatches it
541 to RWiki server via dRuby.  Naive SOAP/dRuby bridge implementation.</dd>
542
543 </dl>
544
545 <h2 id="restrictions" name="restrictions">7. Restrictions</h2>
546
547 <p>
548 The following features of the
549 <a href="http://www.w3.org/TR/SOAP/">SOAP 1.1 (W3C Note)</a>
550 spec are <strong>NOT</strong> currently supported:
551 </p>
552
553 <ul>
554 <li style="margin-top: 2ex;">SOAP Envelope
555 <ul>
556 <li>SOAP actor attribute</li>
557 <li>SOAP mustUnderstand attribute</li>
558 <li>SOAP Fault Codes</li>
559 </ul></li>
560 <li style="margin-top: 2ex;">SOAP Encoding
561 <ul>
562 <li>encoding/decoding using XML Schema;
563 Only xsi:type in SOAP Encoding is checked</li>
564 </ul></li>
565 <li style="margin-top: 2ex;">Othres
566 <ul>
567 <li>Transport binding except HTTP server and client</li>
568 </ul></li>
569 </ul>
570
571 <h2 id="resources" name="resources">8. Resources</h2>
572
573 <dl>
574 <dt class="path"><a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=SOAP4R">[RAA:SOAP4R]</a></dt>
575 <dd>I will post a new release to RAA.
576 Check RAA to get a new stable (I hope) version.</dd>
577
578 <dt class="path"><a href="http://www.ruby-lang.org/~knu/cgi-bin/cvsweb.cgi/lib/soap4r/">CVS</a></dt>
579 <dd>There is the SOAP4R CVS repository in cvs.ruby-lang.org.
580 (Thanks to knu, the maintainer of cvs.ruby-lang.org.)
581 Check here to get most recent (but could be unstable) version.</dd>
582
583 <dt class="path"><a href="http://www.jin.gr.jp/~nahi/Ruby/SOAP4R/wiki.cgi">SOAP4R Wiki</a></dt>
584 <dd>There is a wiki for SOAP4R, running under
585 <a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=RWiki">[RAA:RWiki]</a>.
586 Feel free to add your comment there.
587 Any comments are welcomed. (as always)</dd>
588
589 <dt class="path"><a href="http://www.jin.gr.jp/~nahi/Ruby/SOAP4R/wiki.cgi?cmd=view;name=InteropResults">InteropResults</a></dt>
590 <dd>Test results of <a href="http://www.whitemesa.com/interop.htm">SOAPBuilders Interoperability Lab &quot;Round 2&quot;</a>.</dd>
591
592 </dl>
593
594 <h2 id="history" name="history">9. History</h2>
595
596 <dl>
597 <dt>1.4.5 - May 25, 2002</dt>
598 <dd>
599 This version has these enhancements;
600 <ul>
601 <li>Supports all primitive datatypes of XML Schema Part2 Datatypes except NOTATION.
602 Added types are Duration, gYearMonth, anyURI, QName and so on.</li>
603 <li>Runs much faster than earlier versions.
604 Some performance check and tuning has been done.</li>
605 <li>Supports all Ruby objects marshalling/unmarshalling
606 except some special objects.  See below for more detail.</li>
607 </ul>
608
609 CAUTION: This version requires
610 <a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=date2">[RAA:date2]</a> version 3.2 or later and
611 <a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=http-access2">[RAA:http-access2]</a> version F.
612 Please make sure the versions you use.
613 <br/><br/>
614
615 Here is detail of change.
616 <dl>
617 <dt>Datatypes (XMLSchemaDatatypes.rb and baseData.rb)</dt>
618 <dd>
619 <ul>
620 <li>Added duration, gYearMonth, gYear, gMonthDay, gDay, gMonth, anyURI and QName datetypes.
621 All primitive datatypes in XML Schema Part 2 section 3.2 except NOTAION are supported now.</li>
622 <li>Modified XSDDataTime, XSDDate and XSDTime implementation.  These use a DataTime as a data holder.</li>
623 <li>Follow date/3.2: date2.rb -&gt; date.rb.</li>
624 <li>Changed to_s representations of single float and double float.  Thanks to gotoken.</li>
625 <li>XSDFloat: Add '0' if given str ends with 'E'.  Float( "-1.4E" ) might fail on some system.</li>
626 <li>Added SOAPRawString class.  Given string is embedded into XML instance directly.
627 You can use this class to embed (numeric) character references manually.</li>
628 <li>Fixed UTF8 regexp bug.  XSDString uses this regexp to check a given string.</li>
629 <li>Added UT for XMLSchemaDatatypes.rb.  See test/xsd_ut.rb and test/baseData_ut.rb.</li>
630 </ul></dd>
631
632 <dt>SOAP &lt;-&gt; Ruby object mapping (mappingRegistry.rb and rpcUtils.rb)</dt>
633 <dd>
634 <ul>
635 <li>Exception raised from server side could not be mapped to specific exception.  Fixed.</li>
636 <li>Refactoring to avoid *_eval.  Reduced warnings.</li>
637 <li>Added Range marshalling support.</li>
638 <li>Regexp#options support under ruby/1.6.</li>
639 <li>Supports cyclic Range such as;
640 <pre>
641   class Foo
642     attr_accessor :foo
643     def succ; end
644     def &lt;=&gt;( rhs ); end
645   end
646
647   o1 = Foo.new
648   o2 = Foo.new
649   r = o1..o2
650   o1.foo = r
651
652   p SOAPMarshal.load( SOAPMarshal.dump( r ))
653 </pre></li>
654 <li>Supports some instance variable of ruby standard class.
655 But instance variable of Array, Hash, String, Float and Bignum are not supported because of restriction of SOAP encoding format...</li>
656 <li>Alias ::SOAPMarshal to ::SOAP::Marshal.</li>
657 <li>Added Marshal.load and Marshal.dump as aliases to Marshal.unmarshal and
658   Marshal.unmarshal.</li>
659 </ul></dd>
660
661 <dt>misc</dt>
662 <dd>
663 <ul>
664 <li>Dumps what parser is used when $DEBUG.  Try 'ruby -d -rsoap/processor -e 0'</li>
665 <li>Added CGI samples in sample/.</li>
666 <li>Some performance check and tuning has been done on both client and server side.
667 One bottle neck is Kernel.methods which SOAP4R use(d) while mapping SOAP Data Model &lt;-&gt; Ruby object.
668 I replaced it with Object.respond_to? .
669 Another bottle neck of client side is delegate.rb which is used by http-access2.
670 Get <a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=http-access2">[RAA:http-access2]</a> version F.
671 </ul>
672 </dd>
673 </dl>
674 </dd>
675
676 <dt>1.4.4 - May 6, 2002</dt>
677 <dd>
678 This is a bug fix release.
679 Following users should update.
680 <ul>
681 <li>Users who use DateTime datatype.</li>
682 <li>Developers of SOAP client/server which works under multi-thread condition.</li>
683 <li>REXML users.</li>
684 </ul>
685 Fixed bugs.
686 <ul>
687 <li>XSDDataTime: Changed variable name usec to sec_frac.  It's not a micro sec so name usec is misleading.</li>
688 <li>XSDTime: Fixed bugs in usec part.</li>
689 <li>date.rb in standard library and date2 version 3 conflicts because date2.rb is a successor of date.rb and not designed for dual use.
690 (ex. using a module which requires date.rb like DBI and another module which requires date2.rb).
691 Added a workaround for this.</li>
692 <li>SOAP::Processor was not MT-safe.  Fixed.
693 Projected feature regards to MT are follows.
694 At least I hope so.  Tell me if you find these wrong.
695 <ul>
696 <li>Driver: safe</li>
697 <li>Proxy: safe</li>
698 <li>Server: safe</li>
699 <li>CGIStub: safe</li>
700 <li>StandaloneServer: safe</li>
701 <li>RPCRouter: safe</li>
702 <li>StreamHandler: safe</li>
703 <li>Processor: safe</li>
704 <li>SOAPParser: unsafe</li>
705 <li>SOAPGenerator: unsafe</li>
706 <li>EncodingStyleHandler: unsafe</li>
707 </ul>
708 </li>
709 <li>SOAP4R/1.4.3 supports REXML/2.1.3 but it did not detect REXML processor automatically.</li>
710 </ul>
711 </dd>
712
713 <dt>1.4.3 - April 11, 2002</dt>
714
715 <dd>
716 <dl>
717 <dt>Attention to 1.4.2 or earlier users;</dt>
718 <dd>
719 <ul>
720 <li>Stopped redistributing packages in RAA from this release.
721 Please get <a href="#dependencies">required</a> packages from
722 <a href="http://www.ruby-lang.org/en/raa.html">RAA</a>
723 and install it.</li>
724 <li>It still does NOT support WSDL!</li>
725 </ul>
726 </dd>
727
728 <dt>New features</dt>
729 <dd>
730 <ul>
731 <li>Added REXML parser support.</li>
732 <li>Added uninstaller.</li>
733 <li>Re: samples
734 <ul>
735 <li>Added 3 new samples, Calc, Exchange, and SampleStruct.</li>
736 <li>Use environment variable HTTP_PROXY or http_proxy for http proxy.</li>
737 <li>Removed unreachable services.</li>
738 <li>RAA: Separate iRAA.rb into RAA.rb and iRAA.rb.</li>
739 <li>Added description about <a href="#samples">samples</a> to RELEASE_en.html.</li>
740 </ul>
741 <li>Changed String encoding handling among
742 Ruby object &lt;-&gt; SOAP Data Model &lt;-&gt; XML instance.
743 <ul>
744 <li>Ruby object: $KCODE.</li>
745 <li>SOAP Data Model: utf-8 if uconv module is installed, $KCODE if not.</li>
746 <li>XML instance: Client side use utf-8 if uconv module is installed,
747 $KCODE if not.  Server side try to adjust the request encoding.</li>
748 <li>Use regexp instead of NKF.guess to check if the given String is EUC/SJIS or not.</li>
749 </ul>
750 </li>
751 <li>Added 'addServant' interface to server side.  See sample/Calc/server.rb.</li>
752 <li>Added 'addMethodAs' interface to both server side and client side.
753 See sample/Calc/server2.rb.</li>
754 </ul>
755 </dd>
756
757 <dt>Changes</dt>
758 <dd>
759 <ul>
760 <li>Removed Japanese document.
761 I was tired of maintaining 2 separated documents.
762 Though my English is poor as you see, numbers of readers of my English document
763 should be more than one of my Japanese document.
764 Would you please tell me bug of my English composition and of course in the code?</li>
765 <li>Use
766 <a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=Devel%3A%3ALogger">[RAA:Devel::Logger]</a>
767 instead of
768 <a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=Application">[RAA:Application]</a>.
769 </li>
770 <li>Avoided using exception in soap2obj and reduced warnings in runtime.</li>
771 <li>XSDDateTime: Use date2 version 3 instead of date3.rb.
772 Date2 version 3 will be included in standard distribution of Ruby/1.8.</li>
773 <li>XSDDateTime: Added XSDDateTimeToTime module to extract a Time object from XSDDateTime, XSDDate and XSDTime.</li>
774 </ul>
775 </dd>
776
777 <dt>Bug fixes</dt>
778 <dd>
779 <ul>
780 <li>Set 'charset=' to content-type when sending back a SOAPFault.
781 It was not set.</li>
782 <li>XSDDateTime: Parsedate was not used.  Removed.</li>
783 <li>Added constant Log as a canonical name of Devel::Logger for backward
784 compatibility of devel-logger.</li>
785 <li>Foo = Struct.new(:foo) and Foo = Struct.new("Foo", :foo) could not be
786   unmarshalled collectly.  All members were unmarshalled as nil.  Fixed.</li>
787 <li>Rescue ArgumentError(Unrecognized signal) in standaloneServer.rb for mswin32 ruby.</li>
788 </ul>
789 </dd>
790 </dl>
791 </dd>
792
793 <dt>1.4.2 - December 28, 2001</dt>
794 <dd>
795 Many changes around Ruby language mapping for SOAP.
796 I replaced DRb's marshalling format with SOAP marshalling and it passed
797 about all unit test packed in DRb package.
798 Only test failed was regards to packet size.
799 You might be able to use SOAP::Marshal.(un|)marshal for serializing objects
800 instead of Marshal.(load|dump).
801
802 <ul>
803 <li>Illegal decoding of a position-less element after position-ed element.  Fixed.</li>
804 <li>Add Rubytype encoding/decoding support: Regexp, Class, Module and Symbol.</li>
805 <li>Added an option of MappingRegistry to raise an exception when unknown Struct.
806 The option is set 'false' by default so that same behaviour as before.</li>
807 </ul></dd>
808
809 <dt>1.4.1 - December 7, 2001</dt>
810 <dd>SOAP4R/1.4 contained many bugs (as usual...)
811 1.4.1 is a maintenance release.  Some bugs are fixed.
812 Thanks to Michael Neumann.
813
814 <ul>
815 <li>instance_eval in SOAPStruct#add for adding accessor illegaly overrode important methods for SOAP4R such as name, name= and so on.  Removed this instance_eval and rewrote other codes which did depend the code.  Thanks to MNeumann for reporting it and giving a suggestion to fix it.</li>
816 <li>Fixed charset handling.  Illegal charset was set when automatic XML processor detecting.</li>
817 <li>Removed unused code(self.decode) in element.rb.</li>
818 <li>Illegal constant access when SOAP format error.  Fixed.</li>
819 <li>LiteralEncodingNamespace moved to SOAP module.</li>
820 </ul></dd>
821
822
823 <dt>1.4 - December 5, 2001</dt>
824 <dd><ul>
825 <li>Datatypes:
826 <ul>
827 <li>XSDFloat: Bug in rounding double float to single float.  Fixed.</li>
828 <li>SOAPElement: Added for literal encoding.</li>
829 <li>Removed SOAP encoding functions from baseData.  EncondingStyleHandler should decide how to encode SOAP data model. (ie. ASP.NET seems to have its own encoding style.)</li>
830 <li>SOAPHeaderItem: Changed interface for easy use.</li>
831 </ul></li>
832
833 <li>SOAP Encoding:
834 <ul>
835 <li>Encoding by itself, not using NQXML's tree object model.</li>
836 <li>At last, supported multi-ref encoding!</li>
837 <li>marshal.rb: Marshalling with Envelope and Body.  To marshal multi-ref'd object, Body is needed. CAUTION: Not compatible between former implementation.</li>
838 <li>Add EncodingStyleHandlerLiteral and set it to default.</li>
839 <li>Renamed encoding.rb to encodingStyleHandler.rb.</li>
840 <li>Added ASP.NET encoding handler.  ASP.NET seems to use literal encoding (by default) but it is easier with this encodingStyleHandler to access the service which is built with ASP.NET.</li>
841 <li>Changed element name escape.
842 <ul>
843 <li>:: &lt;=&gt; \.\.</li>
844 <li>[^a-zA-Z0-9_-] &lt;=&gt; \.[0-F][0-F]
845 </ul>
846 Limitation: Using SOAP4R's RPC function, you cannot use the name which contains '.' for method name, class/struct name, and accessor name. In Ruby world, it should not be a problem I believe.</li>
847 </ul></li>
848
849 <li>RPC related functions:
850 <ul>
851 <li>Driver: Added 'invoke' method for messaging.</li>
852 <li>Driver: Content of SOAPFault detail element is set in the exception which is thrown from SOAP Node to client application.</li>
853 <li>Processor: Changed Processor.(un|)marshal interface.  An instance of NS for parsing/generating XML instance is prepared in parser/generator.</li>
854 <li>mappingRegistry.rb is devided from rpcUtils.rb.</li>
855 </ul></li>
856 </ul></dd>
857
858
859 <dt>1.3.8 - October 4, 2001</dt>
860 <dd>Feedback from
861 <a href="http://www.whitemesa.com/interop.htm">SOAPBuilders Interoperability Lab &quot;Round 2&quot;</a>
862 and Michael Neumann.  Thanks!
863
864 <ul>
865 <li>Datatypes:
866 <ul>
867 <li>XSDFloat: Creating float data from junk string such as "123.0junk" was
868   converted to 0.0.  It should be avoided.  Fixed.</li>
869 <li>XSDFloat: Fixed double -&gt; single rounding code.</li>
870 </ul></li>
871
872 <li>RPC related functions:
873 <ul>
874 <li>Changed typename <=> NCName strategy.  '::' &lt;=&gt; '.'</li>
875 <li>Added mappingRegistry argument to interfaces for SOAP object creation.</li>
876 </ul></li>
877
878 <li>Others:
879 <ul>
880 <li>Set faultstring '(No faultstring)' to SOAP Fault when empty faultstring element.</li>
881 <li>server.rb: Added mappingRegistry interface.</li>
882 <li>marshal.rb: Create NCName from typename.</li>
883 </ul></li>
884 </ul></dd>
885
886
887 <dt>1.3.7 - August 24, 2001</dt>
888 <dd>Feedback from
889 <a href="http://www.whitemesa.com/interop.htm">SOAPBuilders Interoperability Lab &quot;Round 2&quot;</a>
890 and Michael Neumann.  Thanks!
891
892 <ul>
893 <li>Datatypes:
894 <ul>
895 <li>All datatypes try to keep nil correctly.</li>
896 <li>XSDInt/Integer/Long: to_i -&gt; Integer() to detect format error.</li>
897 <li>XSDDateTime, XSDDate, XSDTime: Add trailing 'Z' to indicate UTC.</li>
898 <li>SOAPStruct: Accept untyped struct.</li>
899 <li>Map(Hash): Let &lt;item&gt; untyped.</li>
900 <li>Apache allows only 'item' in Map type.</li>
901 </ul></li>
902
903 <li>Stream handler:
904 <ul>
905 <li>Removed MPOST support.</li>
906 <li>ECONNRESET was not caught.  Fixed.</li>
907 <li>Added timeout support.</li>
908 </ul></li>
909
910 <li>Others:
911 <ul>
912 <li>Changed using URI library: URb -&gt; URI; following its name change.</li>
913 <li>Added NQXML/1.1.0 support.  A XMLDecl now recognized as a XMLDecl, not a PI.</li>
914 </ul></li>
915 </ul></dd>
916
917 <dt>1.3.6 - July 27, 2001</dt>
918 <dd>Many feedbacks from Michael Neumann.  Thanks!
919
920 <ul>
921 <li>hexBinary type: Added.</li>
922 <li>nil type: Should not be xsd:nil but xsi:nil.</li>
923 <li>Added StandaloneServer implementation.  Thanks to Michael Neumann!</li>
924 <li>Illegal parsing of XMLDecl.  Fixed.</li>
925 <li>RPC's 'inout' param was not supported.  Fixed.  Thanks to Michael Neumann!</li>
926 <li>URb::Generic#path returns '' when abs_path is empty (such as http://foo).
927 Added checking code.</li>
928 <li>Use http-access2 instead of original HTTP implementation.  http-access2 supports HTTP/1.1's persistent connection.</li>
929 </ul></dd>
930
931 <dt>1.3.5 - July 14, 2001</dt>
932 <dd>Many feedbacks from Michael Neumann.
933 I much appreciate valuable comments to him.
934 Thanks!
935
936 <ul>
937 <li>Changed using URI library: uri -&gt; URb.</li>
938 <li>Types changed:
939   <ul>
940     <li>All: Triming data except XSDString before parsing it.</li>
941     <li>String: Regexp for XML Char check did not work under $KCODE = 'UTF8' condition.  Fixed.</li>
942     <li>Nil: 2001xsd:nil must not accept a value '1'.  1999xsd:null must not accept a value 'true' because these are not a boolean but only a flag for nil.  Fixed.</li>
943   </ul>
944 </li>
945
946 <li>Supported XML parser:
947   <ul>
948     <li>Added automatic CES conversion support for NQXMLParser.
949         (Depends on uconv module).
950         Set $KCODE for regexps used in NQXML parser.</li>
951     <li>Moved SOAPNQXML*Parser to nqxmlparser.rb.</li>
952   </ul>
953 </li>
954
955 <li>RPC related functions changed:</li>
956   <ul>
957     <li>Added marshalling/unmarshalling Ruby's object using SOAP Encoding.</li>
958     <li>Parallelize of signatures of 'addMethod': proxy.rb &lt;-&gt; rpcRouter.rb, driver.rb &lt;-&gt; cgistub.rb.</li>
959     <li>Void return if 'retval' is not defined.</li>
960     <li>Added SOAP's Long type to default mapping table.</li>
961   </ul>
962 </li>
963 </ul></dd>
964
965 <dt>1.3.4.2 - July 11, 2001</dt>
966 <dd>SOAP4R/1.3.4 was once packed in July 10, 2001.
967 But, thanks to MNeumann and knu,
968 I found I had forgotten to pack 'redist' directory with it.
969 I added some fix from developing version and repack it as 1.3.4.2.
970 Sorry for frequently release...
971 <br/><br/>
972
973 Feedback from
974 <a href="http://www.xmethods.net/ilab/">`SOAPBuilders Interoperability Lab.'</a>
975 and Michael Neumann.  Thanks!
976
977 <ul>
978 <li>Added in 1.3.4.2:
979   <ul>
980     <li>Type Decimal: Silly bug fixed.  0.0001 was converted to 0.1</li>
981     <li>CGIStub returns HTTP status 500 when returning SOAP Fault.
982         Returned 200 because I don't like this spec., but SOAP/1.2 W3C WD
983         9 July 2001 have adopted it.  Hmm...</li>
984     <li>RPC client(driver.rb): Exception#set_backtrace was omitted when transmitting exception by SOAP Fault.</li>
985   </ul>
986 </li>
987 <li>Types changed:
988   <ul>
989     <li>Array: Incomplete sparse array support.  Fixed.</li>
990     <li>Date: Added.</li>
991     <li>Time: Added.</li>
992     <li>DateTime: Added precision of time support.</li>
993     <li>String: Default data should not be nil but ''.</li>
994     <li>Nil: Attribute value of xsi:nil might be '1' instead of 'true'.  Fixed.</li>
995   </ul>
996 </li>
997
998 <li>Supported XML parser:
999   <ul>
1000     <li>Added SOAPXMLParser and SOAPSAXDriver for XMLParser which uses expat.
1001         You can get the module from RAA: <a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=XMLParser">XMLParser module</a>.<br/>
1002         To use XMLParser -&gt; add &quot;require 'soap/xmlparser'&quot;.<br/>
1003         To use SAX driver of XMLParser -&gt; add &quot;require 'soap/saxdriver'&quot;.<br/>
1004         To use NQXMLParser -&gt; nothing to do.<br/>
1005         FYI:
1006         <ul>
1007           <li>XMLParser version is faster than others</li>
1008           <li>SAXDriver version is extremely slow</li>
1009           <li>NQXMLParser version is somewhat slower than XMLParser version</li>
1010           <li>XMLParser is a Ruby extension module; To use it, you must compile and install it.</li>
1011           <li>So far, automatic code conversion support is for XMLParser and SAXDriver.  See below.</li>
1012         </ul>
1013     </li>
1014     <li>Added automatic CES conversion support: UTF-8 &lt;-&gt; EUC, SJIS.
1015         Requires Uconv module.  Works with XMLParser module only now.</li>
1016     <li>Added XMLDecl for CES.</li>
1017   </ul>
1018 </ul></dd>
1019
1020 <dt>1.3.3 - July 4, 2001</dt>
1021 <dd>Feedback from
1022 <a href="http://www.xmethods.net/ilab/">`SOAPBuilders Interoperability Lab.'</a>
1023 and Michael Neumann.  Thanks!
1024 <ul>
1025 <li>Added SOAP4R Installer by Michael Neumann.  Thanks!</li>
1026 <li>Types changed:
1027   <ul>
1028     <li>Boolean: Accepts 1 and 0 in addition to true and falue.</li>
1029     <li>Float: handles single-precision 32-bit floating point.
1030         Ruby's float is doule-precision.</li>
1031     <li>Double: Added.  Mapped to Ruby's Float.</li>
1032     <li>DateTime: Added TZ support.</li>
1033     <li>Long: Added.</li>
1034     <li>Int: Changed class hierarchy; derived from Long now.</li>
1035     <li>Array: Added 'position' and 'offset' support.</li>
1036     <li>Array: Added M-D Array support.</li>
1037     <li>Decimal: Added but it's incomplete now.</li>
1038   </ul>
1039 </li>
1040 <li>Illegal error message when a type not found in SOAP-ENC.</li>
1041 <li>Tries to transmit \r safely.  To be checked...</li>
1042 <li>Parse Fault items like 'faultcode' as same as Body ie. href/id.</li>
1043 <li>rpcUtils.rb was completely re-written.
1044   <ul>
1045     <li>Added mappingRegistry interface.</li>
1046     <li>Changed soap2obj and obj2soap's interface.</li>
1047     <li>Bignum might be int or integer.  It's dependent on platform.
1048         Changed to check range  -2147483648~+2147483647 itself.</li>
1049     <li>ary2md: Added.  Converting Array ((of Array)...) to M-D Array.</li>
1050     <li>struct2obj: Illegal dependency on ordering of Struct#members.  Fixed.</li>
1051     <li>Ruby's Array should be converted to SOAP's Array of anyType.  Fixed.</li>
1052   </ul>
1053 </li>
1054 <li>Dump HTTP header even when an error was raised.</li>
1055 </ul></dd>
1056
1057 <dt>1.3.2 - June 21, 2001</dt>
1058 <dd>Feedback from
1059 <a href="http://www.xmethods.net/ilab/">`SOAPBuilders Interoperability Lab.'</a>
1060
1061 <ul>
1062 <li>&quot;nil='1'&quot; should be &quot;nil='true'&quot; in 2001 schema
1063 whereas &quot;null='1'&quot; in 1999 schema.  Fixed.</li>
1064 <li>SOAP Array was not typed with xsi:type.</li>
1065 <li>Fixed serialization root handling algorithm.</li>
1066 <li>Supported kind of SOAP-ENC:String style typed element.</li>
1067 <li>Default namespace was not derived to child element.  Fixed.</li>
1068 <li>Support default encodingStyle.</li>
1069 <li>Added support for void type (SOAP::RPCUtils::SOAPVoid).</li>
1070 </ul></dd>
1071
1072 <dt>1.3.1 - May 30, 2001</dt>
1073 <dd>Feedback from
1074 <a href="http://www.xmethods.net/ilab/">`SOAPBuilders Interoperability Lab.'</a>
1075
1076 <ul>
1077 <li>Heading and trailing whtespaces in Base64 string could not be processed.  Fixed.</li>
1078 <li>Illegal typeNamespace of SOAP's base64 type.  Fixed.</li>
1079 <li>Added NaN, INF, -INF support of Float type.</li>
1080 <li>Extracted xsd:1999 type support to XMLSchemaDatatypes1999.rb.  Use it with 'require &quot;soap/XMLSchemaDatatypes1999&quot;'.</li>
1081 <li>Added 'root' attribute support.</li>
1082 <li>Return status 500 when Fault.</li>
1083 </ul></dd>
1084
1085 <dt>1.3.0 - May 20, 2001</dt>
1086 <dd><ul>
1087 <li>Adopted
1088 <a href="http://www.ruby-lang.org/en/raa-list.rhtml?name=NQXML">NQXML module</a>
1089 instead of XMLParser module extensively.
1090 (You can implement your SOAP parser with XMLParser module.
1091 See the last part of lib/soap/parser.rb)
1092 <ul>
1093 <li>Use NQXML's streamingParser or tokenizer instead of XMLParser's DOMParser for unmarshalling.</li>
1094 <li>Use NQXML's document instead of XMLParser's DOM for marshalling.</li>
1095 </ul></li>
1096 <li>Passed major(?) part of inteoperability test in
1097 <a href="http://www.xmethods.net/ilab/">`SOAPBuilders Interoperability Lab.'</a>
1098 See test/interop/README.txt.</li>
1099 <li>Changed module namespace.  SOAPFoo -> SOAP::Foo.</li>
1100 <li>Added float datatype support.</li>
1101 <li>Changed dateTime marshalling format.  No timezone was added to marshalled string  because SOAP4R does not support timezone now.</li>
1102 </ul></dd>
1103
1104 <dt>1.2.0 - March 30, 2001</dt>
1105 <dd>Checked interoperability with
1106 <a href="http://xml.apache.org/soap/">Apache-SOAP</a>,
1107 <a href="http://www.pocketsoap.com">pocketSOAP/0.91</a>,
1108 <a href="http://www.geocities.com/paulclinger/soap.html">SOAP::Lite for Perl</a>,
1109 and <a href="http://www.develop.com/soap/">SOAP/Perl/0.28</a>.
1110 It seems to work good except SOAP/Perl/0.28.
1111
1112 <ul>
1113 <li>Added href/id unmarshalling support.
1114 (href/id marshalling has not been supported yet)</li>
1115 <li>Added SOAP's base64 type support.</li>
1116 <li>SOAPTimeInstant -&gt; SOAPDateTime.  Following XML Schema PR.</li>
1117 <li>SOAPStruct can have multiple accessor which have same name.
1118 Should I separate it from original SOAPStruct?</li>
1119 <li>Unknown attribute in Header Item raised an exception.  Omitted.</li>
1120 <li>Router can handle methods which belong to different namespace.</li>
1121 <li>Added an option to allow unqualified SOAP element.</li>
1122 <li>Added Apache's Map type support.  Ruby's Hash are mapped to it now.
1123 (Ruby's Hash marshalled by 1.1 processor in the old way can be unmarshalled,
1124 but 1.2 processor marshals it in the new way and 1.1 processor does not
1125 unmarshals it into Hash.  Incompatibility between SOAP4R/1.2 and 1.1)</li>
1126 <li>Unknown type 'unknown:SOAPStruct' was incorrectly unmarshalled into SOAPStruct.  Fixed.</li>
1127 <li>Added utility methods map! and members to SOAPArray and SOAPStruct.</li>
1128 <li>Added methods request, response, and fault to SOAPBody.</li>
1129 </ul></dd>
1130
1131 <dt>1.1.0 - March 23, 2001</dt>
1132 <dd>Made many changes.
1133 Since it is tested only for my limited use, please be careful to use.
1134 Any comments especially "cannot connect to XXX implementation" are welcomed.
1135 Feel free sending mail to
1136 <a href="mailto:nakahiro@sarion.co.jp" class="path">nakahiro@sarion.co.jp</a>.
1137
1138 <ul>
1139 <li>Added RPC server support.</li>
1140 <li>Divided RPC client/server implementation from core.</li>
1141 <li>Added Date, Hash type support. (Unknown type is converted to Struct as usual)</li>
1142 <li>Adopted Date in date3.rb by Funaba-san instead of Time as TimeInstant.</li>
1143 <li>Many encoding/decoding bugs around SOAPArray and SOAPStruct were fixed.</li>
1144 </ul></dd>
1145
1146 <dt>1.0.2 - November 11, 2000</dt>
1147 <dd>Since the previous package dated, refreshes some points.
1148 <ul>
1149 <li>Ruby: ruby 1.6.x</li>
1150 <li>uri.rb: 4.22</li>
1151 <li>sample: xml-soap/2.0</li>
1152 </ul></dd>
1153
1154 <dt>1.0.1 - July 27, 2000</dt>
1155 <dd>Handles SOAP/1.1 arrays.
1156 1.0.0 cannot handles SOAP/1.1 arrays...
1157 Bare in mind there still be many
1158 <a href="#restrictions">restrictions</a>
1159 around SOAP arrays.</dd>
1160
1161 <dt>1.0.0 - July 17, 2000</dt>
1162 <dd>It is the initial released version of SOAP4R. :-)</dd>
1163 </dl>
1164
1165 <h2 id="author" name="author">10. Author</h2>
1166
1167 <dl>
1168 <dt>Name</dt>
1169 <dd>NAKAMURA, Hiroshi (aka NaHi or nakahiro)</dd>
1170</