Skip to content


REST API Send XML Request to Receive XML Response

Steven Messier asked 4 years ago
I’m trying to retrieve data from an API and it requires that I send a XML request before receiving the XML response that contains the data. How do I set up the request? My assumption is that I would put it in the Method Body in a Method. I tried doing that and then set up a map, but when I click preview it says “Connection could not be validated.” The details say “The underlying connection was closed: An unexpected error occurred on a send.” If I click on validate in the map setup it says “Connection was successful.” If anyone could help me figure out how to get this working I’d appreciate the help.
Ethan Sorenson Staff answered 4 years ago
You are correct that you need to just enter the body into the Method as you said above. You will need to install a debugging tool like Fiddler to see the actual web request and response you are making. It sounds like what is being sent is not what the service is looking for. If you are unable to find the issue, I recommend reaching out to our support team for direct assistance at

If you would like to submit an answer or comment, please sign in to the eOne portal.