function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Marketing Marketing 27Marketing Marketing 27 

How do I send and Receive XML Messages with an External System??

Hello all,

I am a Junior SF Dev and I have been tasked with integrating with an external system of one of our vendors. I am supposed to send XML strings to their system and receive XML responses from it.

I know how to use Apex to take SF data and convert it to XML, but how do I send and recevie it with their system??

I know it has something to do with the Rest API but I have never connected with an external system and have no idea how to do it in this use case. Can anybody please provide some general guidance on this?

Thanks.
VinayVinay (Salesforce Developers) 
Does below example help?

https://salesforce.stackexchange.com/questions/232752/how-we-send-apex-rest-request-in-xml-formate-to-an-external-url-and-parse-xml-re

Thanks,