Ruby on Rails Monday, January 21, 2013



On Monday, 21 January 2013 00:48:41 UTC-5, Ruby-Forum.com User wrote:

Guys i m new to Ruby on rails ,
Task - i m trying to consume a webservice in ruby on rails and this web
service is made in asp.net .

my controller code is through which i m trying to consume webservice is
-

class WebserviceController < ApplicationController

    def getMsg

    hello_client = ActionWebService::Client::Soap.new(HelloWorld,
"http://localhost:50739/WebService/RubyConsumeIt.asmx/HelloWorld")


ActionWebService was dropped from Rails back in Rails 2 (about 5 years ago). There are some forks still active:

https://github.com/datanoise/actionwebservice

but it's mostly unmaintained. You may want another, more active, SOAP library:

https://www.ruby-toolbox.com/categories/soap

You'll also definitely want to find better documentation, as whatever steered you towards ActionWebService is *wildly* out-of-date.

--Matt Jones 

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/JDb9FdoqlegJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment