Forum: Ruby on Rails How to call C# 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.
Brutyn nick (Guest)
on 2006-01-23 19:39
(Received via mailing list)
hey,

i have created some webservices in C# with vb.net and IIS.
i can go to them with
http://localhost/Twodecode.Webservices/webservices.asmx

Like:
[Webservice]
AddCity(string zip, string city)
{
  ...do some stuff
  return "SUCCES";
}


How must i call this from ruby??
I save an object, and then call the services.

city = City.new()
if city.save
   //call webservice
else
   //do something
end

Thanks
Nick
Jules J. (Guest)
on 2006-01-23 20:10
I have no experience with SOAP, but this might be of your interest:
http://www.ruby-doc.org/stdlib/

Jules
This topic is locked and can not be replied to.