# Sending XML requests

**URL:** <https://www.ruby-forum.com/t/sending-xml-requests/183426>\
**Category:** Rails\
**Created:** [February 13, 2010, 7:14pm UTC](https://www.ruby-forum.com/t/sending-xml-requests/183426 "2010-02-13T19:14:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tashfeen.ekram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3ab097/32.png) [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Post date:** [February 13, 2010, 7:14pm UTC](https://www.ruby-forum.com/t/sending-xml-requests/183426/1 "2010-02-13T19:14:19Z")

</div>

I was wondering if there is something built into rails that helps in  
making XML requests to a third aprty website? Any recommendations for  
gems that help with this?

What about ordinary SOAP requests? Is Net::HTTP the way to go for  
that?

Thanks.

---

<div class="post-metadata">

**Author:** ![tashfeen.ekram](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3ab097/32.png) [@tashfeen.ekram](https://www.ruby-forum.com/u/tashfeen.ekram)\
**Post date:** [February 14, 2010, 4:06pm UTC](https://www.ruby-forum.com/t/sending-xml-requests/183426/2 "2010-02-14T16:06:28Z")

</div>

tashfeen.ekram wrote:

> What about ordinary SOAP requests? Is Net::HTTP the way to go for  
> that?

Take a look at ActiveMerchant’s code; specifically the commit method in  
the module

> <https://github.com/activemerchant/active_merchant/blob/master/lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb>
