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
aksmaksm 

Monitor request-response xml when calling external web services

Hi,
 
I am new to Apex development.
I am calling an external web service using an Apex controller.
How do I monitor the request-response xml which I am sending and receiving from the external web service from Salesforce.
 
I have tried the System.debug's Callout method but that does not help me.
 
thanks
Sk
 
werewolfwerewolf
Put up a SOAP proxy (you'll find a ton of them if you google it) that points to your external web service, and have your Apex call that proxy instead.  Then you'll be able to view the requests and responses via the proxy's log.