[Community] Proxies and WebxServices.

Dominic Lowe dominic.lowe at stfc.ac.uk
Fri Nov 6 12:11:18 EET 2009


Hi Mike,

The WebMapService can take a username and password as a keyword argument:

wms=WebMapService('http://mywms.com, version='1.1.1', 
username='me', password='mypassword')

I am not sure if this will work in your particular case or not...

This is pretty hard to test without being behind a similar proxy so I 
would be interested to know if does.

btw, we haven't extended this to the other services (eg WFS) yet, but it 
could be done fairly easily.

Thanks,
Dom


On 05/11/09 08:17, mweaver wrote:
>
> I am try to use:
> wms = WebMapService( ...
> or wfs = WebFeatureService( ...
>
> but I am unable to get past our proxy, as it needs authentication (error
> 407).
> is there a way to get a username and password supplied to both the proxy and
> the wxs service that I wish to access? (https)
>
> P.S. I am using windows XP&  Python 2.6
>
> Thanks Mike.




More information about the Community mailing list