# \[ANN\] SOAP4R/1.4.7 with WSDL4R/0.0.1

**URL:** <https://rubytalk.org/t/ann-soap4r-1-4-7-with-wsdl4r-0-0-1/1868>\
**Category:** ruby-talk\
**Created:** [20 September 2002 00:43 UTC](https://rubytalk.org/t/ann-soap4r-1-4-7-with-wsdl4r-0-0-1/1868 "2002-09-20T00:43:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![NAKAMURA\_Hiroshi1](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@NAKAMURA\_Hiroshi1](https://rubytalk.org/u/NAKAMURA_Hiroshi1)\
**Post date:** [20 September 2002 00:43 UTC](https://rubytalk.org/t/ann-soap4r-1-4-7-with-wsdl4r-0-0-1/1868/1 "2002-09-20T00:43:27Z")

</div>

Hi, all,

SOAP4R/1.4.7 with WSDL4R/0.0.1 is out.  
[http://www.ruby-lang.org/en/raa-list.rhtml?name=SOAP4R](http://www.ruby-lang.org/en/raa-list.rhtml?name=SOAP4R)

From Release note.

This version has these enhancements and bug fixes;

- Includes WSDL4R initial release.
  - Bare in mind this is an alpha level code. I wrote it  
halfway at half and a year ago, and wrote the rest part  
in half and a day. No comprehensive test, no strict  
syntax check, unfriendly error message, etc. Try it if  
you want, and find bugs in it.
  - WSDL4R can run under XMLParser for now. You might be  
able to let it run under NQXML/REXML if you know SAX  
programming well. How XML processor is used under WSDL4R  
is as same as under SOAP4R.

- Added xsd:short support.
- ::Float(double precision float in Ruby) is mapped to  
xsd:double now. It was mapped to xsd:float.
- Fixed a bug of year \< 0 handling. B.C. 1 =\> -0001 in  
XMLSchema.
- Fixed a bug of exception serialization. Custam  
mappingRegistry was not used.
- Fixed a bug of regex for MediaType parsing.

CAUTION: This version requires [RAA:date2] version 3.2 or  
later and [RAA:http-access2] version G. http-access2/G is  
released in this week. Please make sure the versions you use.

I wrote a little “how to” thing for WSDL4R at  
[http://www.jin.gr.jp/~nahi/Ruby/SOAP4R/wiki.cgi?cmd=view;name=How+to+use](http://www.jin.gr.jp/~nahi/Ruby/SOAP4R/wiki.cgi?cmd=view;name=How+to+use)  
+WSDL4R

Regards,  
// NaHi

---

<div class="post-metadata">

**Author:** ![NAKAMURA\_Hiroshi2](https://avatars.discourse-cdn.com/v4/letter/n/3ab097/32.png) [@NAKAMURA\_Hiroshi2](https://rubytalk.org/u/NAKAMURA_Hiroshi2)\
**Post date:** [17 January 2003 18:10 UTC](https://rubytalk.org/t/ann-soap4r-1-4-7-with-wsdl4r-0-0-1/1868/2 "2003-01-17T18:10:13Z")

</div>

Hi all,

SOAP4R/1.4.8 with WSDL4R/0.0.2 is out.  
[http://www.ruby-lang.org/en/raa-list.rhtml?name=soap4r](http://www.ruby-lang.org/en/raa-list.rhtml?name=soap4r)

From Release note.

This version has these enhancements and bug fixes;

- Avoid warnings;

- Add wsdlDriver which reads WSDL file and allow client to  
call procedures. Here is an example to search Google.

- WSDLDriver client examples of AmazonWebServices, RAA and  
RNN (Japanese Ruby blog site) are also included in sample/ dir.

- Support xmlscan XML processor.

- Changed XML processor detection scheme. Search xmlscan, REXML,  
XMLParser and NQXML in this order.

- Rewrite charset handling of XML processor.

- cgistub.rb: Overridable response mediatype. There exists a  
http client which does not accept the mediatype text/xml which  
is specified in SOAP spec. For example, an i-Mode (smart phone)  
client does not accept it… You can set response mediatype to  
’text/plain’ for such client though it violates SOAP spec…

- wsdl2ruby: Add --force option to override existing file.

- Fixed many bugs.

Enjoy. 😃

Regards,  
// NaHi

---

<div class="post-metadata">

**Author:** ![NAKAMURA\_Hiroshi2](https://avatars.discourse-cdn.com/v4/letter/n/3ab097/32.png) [@NAKAMURA\_Hiroshi2](https://rubytalk.org/u/NAKAMURA_Hiroshi2)\
**Post date:** [18 January 2003 03:45 UTC](https://rubytalk.org/t/ann-soap4r-1-4-7-with-wsdl4r-0-0-1/1868/3 "2003-01-18T03:45:09Z")

</div>

Hi all,

Sorry for bothering you again.

I’ve just posted SOAP4R/1.4.8.1 on RAA. It’s a small bug  
fix version about WSDL.

There is wrong operation name handling of some type of WSDL.  
This fix does not affects GoogleAPI’s WSDL, and  
Ruby/Google 0.5.0 as well.

[http://www.ruby-lang.org/en/raa-list.rhtml?name=soap4r](http://www.ruby-lang.org/en/raa-list.rhtml?name=soap4r)

Regards,  
// NaHi

---

<div class="post-metadata">

**Author:** ![NAKAMURA\_Hiroshi4](https://avatars.discourse-cdn.com/v4/letter/n/3ab097/32.png) [@NAKAMURA\_Hiroshi4](https://rubytalk.org/u/NAKAMURA_Hiroshi4)\
**Post date:** [13 September 2003 14:51 UTC](https://rubytalk.org/t/ann-soap4r-1-4-7-with-wsdl4r-0-0-1/1868/4 "2003-09-13T14:51:55Z")

</div>

Hi, all,

soap4r/1.5.0 is out.  
RAA: [http://www.ruby-lang.org/en/raa-list.rhtml?name=soap4r](http://www.ruby-lang.org/en/raa-list.rhtml?name=soap4r)  
Release Note: [http://rrr.jin.gr.jp/doc/soap4r/RELEASE\_en.html](http://rrr.jin.gr.jp/doc/soap4r/RELEASE_en.html)

What is SOAP4R?  
[http://rrr.jin.gr.jp/doc/soap4r/RELEASE\_en.html#whats](http://rrr.jin.gr.jp/doc/soap4r/RELEASE_en.html#whats)

Changes

Thousands of lines are changed in this release (\*.rb in current  
SOAP4R distribution has 30kloc or over). But the biggest change  
is coding convention, camelCase to non\_camel\_case. Though I tried  
to keep compatibility between 1.5.0 and 1.4.8, but there’s no way  
to keep it at a few point. If you’ll find your code which was  
developed for 1.4.8 does not run under 1.5.0, feel free to ask me  
to solve the problem.

- Dependency libraries;

- Features;

- Others;

Thanks to all of soap4r users for their support.

Regards,  
// NaHi

---

<div class="post-metadata">

**Author:** ![NAKAMURA\_Hiroshi4](https://avatars.discourse-cdn.com/v4/letter/n/3ab097/32.png) [@NAKAMURA\_Hiroshi4](https://rubytalk.org/u/NAKAMURA_Hiroshi4)\
**Post date:** [2 November 2003 16:08 UTC](https://rubytalk.org/t/ann-soap4r-1-4-7-with-wsdl4r-0-0-1/1868/5 "2003-11-02T16:08:32Z")

</div>

Hi, all,

Soap4r/1.5.1 is out.  
RAA: [http://www.ruby-lang.org/en/raa-list.rhtml?name=soap4r](http://www.ruby-lang.org/en/raa-list.rhtml?name=soap4r)  
Release Note: [http://rrr.jin.gr.jp/doc/soap4r/RELEASE\_en.html](http://rrr.jin.gr.jp/doc/soap4r/RELEASE_en.html)

What is SOAP4R?  
[http://rrr.jin.gr.jp/doc/soap4r/RELEASE\_en.html#whats](http://rrr.jin.gr.jp/doc/soap4r/RELEASE_en.html#whats)

# I read ruby-talk ML so I might missed some articles posted to

# comp.lang.ruby… Send me directly if you have some trouble

# with soap4r.

Changes

Important news: Soap4r library is included in ruby distribution after  
ruby/1.8.1. You might not be need to install this package under  
ruby/1.8. The files this package includes and are not included in  
ruby/1.8 distribution are an application program (bin/wsdl2ruby) and  
some test codes. Consider to get this package if,

- You need the WSDL to ruby (reads a WSDL file and generates stubs  
and Ruby class definitions) application, or
- You want to use soap4r under ruby/1.6.

Features;

- Sample updates; Update Amazon Web Service WSDL (v2 -\> v3), and update  
RAA WSDL(0.0.1 -\> 0.0.2).

- Supports ivars of basetype and extending modules marshalling with XML  
attribute. Using XML attribute to support ruby object dependent  
information, marshalled object keeps compatibility with SOAP spec.  
It shows the power of XML, extensibility.  
Now I think SOAP marshaller supports all kind of object graph which  
is supported by Ruby’s original marshaller.

- Better XML pretty printing.

Installation;

- The previous version soap4r/1.5.0 required http-access2 to be  
installed to build CGI server, but no longer needed fot this  
purpose now. You can use almost all features of soap4r without  
http-access2, but for actual usage, consider installing  
http-access2 for speed and thread-safe SOAP client.
- Under ruby/1.8, installer installs lib files to rubylibdir  
(e.g. /usr/local/lib/ruby/1.8) instead of sitelibdir  
(e.g. /usr/local/lib/ruby/site\_ruby/1.8)

Bug fixes;

- Do not introduce XSD constants to toplevel.
- ‘NO\_PROXY’/‘no\_proxy’ env var was not supported under net/http. Fixed.
- Remove some ruby/1.8 dependent codes. Should work fine under 1.6, too.
- XSD::XSDString did not check its value space under $KCODE = 'NONE’  
env for example where iconv module is not installed.
- 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.

Thanks to all of soap4r users for their support.

Regards,  
// NaHi

---

<div class="post-metadata">

**Author:** ![NAKAMURA\_Hiroshi4](https://avatars.discourse-cdn.com/v4/letter/n/3ab097/32.png) [@NAKAMURA\_Hiroshi4](https://rubytalk.org/u/NAKAMURA_Hiroshi4)\
**Post date:** [25 December 2003 10:48 UTC](https://rubytalk.org/t/ann-soap4r-1-4-7-with-wsdl4r-0-0-1/1868/6 "2003-12-25T10:48:44Z")

</div>

Hi, all,

RAA: [http://raa.ruby-lang.org/list.rhtml?name=soap4r](http://raa.ruby-lang.org/list.rhtml?name=soap4r)  
Release Note: [http://rrr.jin.gr.jp/doc/soap4r/RELEASE\_en.html](http://rrr.jin.gr.jp/doc/soap4r/RELEASE_en.html)

‘SOAP4R’ is an implementation of  
Simple Object Access Protocol (SOAP) 1.1 (W3C Note).  
[http://www.w3.org/TR/SOAP/](http://www.w3.org/TR/SOAP/)

Important news: Soap4r library is included in ruby distribution  
after ruby/1.8.1. You might not be need to install this package  
under ruby/1.8. The files this package includes and are not included  
in ruby/1.8 distribution are; some experimental code, application  
program (bin/wsdl2ruby) and some test codes. Consider to get this  
package if,

- You want to use soap4r under ruby/1.6
- You need to do SOAP Messages with Attachments (SwA)
- You need the WSDL to ruby (reads a WSDL file and generates stubs  
and Ruby class definitions) application

Changes from 1.5.1.

- License

- Features

- Bug fixes

Thanks to all of soap4r users for their support.

Regards,  
// NaHi

---

<div class="post-metadata">

**Author:** ![NAKAMURA\_Hiroshi4](https://avatars.discourse-cdn.com/v4/letter/n/3ab097/32.png) [@NAKAMURA\_Hiroshi4](https://rubytalk.org/u/NAKAMURA_Hiroshi4)\
**Post date:** [22 May 2005 09:57 UTC](https://rubytalk.org/t/ann-soap4r-1-4-7-with-wsdl4r-0-0-1/1868/7 "2005-05-22T09:57:26Z")

</div>

Hi, all,

'SOAP4R' is an implementation of  
Simple Object Access Protocol (SOAP) 1.1 (W3C Note).  
[http://www.w3.org/TR/SOAP/](http://www.w3.org/TR/SOAP/)

RAA: [http://raa.ruby-lang.org/list.rhtml?name=soap4r](http://raa.ruby-lang.org/list.rhtml?name=soap4r)  
Release Note: [http://dev.ctor.org/doc/soap4r/RELEASE\_en.html](http://dev.ctor.org/doc/soap4r/RELEASE_en.html)

After 1 and a half year developing from soap4r/1.5.2, soap4r/1.5.4 is  
out. Version 1.5.3 is the module which is included in ruby-1.8.2, and  
not released independently.

Most significant feature of 1.5.4 is WSDL support. Document/literal  
service support for .NET interoperability. Improved XML Schema support  
such as extension, restriction, simpleType, complexType + simpleContent,  
ref, length, import, include. And many bugs were fixed.

\* Changes in 1.5.4 from 1.5.3:  
&nbsp;&nbsp;&nbsp;&nbsp;[http://dev.ctor.org/soap4r/wiki/Changes-154](http://dev.ctor.org/soap4r/wiki/Changes-154)

\* Changes in 1.5.3 from 1.5.2:  
&nbsp;&nbsp;&nbsp;&nbsp;[http://dev.ctor.org/soap4r/wiki/Changes-ruby181\_ruby182](http://dev.ctor.org/soap4r/wiki/Changes-ruby181_ruby182)

Regards,  
// NaHi
