Forum: Ruby on Rails Calling webservices

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
334ae822566107a2ea2b7a7cb88bd1d6?d=identicon&s=25 Brutyn Nick (Guest)
on 2006-01-24 14:41
(Received via mailing list)
Hey,

I found this on the web.
http://groups.google.be/group/comp.lang.ruby/brows...

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

and i used the service.rb and servicemodule.rb
i have a method
AddTerminal(pass,serialno)
{
    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
debian?
what am i doing wrong ? Methods=[[AddTerminal, 'pass','serialno']] , or
must
this variable and not text???

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