Hi all, my print widget works fine until I change the full path to relative path in the config.xml.
example:
works fine!
if I use:
<layer type="dynamic" label="Test" imageformat="jpg" url="../arcgis/rest/services/test_1/Mapserver" visible="true"/>
I have a servlet proxy in weblogic that if you ask "../arcgis/rest/services/test_1/Mapserver" response the servlet at the address http://localhost:7001/arcgis/rest/services/test_1/Mapserver and it works...I see the map on flex viewer!!
But it doesnt work on print task!! So I'm trying to change the path using the following line code before subimtJob:
printParameters.map.layers[0].url = "http://localhost:6080/arcgis/rest/services/test_1/Mapserver";
printTask.submitJob(printParameters);
but it still doesnt work...
Someone knows if there is any workaround?
Naty