Forum: Ruby soap5r: attempting to use SOAP::RPC::Driver.new()

914e1bf12c5208b65cb0714fbfbc1c14?d=identicon&s=25 pt pt (mnemotronic)
on 2013-08-26 23:00
Trying my hand at Ruby.


Sanitized source:
------------  cut here  ------------
require 'soap/rpc/driver'

# I assume the following URL works... browsing to it returns:
#     You must use a POST request to get answer from gsoap !
#     see WebWare gsoap ISAPI module documentation.

endpoint = 'http://*SERVER*/gsoap/gsoap_ssl.dll?sbmappservices72'
namespace = 'I have no idea what a namespace is for...'
proxy = SOAP::RPC::Driver.new(endpoint)

------------  cut here  ------------
Output:
C:\temp\RM7021-VMx\VM2>ruby learning_Ruby_2.rb
DL is deprecated, please use Fiddle
C:/PROGRA~2/Ruby200/lib/ruby/gems/2.0.0/gems/soap5r-2.0.3/lib/soap/streamHandler.rb:146:in
`initialize': uninitialized constant SOAP::HTTPStreamHandler::Version
(NameError)
        from
C:/PROGRA~2/Ruby200/lib/ruby/gems/2.0.0/gems/soap5r-2.0.3/lib/soap/streamHandler.rb:141:in
`new'
        from
C:/PROGRA~2/Ruby200/lib/ruby/gems/2.0.0/gems/soap5r-2.0.3/lib/soap/streamHandler.rb:141:in
`create'
        from
C:/PROGRA~2/Ruby200/lib/ruby/gems/2.0.0/gems/soap5r-2.0.3/lib/soap/rpc/proxy.rb:220:in
`initialize_streamhandler'
        from
C:/PROGRA~2/Ruby200/lib/ruby/gems/2.0.0/gems/soap5r-2.0.3/lib/soap/rpc/proxy.rb:52:in
`initialize'
        from
C:/PROGRA~2/Ruby200/lib/ruby/gems/2.0.0/gems/soap5r-2.0.3/lib/soap/rpc/driver.rb:87:in
`new'
        from
C:/PROGRA~2/Ruby200/lib/ruby/gems/2.0.0/gems/soap5r-2.0.3/lib/soap/rpc/driver.rb:87:in
`initialize'
        from learning_Ruby_2.rb:13:in `new'
        from learning_Ruby_2.rb:13:in `<main>'



Ruby:
ruby 2.0.0p195 (2013-05-14) [i386-mingw32]

I've installed DevKit "DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe"
and followed (as closely as possible)
"https://gist.github.com/remomueller/5027829".  I updated the existing
gems and installed soap5r

*** LOCAL GEMS ***

bigdecimal (1.2.1, 1.2.0)
httpclient (2.3.4.1, 2.1.5.2)
io-console (0.4.2)
json (1.8.0, 1.7.7)
minitest (5.0.6, 4.3.2)
psych (2.0.0)
rake (10.1.0, 0.9.6)
rdoc (4.0.1, 4.0.0)
soap5r (2.0.3)
test-unit (2.5.5, 2.0.0.0)
Aa082c8b00a50928e5860dcd70bf2368?d=identicon&s=25 tamouse m. (tamouse_m)
on 2013-08-26 23:13
(Received via mailing list)
Are you determined to use soap5r? I've had nothing but success (except
my own errors) with Savon. That said, I really don't know what's going
on here.
1ded6bcc418caa9384eea49541fb7709?d=identicon&s=25 Kamal Ahmed (kamal2222ahmed)
on 2013-08-27 02:05
(Received via mailing list)
How can i UN-subscribe from this list ?
29729a0548f6b4ffc78692cc52d34ba2?d=identicon&s=25 Rizwan Ali (Guest)
on 2013-08-27 02:43
(Received via mailing list)
Please unsubscribe me from this list. Thanks.

Sent from Rizwan's
 iPhone
1ded6bcc418caa9384eea49541fb7709?d=identicon&s=25 Kamal Ahmed (kamal2222ahmed)
on 2013-08-27 03:23
(Received via mailing list)
Please unsubscribe me from this list. Thanks.
-Kamal.





>
>>
>>>
>>>> # I assume the following URL works... browsing to it returns:
>>>> #   You must use a POST request to get answer from gsoap !
>>>> #   see WebWare gsoap ISAPI module documentation.
>>>>
>>>> endpoint = 'http://*SERVER*/gsoap/gsoap_ssl.dll?sbmappservices72'
>>>> namespace = 'I have no idea what a namespace is
 for...'
>>>>
C:/PROGRA~2/Ruby200/lib/ruby/gems/2.0.0/gems/soap5r-2.0.3/lib/soap/streamHandler.rb:141:in
>>>> `new'
>>>>    from
>>>>
C:/PROGRA~2/Ruby200/lib/ruby/gems/2.0.0/gems/soap5r-2.0.3/lib/soap/streamHandler.rb:141:in
>>>> `create'
>>>>    from
>>>>
C:/PROGRA~2/Ruby200/lib/ruby/gems/2.0.0/gems/soap5r-2.0.3/lib/soap/rpc/proxy.rb:220:in
>>>> `initialize_streamhandler'
>>>>    from
>>>>
 C:/PROGRA~2/Ruby200/lib/ruby/gems/2.0.0/gems/soap5r-2.0.3/lib/soap/rpc/proxy.rb:52:in
