I have OpenLayers ProxyHost configured
OpenLayers.ProxyHost= "form/proxy?url=";
, the url config of Mapfish Print Provider is configured as http://path/to/mapfish/print, and the doc tells that I can do that as it is accessible throug the proxy
This property requires that the print service is at the same origin as the application (or accessible via proxy).
, but the lib still tries to go to other origin directly and fails.
I cannot find where to configure GeoExt or ExtJS to go there through proxy.
The Mapfish Print doc tells to set some parameter of a mapfish variable, I did that but obviously with no success.
Please, help!
(Actually, it's GeoExt 2 for ExtJS 4, where the PrintProvider seems being renamed as GeoExt.data.MapfishPrintProvider)
http://xxxxx/print/pdf/create.jsonwith XHR, and it's against the same origin policy again. this url is configured in printCapabilities and is not available for me to edit. – fedd Jul 27 '12 at 10:05createURLandprintURLof print capabilites were specified as absolute URLs, with the domain - I faced the same error. maybe it's an error of mapfish printing servlet deployment, need to talk to it's admins which takes time... – fedd Jul 30 '12 at 09:08