# SOAP-RPC with attachment how?

**URL:** <https://www.ruby-forum.com/t/soap-rpc-with-attachment-how/132174>\
**Category:** Rails\
**Created:** [March 17, 2008, 5:07pm UTC](https://www.ruby-forum.com/t/soap-rpc-with-attachment-how/132174 "2008-03-17T17:07:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KTU](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/ecae2f/32.png) [@KTU](https://www.ruby-forum.com/u/KTU)\
**Post date:** [March 17, 2008, 5:07pm UTC](https://www.ruby-forum.com/t/soap-rpc-with-attachment-how/132174/1 "2008-03-17T17:07:29Z")

</div>

Hi

Any idea what’s the best way to send out xml file as attachment to  
SOAP-RPC web service ?

I have server running SOAP-RPC service on port 7135 and what I know so  
far is that it expects  
XML file as attachment when you call that service.

Now since I have never done any of these ruby web service programs I  
am bit lost here how I can do this one.

Any help/hints are appreciated.

Thank You
