lib/savon/message.rb in savon-2.0.0 vs lib/savon/message.rb in savon-2.0.1
- old
+ new
@@ -17,10 +17,11 @@
def to_s
return @message.to_s unless @message.kind_of? Hash
if @element_form_default == :qualified
- @message = QualifiedMessage.new(@types, @used_namespaces, @request_key_converter).to_hash(@message, [@operation_name.to_s])
+ translated_operation_name = Gyoku.xml_tag(@operation_name, :key_converter => @key_converter).to_s
+ @message = QualifiedMessage.new(@types, @used_namespaces, @request_key_converter).to_hash(@message, [translated_operation_name])
end
gyoku_options = {
:element_form_default => @element_form_default,
:namespace => @namespace_identifier,