rnavasnz_12

Secured Image Service disappears on Export Web Map; token authentication fail message

Discussion created by rnavasnz_12 on Dec 12, 2012
Latest reply on Jan 16, 2015 by ahoque-esristaff
I've been exporting to PDF by calling the out-of-the-box Export Web Map Task from my web application using the JavaScript API Print Task. (ArcGIS for Server 10.1 SP1, JavaScript API v3.2). The web map contains an Esri hosted basemap and a secured Image Service layer. When the PDF map export is returned by the server, the secured Image Service layer does not show up on the map; only the basemap. The server logs the following message several times after every Export attempt: SEVERE, layer1: Token-based authentication failure.

If the security on the Image Service is disabled, the layer does show up on the PDF. I've also setup a secured Map Service with the same security settings as the Image Service (same role/user assignment) and the export is successful: the secured Map Service layer shows up on the PDF. So my problem appears to be specifically about token-based-secured Image Service layers.

The user credentials are handled client-side by the JavaScript API Identity Manager, so tokens are acquired and handled automatically.

Does anybody have any ideas?

Thanks,

-Richard

[ATTACH=CONFIG]19897[/ATTACH]

Attachments

Outcomes