Calling webservices


#1

Hey,

I found this on the web.
http://groups.google.be/group/comp.lang.ruby/browse_thread/thread/1e4015385d29fbae/1c75bbd325fffd80?lnk=st&q=ruby+Server+did+not+recognize+the+value+of+HTTP+Header+SOAPAction&rnum=1&hl=nl&utoken=1E3jSjEAAABJvF0LfsU_y2vKQdUqO05-SuWh7Qp4TDjaLpMsabUfgs6vFyhVbm91Ec8wnlUJkMJ1cPkfXpSLv0-5C4lVNC3B

‘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