>>>>
>>>>
>>>> Ruby:
>>>> ruby 2.0.0p195 (2013-05-14) [i386-mingw32]
>>>>
>>>> I've installed DevKit "DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe"
>>>> and followed (as closely as possible)
>>>> "https://gist.github.com/remomueller/5027829". I updated the existing
>>>> gems and
 installed soap5r
9b5a274a2443118a044d66b8ab626990?d=identicon&s=25 Joseph Chen (Guest)
on 2013-08-27 04:05
(Received via mailing list)
Please unsubscribe me from the list. Thanks.

-Joseph

From: ruby-talk [mailto:ruby-talk-bounces@ruby-lang.org] On Behalf Of
Kamal Ahmed
Sent: Tuesday, August 27, 2013 9:23 AM
To: Rizwan Ali; Ruby users
Subject: unsubscribe

Please unsubscribe me from this list. Thanks.
-Kamal.

________________________________
From: Rizwan Ali <armeen22@yahoo.com<mailto:armeen22@yahoo.com>>
To: Kamal Ahmed
<kamal2222ahmed@yahoo.com<mailto:kamal2222ahmed@yahoo.com>>; Ruby users
<ruby-talk@ruby-lang.org<mailto:ruby-talk@ruby-lang.org>>
Cc: Ruby users <ruby-talk@ruby-lang.org<mailto:ruby-talk@ruby-lang.org>>
Sent: Monday, August 26, 2013 8:43 PM
Subject: Re: soap5r: attempting to use SOAP::RPC::Driver.new()

Please unsubscribe me from this list. Thanks.

Sent from Rizwan's
 iPhone

On Aug 26, 2013, at 5:04 PM, Kamal Ahmed
<kamal2222ahmed@yahoo.com<mailto:kamal2222ahmed@yahoo.com>> wrote:
How can i UN-subscribe from this list ?


________________________________
From: Tamara Temple
<tamouse.lists@gmail.com<mailto:tamouse.lists@gmail.com>>
To: ruby-talk@ruby-lang.org<mailto:ruby-talk@ruby-lang.org>
Sent: Monday, August 26, 2013 5:13 PM
Subject: Re: soap5r: attempting to use SOAP::RPC::Driver.new()

Are you determined to use soap5r? I've had nothing but success (except
my own errors) with Savon. That said, I really don't know what's going
on here.
27439cdae198fb6146cf7dba6e25517b?d=identicon&s=25 Ted Plummer (Guest)
on 2013-08-27 14:08
(Received via mailing list)
Please unsubscribe me as well.
87c4001f43f7659be0e6b3197ad20296?d=identicon&s=25 Peng H. (peng_h)
on 2013-08-27 16:28
(Received via mailing list)
Please unsubscribe me.
914e1bf12c5208b65cb0714fbfbc1c14?d=identicon&s=25 pt pt (mnemotronic)
on 2013-08-27 17:01
tamouse m. wrote in post #1119630:
> Are you determined to use soap5r? I've had nothing but success (except
> my own errors) with Savon. That said, I really don't know what's going
> on here.

Thx for the tip.  I will check into Savon.  I'm a complete Ruby newbie
(roobnewb ?) so I have no commitments to any library or even to Ruby the
language which, from what I've seen so far, is Definitely Not Ready for
Prime Time.

