I'm calling a method on a webservice and it is throwing a 403 Forbidden WebException...
System.Net.WebException: The request failed with HTTP status 403: Forbidden.
I've got this error logged but I'd really like to have the URI recorded in the log message so it is easy to determine which webservice is causing the problem.
Is there a simple way to get the URI from the WebException that is thrown? I've looked through the list of properties and I can't see anything that will get me what I want.