Forum: Ruby on Rails Calling webservices

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Brutyn N. (Guest)
on 2006-01-24 15:41
(Received via mailing list)

I found this on the web.

'A newbie query about Soap4R and dot net web services'

and i used the service.rb and servicemodule.rb
i have a method
    if( pass != "test" )
        return "invalid pass.";
    return "ok."

i did then in servicemodulde.rb
Methods=[[AddTerminal, 'pass','serialno']]

in controller
@result = service.AddTerminal("test","SN001")
and i always get "invalid pass." as result, shouldnt it be "ok." ??

Can u help me? Now i am working on win32, but will it alos work on
what am i doing wrong ? Methods=[[AddTerminal, 'pass','serialno']] , or
this variable and not text???

Thanks in advance
This topic is locked and can not be replied to.