Unrelated topic .... Did my OP do/say something worng?  It sure prompted
a boatload of "unsubscribe" requests.
3853dd5371ac1e094fc45d6c2aa0e459?d=identicon&s=25 Carlo E. Prelz (Guest)
on 2013-08-27 17:19
(Received via mailing list)
Subject: Re: soap5r: attempting to use SOAP::RPC::Driver.new()
  Date: mar 27 ago 13 05:01:20 +0200

Quoting pt pt (lists@ruby-forum.com):

> I have no commitments to any library or even to Ruby the
> language which, from what I've seen so far, is Definitely Not Ready for
> Prime Time.

According to my eight-year experience, Ruby the language has been
perfectly suitable for large complex projects since ages. Individual
libraries may be unripe, though.

Carlo
6cdf65301b641fe5eb22776a06be1ca8?d=identicon&s=25 "Frédéric Desobry" <fdesobry@gmail.com> (Guest)
on 2013-08-27 21:16
(Received via mailing list)
Please unsubscribe.
394f372e936f867e4e43bfd1315a0a4e?d=identicon&s=25 Masafumi Yokoyama (Guest)
on 2013-08-28 03:30
(Received via mailing list)
Hi,

Please try to unsubscribe via the following link.
http://lists.ruby-lang.org/cgi-bin/mailman/listinf...


2013/8/28 Frdric Desobry <fdesobry@gmail.com>:
Aa082c8b00a50928e5860dcd70bf2368?d=identicon&s=25 tamouse m. (tamouse_m)
on 2013-08-29 18:43
(Received via mailing list)
On Aug 27, 2013, at 10:01 AM, pt pt <lists@ruby-forum.com> wrote:

> tamouse m. wrote in post #1119630:
>> Are you determined to use soap5r? I've had nothing but success (except
>> my own errors) with Savon. That said, I really don't know what's going
>> on here.
>
> Thx for the tip.  I will check into Savon.  I'm a complete Ruby newbie
> (roobnewb ?) so I have no commitments to any library or even to Ruby the
> language which, from what I've seen so far, is Definitely Not Ready for
> Prime Time.

If you can judge a language based on the scope of one library of
indeterminate origin, then no language could be considered ready for
prime time.

> Unrelated topic .... Did my OP do/say something worng?  It sure prompted
> a boatload of "unsubscribe" requests.


No, these seem somewhat common from time to time. People can't remember
how they subscribed, and just assume someone else can take care of
things for them.
914e1bf12c5208b65cb0714fbfbc1c14?d=identicon&s=25 pt pt (mnemotronic)
on 2013-09-07 08:49
tamouse m. wrote in post #1119960:
> On Aug 27, 2013, at 10:01 AM, pt pt <lists@ruby-forum.com> wrote:
>
>> tamouse m. wrote in post #1119630:
>>> Are you determined to use soap5r? I've had nothing but success (except
>>> my own errors) with Savon. That said, I really don't know what's going
>>> on here.
>>
>> Thx for the tip.  I will check into Savon.  I'm a complete Ruby newbie
>> (roobnewb ?) so I have no commitments to any library or even to Ruby the
>> language which, from what I've seen so far, is Definitely Not Ready for
>> Prime Time.

Savon has been working so far.  If I get the time I'll loop back to
soap5r and see if I can figure out the problem.

>
> If you can judge a language based on the scope of one library of
> indeterminate origin, then no language could be considered ready for
> prime time.

That right there is the crux of the biscuit, exacerbated by my own
unreasonable expectations which, of course, is my problem.

>
>> Unrelated topic .... Did my OP do/say something worng?  It sure prompted
>> a boatload of "unsubscribe" requests.
>
>
> No, these seem somewhat common from time to time. People can't remember
> how they subscribed, and just assume someone else can take care of
> things for them.


I'm just the spiritual chauffeur and karmic pack mule.
Aa082c8b00a50928e5860dcd70bf2368?d=identicon&s=25 tamouse m. (tamouse_m)
on 2013-09-07 18:06
(Received via mailing list)
On Sep 7, 2013, at 1:49 AM, pt pt <lists@ruby-forum.com> wrote:
>
> That right there is the crux of the biscuit, exacerbated by my own
> unreasonable expectations which, of course, is my problem.

Oh, no  the crux of the biscuit is *ever* the apostrophe.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.