Browse Source

Fix web service redirect error when adding web reference.

Adding a web reference to the following web service would fail
since one of the schemas required a redirect to be downloaded.

http://www.onvif.org/onvif/ver10/media/wsdl/media.wsdl
pull/664/head
Matt Ward 11 years ago
parent
commit
db2919ea28
  1. 1
      src/Main/Base/Project/Src/Gui/Dialogs/ReferenceDialog/WebServiceDiscoveryClientProtocol.cs

1
src/Main/Base/Project/Src/Gui/Dialogs/ReferenceDialog/WebServiceDiscoveryClientProtocol.cs

@ -32,6 +32,7 @@ namespace ICSharpCode.SharpDevelop.Gui
public WebServiceDiscoveryClientProtocol() public WebServiceDiscoveryClientProtocol()
{ {
AllowAutoRedirect = true;
} }
public HttpAuthenticationHeader GetAuthenticationHeader() public HttpAuthenticationHeader GetAuthenticationHeader()

Loading…
Cancel
Save