{"action":"closed","issue":{"url":"https://api.github.com/repos/savonrb/savon/issues/859","repository_url":"https://api.github.com/repos/savonrb/savon","labels_url":"https://api.github.com/repos/savonrb/savon/issues/859/labels{/name}","comments_url":"https://api.github.com/repos/savonrb/savon/issues/859/comments","events_url":"https://api.github.com/repos/savonrb/savon/issues/859/events","html_url":"https://github.com/savonrb/savon/issues/859","id":294992534,"number":859,"title":"Mapping ruby Hash to XML seems to depend on order of inserting keys","user":{"login":"darrenleeweber","id":240623,"avatar_url":"https://avatars3.githubusercontent.com/u/240623?v=4","gravatar_id":"","url":"https://api.github.com/users/darrenleeweber","html_url":"https://github.com/darrenleeweber","followers_url":"https://api.github.com/users/darrenleeweber/followers","following_url":"https://api.github.com/users/darrenleeweber/following{/other_user}","gists_url":"https://api.github.com/users/darrenleeweber/gists{/gist_id}","starred_url":"https://api.github.com/users/darrenleeweber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darrenleeweber/subscriptions","organizations_url":"https://api.github.com/users/darrenleeweber/orgs","repos_url":"https://api.github.com/users/darrenleeweber/repos","events_url":"https://api.github.com/users/darrenleeweber/events{/privacy}","received_events_url":"https://api.github.com/users/darrenleeweber/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-07T03:15:29Z","updated_at":"2018-03-25T03:43:41Z","closed_at":"2018-03-25T03:43:40Z","author_association":"NONE","body":"It seems that a ruby hash enumerates by the order of inserting keys (is that right?)\r\n- https://stackoverflow.com/questions/11350500/ruby-hash-keys-and-values-safe-to-assume-same-order\r\n\r\nWhen composing params for a SOAP message using a Hash, we are getting SOAPFault errors related to XSD validation failures that depend on the order of XML elements.  We cannot insert new key:value pairs into a Hash because it seems to mess up the resulting XML element order.\r\n\r\nHow does savon map the Hash key:value pairs to XML elements?  Can it use the WSDL to correctly pluck out the key:value pairs in the correct order?"}}
{"actor":{"display_login":"pcai"}}