architecture of api-xml without the logger the data will be serialized read from the body of anypoint end point json to send it as xml to the two endpoint of our rest api service without the logger it will be returned serialized our api server return xml we added the logger to seriealized to json for the message transformer this the final json of the whole any point endpoint