When moving to ruby version 1.8.3 this error happens when invoking a SOAP web service using parameters.
Stack Trace:
TypeError (can't modify frozen object):
/usr/local/lib/ruby/1.8/xsd/qname.rb:78:in `name='
/usr/local/lib/ruby/1.8/soap/rpc/element.rb:118:in `set_param'
/usr/local/lib/ruby/1.8/soap/rpc/element.rb:116:in `set_param'
/vendor/rails/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb:78:in `encode_request'
/vendor/rails/actionwebservice/lib/action_web_service/scaffolding.rb:79:in `invoke_submit'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
/vendor/rails/actionwebservice/lib/action_web_service/scaffolding.rb:68:in `invoke_submit'
/vendor/rails/actionpack/lib/action_controller/base.rb:832:in `perform_action_without_filters'
/vendor/rails/actionpack/lib/action_controller/filters.rb:295:in `perform_action_without_benchmark'
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
/vendor/rails/actionpack/lib/action_controller/rescue.rb:82:in `perform_action'
/vendor/rails/actionpack/lib/action_controller/base.rb:365:in `process_without_session_management_support'
/vendor/rails/actionpack/lib/action_controller/session_management.rb:116:in `process'
/vendor/rails/railties/lib/dispatcher.rb:36:in `dispatch'
/vendor/rails/railties/lib/webrick_server.rb:117:in `handle_dispatch'
/vendor/rails/railties/lib/webrick_server.rb:83:in `service'
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/local/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/local/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/local/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/local/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/local/lib/ruby/1.8/webrick/server.rb:82:in `start'
/vendor/rails/railties/lib/webrick_server.rb:69:in `dispatch'
script/server:49
I've tried this with both the latest rails and edge rails.
If I move back to ruby 1.8.2 this error no longer appears - however I need some other features from ruby 1.8.3 so I'm a little stuck here.
Is there a workaround for this yet?
Thanks.