On 2006-04-04 07:12:04 -0700, Erik Hollensbe <erik / hollensbe.org> said: > 3.times do > begin > @soap_wrp = SOAP::Stuff # fill in your driver here > rescue Exception => e > puts e # for debugging > end There should be a 'break if @soap_wrp' right here. > end > > exit(-1) unless @soap_wrp # @soap_wrp is nil, we are not connected > > # rest of code..