'Sending and Receiving cXML PunchOutRequest in rails

I'm trying to integrate with ariba with my rails application.ariba uses cXML to punchout the data i needed. I found the gem https://github.com/officeluv/cxml-ruby so i can parse and create cXML request. But finding difficulty in punching out the request. I tried to use an online simulator too to punch out to my rails application. But i didn't received any cxml request to my application.

What is the way to punch out cxml to a URL from rails application and receive cxml from an external application?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source