Hi folks.

I didn't find any hint on how to use an authorizing proxy for my 
WebMapServer testcase.

System.setProperty( "proxySet", "true" );
System.setProperty( "proxyHost", "xyz" );
System.setProperty( "proxyPort", "80" );
System.setProperty( "proxyUserName", "abc" );
System.setProperty( "proxyPassword", "abc" );
System.setProperty( "http.proxyHost", "xyz" );
System.setProperty( "http.proxyPort", "80" );
System.setProperty( "http.proxyUserName", "abc" );
System.setProperty( "http.proxyPassword", "abc" );

URL url = new 
URL("http://www.umwelt.sachsen.de/de/wu/umwelt/lfug/lfug-internet/infosysteme/wmsconnector/com.esri.wms.Esrimap";);
WebMapServer wmsServer = new WebMapServer( url );
WMSCapabilities capabilities = wmsServer.getCapabilities();
System.out.println( capabilities.getVersion() );

But this returns with http error code 407 (proxy authentication required)

Any help would be appreciated. Thanks. Lars

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to