[Users] Print problem with POST

Espen Isaksen espen.isaksen at gmail.com
Tue Dec 13 19:11:31 CET 2011


Hei!

I am having a problem with printing from GeoExt using POST. As long as
I am aware of this should not be a proxy problem as many other have
experienced.

Everything runs fine when I run GET:
http://www.turkompisen.no/beta/turkompisen_get/

But fails when I run POST:
http://www.turkompisen.no/beta/turkompisen_post/

The reason it fails is because it tries to get the finished PDF on
localhost instead of turkompisen.no(my domain). When running GET it
fetches the PDF from turkompisen.no. Try the two examples above. The
only change is this:
method: "GET"
in the printProvider.

I get the specs for the print server with this script tag:
<script type="text/javascript"
src="http://www.turkompisen.no/print/pdf/info.json?var=printCapabilities&url=http://www.turkompisen.no/print/pdf"></script>

I do not understand what makes the difference?

Espen


More information about the Users mailing list