I need to build a connection from Salesforce to "post" to a rest api. The recipient has given me XDS schema files of the data to be sent over.
My Current Plan
- Build a sObject to be the object to send.
- Match the sObjects fields to the schema defined in the xds file.
- Write the XML using the DOM
- Post the XML
I feel like this method is kinda laborious is there a better way?