This project has moved and is read-only. For the latest updates, please go here.

SharpMap.Web.Wfs.Client() with Credentials not working

Topics: Algorithms, SharpMap v0.9 / v1.x
Dec 17, 2013 at 4:22 AM
Edited Dec 17, 2013 at 4:23 AM
I'm using SharpMap 1.0 Final (SharpMap, Version=, Culture=neutral, PublicKeyToken=null)
I'm trying to connect to a WFS Feed with Basic HTTP Authentication.
Using the following constructor in the SharpMap.Web.Wfs namespace:
public Client(string url, IWebProxy proxy, ICredentials credentials) : this(url, proxy, 10000, credentials, "") { }
Looking at the code inside, I npoticed the public XmlDocument GetRemoteXml() { } method doesn't pass in the ICredentials _credentials to the WebRequest object. This causes a 401 error.

Could you please patch this or point me to a stable version wich has this fixed?

Dec 17, 2013 at 12:04 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.