Professional Web Applications Themes

[ANN] soap4r/1.5.0 with wsdl4r/0.0.3 - Ruby

Hi, all, soap4r/1.5.0 is out. RAA: [url]http://www.ruby-lang.org/en/raa-list.rhtml?name=soap4r[/url] Release Note: [url]http://rrr.jin.gr.jp/doc/soap4r/RELEASE_en.html[/url] What is SOAP4R? [url]http://rrr.jin.gr.jp/doc/soap4r/RELEASE_en.html#whats[/url] 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 ...

  1. #1

    Default [ANN] soap4r/1.5.0 with wsdl4r/0.0.3

    Hi, all,

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

    What is SOAP4R?
    [url]http://rrr.jin.gr.jp/doc/soap4r/RELEASE_en.html#whats[/url]

    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 pr support.
    * Remove REXML processor version check. No longer needed.
    * Rewrite tests with test/unit.

    * Features;
    * Efforts to support messaging with doent/literal and ASP.NET
    interoperability.
    * Add doent/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([url]http://cvs.m17n.org/~akr/amarshal/[/url]) 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

    NAKAMURA, Hiroshi Guest

  2. #2

    Default [ANN] soap4r/1.5.1 with wsdl4r/0.0.4

    Hi, all,

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

    What is SOAP4R?
    [url]http://rrr.jin.gr.jp/doc/soap4r/RELEASE_en.html#whats[/url]

    # 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.

    puts SOAPMarshal.dump(Person.new("NaHi", 33))
    =>
    <?xml version="1.0" encoding="utf-8" ?>
    <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <env:Body>
    <Person xmlns:n1="http://www.ruby-lang.org/xmlns/ruby/type/custom"
    xsi:type="n1:Person"
    env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <age xsi:type="xsd:int">33</age>
    <name xsi:type="xsd:string">NaHi</name>
    </Person>
    </env:Body>
    </env:Envelope>

    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

    NAKAMURA, Hiroshi Guest

  3. #3

    Default [ANN] soap4r/1.5.2

    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 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

    * 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#mandatorycht= and
    SOAP::WSDLDriver#mandatorycht= interface to force using
    cht when parsing response from buggy server such as AWS.

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

    * Added a interface XSD::Cht.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 p 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::Cht.init: use cp932 under emx.
    Patched by Siena. / SHINAGAWA, Norihide.

    Thanks to all of soap4r users for their support.

    Regards,
    // NaHi

    NAKAMURA, Guest

Similar Threads

  1. Replies: 4
    Last Post: November 24th, 02:08 PM
  2. AW: A newbie query about Soap4R and dot net web services
    By SchmittR@t-systems.com in forum Ruby
    Replies: 0
    Last Post: November 18th, 03:07 PM
  3. SOAP4r sequences and authentication
    By Martin Stannard in forum Ruby
    Replies: 1
    Last Post: November 11th, 02:16 AM
  4. SOAP4R throws exception on copyright character
    By Brian Marick in forum Ruby
    Replies: 2
    Last Post: November 9th, 10:23 PM
  5. How good is SOAP4R?
    By Oliver T. Nelson in forum Ruby
    Replies: 0
    Last Post: November 9th, 04:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139