# How to Read attachent coming from a webservice

**URL:** <https://www.ruby-forum.com/t/how-to-read-attachent-coming-from-a-webservice/177906>\
**Category:** Deployment\
**Created:** [October 26, 2009, 3:53pm UTC](https://www.ruby-forum.com/t/how-to-read-attachent-coming-from-a-webservice/177906 "2009-10-26T15:53:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![santoshturamari](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee59a6/32.png) [@santoshturamari](https://www.ruby-forum.com/u/santoshturamari)\
**Post date:** [October 26, 2009, 3:53pm UTC](https://www.ruby-forum.com/t/how-to-read-attachent-coming-from-a-webservice/177906/1 "2009-10-26T15:53:23Z")

</div>

Hi All,

I am having problem reading a file witch is coming from a web service.  
When I execute my web service method it retunes a response with an  
attachment.  
How to save this attachment in rails application?
