+ 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