I am accessing a WebService from VB.Net using a WebReference within my project.
I am getting an error, which I am told by the WebService providor is due to invalid credentials.
Therefore want to view the underlying SOAP messages to see exactly what is being sent.
I have tried the following:
Dim MyProxy As New WebProxy("http://
WebServiceLink.Proxy = MyProxy
And then using SoapTrace.exe acting as a proxy on localhost:8080
But I get an error message when running the code saying the "remote name could not be resolved"
Any ideas how I can fix this? or any other way to view the SOAP details?
BTW: my code for setting the credentials is:
Dim myCache As New CredentialCache
myCache.Add(New Uri(WebServiceLink.Url), "basic", New NetworkCredential(UserName
= myCache.GetCredential(New Uri(synXisWebServiceLink.U
cate = True
See anything wrong with that?