Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all articles
Browse latest Browse all 2097

PrintTask using Proxy does not work with secured layers

$
0
0
Hi,

I'm trying to build an application that points to a secured layer.
I use proxy that gets a token for the secured layer so that the user does not have to type user &password.
When I try to print the map using the Ptint widget, it gives me an error, no matter if I use the proxy in the Print widget or not.
Enclosed with the Print error.
The proxy and the Print task service are on the same machine so the PrintTask should recognize the proxy.

Is there a way to use the Print widget to print a secured layer?
When the layer is not secured, it works fine.

Here is the text that I put in proxy.config:
<serverItem url="http://serverName/arcgis/rest/services"
matchAll="true" tokenUrl="http://serverName/arcgis/tokens"
username="user" password="password"
timeout="60" />

Moreover, if I don't use the proxy and the user has to type user & password in the beginning, it also works fine.
Only the combination of Proxy & Print service & and secured service does not work.

I use Flex Viewer version 3.6.

Thanks a lot,
Miri
Attached Thumbnails
Click image for larger version

Name:	jobFailed.JPG‎
Views:	N/A
Size:	17.3 KB
ID:	34007  

Viewing all articles
Browse latest Browse all 2097

Latest Images

Trending Articles



Latest Images