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

root/tags/RELEASE_1_4_4/RELEASE_en.html

Revision 482, 37.0 kB (checked in by nahi, 7 years ago)

document for 1.4.4

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