Select to view content in your preferred language

Printing password-protected WMS layers

2558
3
06-11-2012 04:14 AM
MarkusHjärne
Deactivated User
Hi,

I'm investigating the new printing options coming in SL API 3.0/ArcGIS for Server 10.1 (http://resourcesbeta.arcgis.com/en/help/main/10.1/index.html#/Printing_in_web_applications/015400000...) which looks quite useful.

But I cannot figure how to print maps containing password-protected WMS-layers. In our application today we access these layers through a proxy specífied in the ProxyURL property of the WmsLayer. Looking at the ExportWebMap specification (http://resourcesbeta.arcgis.com/en/help/main/10.1/index.html#/ExportWebMap_specification/0154000004w...), I can't see any way to specifiy a proxy URL for WMS layers.

Am I missing something?


Best Regards

Markus Hjärne
0 Kudos
3 Replies
JenniferNery
Esri Regular Contributor
You can follow these steps: http://resourcesbeta.arcgis.com/en/help/main/10.1/index.html#/Printing_maps_that_contain_secured_ser....

Once you have copied the ExportWebmap GP Tool as GP Service and configure the credentials on GP Tool, you can use the Url to this REST endpoint instead in your PrintTask.
0 Kudos
MarkusHjärne
Deactivated User
In the steps you referred to, only "user connection to ArcGIS Server" is mentioned. The WMS services we're using is hosted by another party, so we can only access it from ArcGIS for Desktop by adding it as a WMS Server (http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//006m00000062000000.htm), not an ArcGIS Server. Will it work anyway?

/Markus
0 Kudos
RebeccaKohlhauer
Deactivated User

Did you ever find a solution to this? We are having the same problem...

0 Kudos