From: Khudadad Kazi Date: 2013-05-28T00:22:30+09:00 Subject: Converting an xml file to byte array in ruby Hi, Can someone help me with converting an xml file to byte array in ruby ? I have a requirement to send a file as a byte array to a SOAP based web service. I have created ruby methods to do some other functions which deal with strings and arrays. But I am unable to convert file to byte array to use it with a particular method. Any help will be appreciated. Thanks in advance. Kind regards, kazi -- Posted via http://www.ruby-forum.com/.