From: Baba Ghaytadkar Date: 2012-12-04T21:13:14+09:00 Subject: Invalid Soap request gets created Hello Team, I am using savon to create SOAP request's, below is the code response = newclient.request :soap, :copy_into_items do soap.body ={"SourceUrl" =>srcpath, "DestinationUrls" => ["string" =>docpath], "Fields" => {:FieldInformation =>"", :attributes! => {:FieldInformation=> {:Type=>"Text",:DisplayName=>"description", :InternalName => "description", :Value=>"testDesc"} }}, "Stream" => enc } end Below is the request created with above code D:\baba\Baba.txt http://sitename/test/Baba.txt QmFiYQ== in above request if you see the xml tag FieldInformation it dosent have any attribute assoicated with it, same is working fine if i change the tag name to any other value e.g FieldInformation1, then the response i am getting is as expected i.e. all attributes are added, i tried with many other strings its perfectly working but only fails if the tag name is FieldInformation D:\baba\Baba.txt http://sitename/test/Baba.txt QmFiYQ== This is very strange behavior, if any one has any idea then please reply, thanks in advance Baba -- Posted via http://www.ruby-forum.com/.