In cases where you need to troubleshoot the interaction with some external service, it may be useful to add a tool such as Fiddler to log the traffic exchanged.
Depending on the technology used follow these steps
Configure a Java Application to Use Fiddler
If you are using tomcat you can set the following properties directly to the Tomcat Manager | options:
-DproxySet=true
-Dhttp.proxyHost=127.0.0.1
-Dhttp.proxyPort=8888
Configure .NET Applications
For a C# web application modify the web.config adding the following tags under COnfiguration section:
<system.net>
<defaultProxy enabled="true" useDefaultCredentials="true">
<proxy autoDetect="false" bypassonlocal="false" proxyaddress="http://127.0.0.1:8888" usesystemdefault="false" />
</defaultProxy>
</system.net>
Configure Fiddler for Android / Google Nexus 7
Capture Traffic from iOS Device