Select to view content in your preferred language

ArcGIS API for Flex 3.0 Prerelease - Export Web Map

870
4
Jump to solution
04-04-2012 04:39 PM
ShaunWeston
Frequent Contributor
I've been playing around with the new printing functionality with AGS 10.1 and using Flex API 3.0 to try and do some printing, which seems to work pretty well when I use this GP service as the PrintTask:

http://servicesbeta2.esri.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20M...

ut when I try setup my own one, I always get the "Unable to complete operation" error message:

http://remote.splicegroup.co.nz/arcgis/rest/services/SpliceGroup/ExportMap/GPServer/Export%20Web%20M...

o, not sure what's going on here. Both the gp services are exactly the same, just on different servers.
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus
Shaun,

   Here is some fiddler debuging details that I get when trying to use your server to print:

This is what I get returned:
[Fiddler] DNS Lookup for "vm-srv103.splice.local" failed. No such host is known
This is the url it is attempting to use when the task completes and it is trying to display the pdf:
http://vm-srv103.splice.local:6080/arcgis/rest/directories/arcgisoutput/Utilities/PrintingTools_GPSe...

If I replace the first part of the url with http://remote.splicegroup.co.nz/ than it works fine
http://remote.splicegroup.co.nz/arcgis/rest/directories/arcgisoutput/Utilities/PrintingTools_GPServe...

Sounds like you have something wrong in the web adapter configuration (don't ask me what that is to new for me to know much about it).

View solution in original post

0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus
Shaun,

  Actually they are different... You should be using this URL instead.
http://remote.splicegroup.co.nz/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%2...

Don't forget to click the Mark as answer check on this post and to click the top arrow (promote) as shown below:
0 Kudos
ShaunWeston
Frequent Contributor
Yeah that one doesn't work either. I guess it's something to do with my server.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Shaun,

   Here is some fiddler debuging details that I get when trying to use your server to print:

This is what I get returned:
[Fiddler] DNS Lookup for "vm-srv103.splice.local" failed. No such host is known
This is the url it is attempting to use when the task completes and it is trying to display the pdf:
http://vm-srv103.splice.local:6080/arcgis/rest/directories/arcgisoutput/Utilities/PrintingTools_GPSe...

If I replace the first part of the url with http://remote.splicegroup.co.nz/ than it works fine
http://remote.splicegroup.co.nz/arcgis/rest/directories/arcgisoutput/Utilities/PrintingTools_GPServe...

Sounds like you have something wrong in the web adapter configuration (don't ask me what that is to new for me to know much about it).
0 Kudos
ShaunWeston
Frequent Contributor
Cheers Robert, I thought it might be that. We've got a reverse proxy setup and yeah I need to change a few things there.
0 Kudos