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
ram123ram123 

Apex Rest - consuming XML document

I want to consume a xml document via @httpost for a rest  webservice, will the following decleration work ? does the arugment name needs to match xml namespace etc ?

 

@HttpPost
global static void docConnectParser(String post){
      System.debug('Connect Response =>' +post);
}

 

Thanks

Ram