From: Theresa Shen Date: 2005-08-31T05:02:20+09:00 Subject: ------=_Part_7312_17865785.1125432125186 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline As I am calling a web service, I got error message complaining the .each=20 method in following code, please help... wsdl =3D "http://localhost:81/services/meterServiceGlue.wsdl"=20 serv =3D SOAP::WSDLDriverFactory.new(wsdl).createDriver serv.generate_explicit_type =3D true @meters =3D Array.new results =3D serv.loadMeters() i=3D0 results.each { |result| meters[i] =3D Meter.new(result.openTime,result.closeTime) meters[i].closeRead =3D result.closeRead i=3Di+1 } Error Message: undefined method `each' for=20 # ------=_Part_7312_17865785.1125432125186--