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
Pink TacoPink Taco 

Apex code to convert object record to xml using web services in salesforce.

Is any code available or  procedure in Apex code to convert object records into xml file which can be send to external server using web services in salesforce.

 

 

Awaiting some suggestions.

 

 

Regards

Pink Taco

sfdcsushilsfdcsushil

Objects are always stored as xml. You can use Metadata API to retrieve them from external application.