From ushapramoth at gmail.com Tue Jun 19 06:11:22 2007 From: ushapramoth at gmail.com (Usha Murali) Date: Tue, 19 Jun 2007 15:41:22 +0530 Subject: [RPS] soap/property.rb:269:in `check_lock': cannot add any key to locked property (TypeError) Message-ID: Dear All, Have anyone come accros this error: /usr/local/lib/ruby/1.8/soap/property.rb:269:in `check_lock': cannot add any key to locked property (TypeError) from /usr/local/lib/ruby/1.8/soap/property.rb:192:in `local_referent' from /usr/local/lib/ruby/1.8/soap/property.rb:230:in `referent' from /usr/local/lib/ruby/1.8/soap/property.rb:106:in `[]' from OrderServiceClient.rb_mon:11 I get this error while executing client code to aces a web service , the code as follows: require '/usr/local/lib/ruby/1.8/soap/rpc/driver' require '/usr/local/lib/ruby/1.8/soap/wsdlDriver' require '/usr/local/lib/ruby/1.8/net/http' wsdl_url = "https://url" user = "test" pass = "testpasswd" obj = SOAP::RPC::Driver.new(wsdl_url) obj.options["protocol.http.set_basic_auth"] << [wsdl_url,user,pass] Thanks, usha -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/therps-discuss/attachments/20070619/46794600/attachment.html