[ANN] soap4r/1.5.0 with wsdl4r/0.0.3

N

NAKAMURA, Hiroshi

Hi, all,

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

What is SOAP4R?
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;
* Add net/http support. Users can try sample SOAP clients without
installing http-access2. For actual usage, consider installing
http-access2 for speed and thread-safe SOAP client.
CAUTION: Building SOAP CGI server needs http-access2 to be installed.
* Soap4r standalone server requires webrick module to be installed
instead of GServer.rb and httpserver.rb.
* Supports iconv. To use utf-8, you need to install iconv(included
in ruby/1.8) or uconv.
* Suspend NQXML XML parser support.
* Remove REXML processor version check. No longer needed.
* Rewrite tests with test/unit.

* Features;
* Efforts to support messaging with document/literal and ASP.NET
interoperability.
* Add document/literal messaging interface to wsdlDriver.rb. See a
very brief example in sample/soapbox/wsdlDriver.rb though I still
didn't try to login to Jabber server.. Jabber folks?
* XML pretty printing.
* Better Ruby object mapping. Rewrote RubytypeFactory to support
more Ruby objects. Tests in
AMarshal(http://cvs.m17n.org/~akr/amarshal/) much helped it.
Thanks very much to Tanaka Akira-san.
* SOAPMarshal accepts IO as an output device like Marshal#dump.
* SOAPElement: constructor signature change. Added extraattrs
attribute.
* XSDDateTimeImpl: to_time did not set usec.
* StreamHandler: add reset method to shutdown a connection to a site.

* Others;
* Simplify installer and remove uninstaller. Saving inventory file
in src dir could be the problem.
* Class/Module architecture relocation.
* Changing coding convention to fit with Ruby's. Added
lib/soap/compat.rb which defines compatibility definitions for
1.4.8. lib/soap/compat.rb warns when the library is loaded.
* Many warnings raised under 1.8, caused by illegal references like
XSD::XSDInt in typeMap.rb. Soap4r defined toplevel::XSDInt.
Define XSD* classes in XSD module and introduce it to toplevel.

Thanks to all of soap4r users for their support.

Regards,
// NaHi
 
N

NAKAMURA, Hiroshi

Hi, all,

RAA: http://raa.ruby-lang.org/list.rhtml?name=soap4r
Release Note: 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/

Important 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

* Changed license from GPL2 to Ruby's.

* Features

* Add SOAP Messages with Attachments (SwA) support.
Patched by Jamie Herre.
"SOAP Messages with Attachments" is the W3C Note which defines a
binding for a SOAP 1.1 message to be carried within a MIME
multipart/related message. http://www.w3.org/TR/SOAP-attachments
This feature is still experimental. Interop testing is going on.

* HTTPS support even when you use net/http (not http-access2).
Patched by Oliver M. Bolzer.

* Property file support. SOAP and WSDL client reads "soap/property"
file located at somewhere in $: (ruby libray locations). For
example, save these lines to
"$rubylibdir/site_ruby/1.8/soap/property".

client.protocol.http.proxy = http://myproxy:8080
client.protocol.http.no_proxy = 192.168.71.71,192.168.71.72

Then all HTTP connections should use these proxy and no_proxy
definition.

* Do not trust "HTTP_PROXY" environment variable by default to
avoid security problem. cf.

http://ftp.ics.uci.edu/pub/websoft/libwww-perl/archive/2001h1/0072.html
http://ftp.ics.uci.edu/pub/websoft/libwww-perl/archive/2001h1/0241.html
http://curl.haxx.se/mail/archive-2001-12/0034.html

To use HTTP_PROXY and NO_PROXY environment variable, you must set
SOAP_USE_PROXY environment variable 'on', too.

bash$ soap_use_proxy=on http_proxy=http://myproxy:8080 ruby ...
csh$ env soap_use_proxy=on http_proxy=http://myproxy:8080 ruby ...

* Add SOAP::RPC::Driver#mandatorycharset= and
SOAP::WSDLDriver#mandatorycharset= interface to force using
charset when parsing response from buggy server such as AWS.

* Support a halfway-typed multi-ref array that Axis dumps.

* Added a interface XSD::Charset.encoding= to control internal
encoding scheme. Internal encoding scheme was fixed to 'utf-8'
when iconv or uconv was installed. You can set 'euc-jp', etc.
to avoid encoding scheme conversion if you know what encoding
scheme the server uses.

* Bug fixes

* SOAP::Marshal.unmarshal: raise an exception if parse fails.
(returned nil)

* SOAP::WSDLDriver: decode unknown element according to self-defined
type even if WSDL was given.

* SOAP::Mapping::Factory#create_empty_object: fix Class#allocate
emulation code for ruby/1.6. no effective change under ruby/1.8.

* SOAP::RPC::SOAPMethodResponse: element name of response message
could have the name other than 'return'.

* SOAP::RPC::StandaloneServer: add methods 'shutdown' and 'status'
as delegates to WEBrick.

* WSDL::SOAP::ClassDefCreator: WSDL/1.1 allows plural fault
definition in a operation.

* XSD::Charset.init: use cp932 under emx.
Patched by Siena. / SHINAGAWA, Norihide.

Thanks to all of soap4r users for their support.

Regards,
// NaHi
 
N

NAKAMURA, Hiroshi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, all,

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

RAA: http://raa.ruby-lang.org/list.rhtml?name=soap4r
Release Note: 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:
http://dev.ctor.org/soap4r/wiki/Changes-154

* Changes in 1.5.3 from 1.5.2:
http://dev.ctor.org/soap4r/wiki/Changes-ruby181_ruby182

Regards,
// NaHi
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)

iD8DBQFCkFdkf6b33ts2dPkRAgdjAJ42yce9O70TqY69q0lppf18RZl1LgCfa/CS
YMEcFeUXi5vqyBUDoOpZMiA=
=c213
-----END PGP SIGNATURE-----
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top