---------- Forwarded message ----------
From: Charlie Bowman
<charlesmbowman-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Date: Oct 25, 2006 11:44 AM
Subject: catching soap::emptyResponseErrors
To: ruby-talk-ctl-X+L+6nJQZ58h9ZMKESR00Q@public.gmane.org
My SOAP client appears to be working fine, but the soap server I''m
connecting too seems flaky. How can I trap any errors and re-run the call
to the service? Here''s what I''m doing. I get the error about
1 in 10
calls.
filterCriteriaArray = Array.new
filterCriteriaArray << ''ListName=my_list''
members = obj.selectMembers(filterCriteriaArray)
members.each do |member|
puts "#{member.fullName}"
#methods = member.methods - obj.class.ancestors.methods
end
the error:
/usr/lib/ruby/1.8/soap/rpc/proxy.rb:145:in `call'':
SOAP::EmptyResponseError
(SOAP::EmptyResponseError)
from /usr/lib/ruby/1.8/soap/rpc/driver.rb:179:in `call''
from (eval):6:in `selectMembers''
from lmapiClient.rb:324
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---