|
POST
|
Hi Tanja, So the situation is: you have a functional proxy, which supports some secure services, except Print. However, the secure Print task does not function anyway. It sounds like an issue with the print service if it failed from REST (generated empty .pdf). Can you watch the web traffic from the Print request? Both secure and non-secure? Fiddler or Chrome developer tools are very helpful.
... View more
09-04-2013
03:24 PM
|
0
|
0
|
658
|
|
POST
|
This topic is already being covered in another thread: http://forums.arcgis.com/threads/78434-Print-Tool-3.1-secured-services
... View more
08-16-2013
03:55 PM
|
0
|
0
|
950
|
|
POST
|
I got the code for the Print tool published here: http://www.arcgis.com/home/item.html...3d5d6303dcd028 You are using this add-in or modifying the code for development? Have you tried your print service in the Application Builder as a test? ArcGIS Viewer for Silverlight - Application Builder - Printing http://resources.arcgis.com/en/help/silverlight-viewer/concepts/index.html#//01770000004z000000 Is it a known issue so hence the message is coded in the tool? I haven't seen this specific error before, and I don't know if this is a known issue or not. If we use unsecured services tool and print from the REST point work. The moment we switch to secured services (with proxy page recommended by ESRI) it doesn't work. If you print from REST using secure services, it fails? If it fails at REST, it's an issue with the Print service you created. What happens when you watch the web traffic from the print request? Use a debugger like Fiddler, that should give you more detailed information as to what's going on. Hope this helps!
... View more
08-16-2013
08:53 AM
|
0
|
0
|
4042
|
|
POST
|
What's the screenshot from? I haven't seen that error message before. Is that defined in your code somewhere? What happens if submit a print job from the REST endpoint? Or, use the "Export Map" method from the map service?
... View more
08-15-2013
04:10 PM
|
0
|
0
|
4042
|
|
POST
|
This is not exactly the same case, but the logic should be pretty similar in this post: WMTS Services
... View more
08-15-2013
04:01 PM
|
0
|
0
|
1257
|
|
POST
|
Strange, I have not encountered that before. Few questions: Is that the exact error message? Is this a custom print service? Are you connected to the internet?
... View more
08-13-2013
03:48 PM
|
0
|
0
|
4042
|
|
POST
|
Best thing to do is to download and play around with it. http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Welcome_to_ArcGIS_Viewer_for_Flex/01m300000015000000/ It acts like a regular web map, with some neat widgets that can can customize. Start with the Application Builder: http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Installation_guide_for_Application_Builder/01m30000002w000000/ Enjoy!
... View more
07-26-2013
11:33 AM
|
0
|
0
|
2014
|
|
POST
|
Howdy, 1) Is your print service synchronous or asynchronous? Try one, then the other. 2) Are you using your own custom print service? You need to publish your own print service to work with secure services: http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000005q3000000 Hope this helps. -Noah
... View more
07-17-2013
04:14 PM
|
0
|
0
|
4042
|
|
POST
|
Hi Wei Chen, I couldn't test the URL you provided, but out of curiosity, what is the spatial reference of the WMTS layer? Here are some code snippets that I used to load an AGSWMTSLayer:
//WMTSViewController.h
#import <UIKit/UIKit.h>
#import <ArcGIS/ArcGIS.h>
//URL of WMTS
#define wmtsURL @"http://....../wmts"
@interface ViewController : UIViewController <AGSMapViewLayerDelegate, AGSWMTSInfoDelegate> {
//container for map layers
AGSMapView *_mapView;
}
//map view is an outlet, can associate with UIView
@property (strong, nonatomic) IBOutlet AGSMapView *mapView;
//add the WMTS properties...
@property (strong, nonatomic) AGSWMTSInfo *wmtsInfo;
@property (strong, nonatomic) AGSWMTSLayer *wmtsLayer;
@end
//WMTSViewController.m
#import "WMTSViewController.h"
@implementation ViewController
@synthesize mapView = _mapView;
- (void)viewDidLoad
{
[super viewDidLoad];
self.mapView.layerDelegate = self;
self.wmtsInfo = [[AGSWMTSInfo alloc] initWithURL: [NSURL URLWithString:wmtsURL]];
self.wmtsInfo.delegate = self;
}
// add AGSWMTSLayer
- (void) wmtsInfoDidLoad:(AGSWMTSInfo *) wmtsInfo{
NSArray *layerInfos = [wmtsInfo layerInfos];
AGSWMTSLayerInfo *layerInfo = [layerInfos objectAtIndex:0];
self.wmtsLayer = [wmtsInfo wmtsLayerWithLayerInfo:layerInfo andSpatialReference:nil];
[self.mapView addMapLayer:self.wmtsLayer withName:@"wmts Layer"];
}
//other functions, etc.
Hope this helps!
... View more
07-17-2013
07:56 AM
|
0
|
0
|
989
|
|
POST
|
FYI: This issue is still under investigation. Potential workaround: You could split up your target layer area into smaller areas in ArcMap, and create separate .tpks for each smaller area. Each .tpk would be accessed individually, so not all .tpks could be shown on the map at the same time. One way to do this would be to use the "Split" tool (Analysis Tools >> Extract >> Split), and create new distinct polygons based on geographic factors. Another method would be make use of the "Cut Polygons Tool". This tool is enabled in "Edit" mode of ArcMap, and lets you interactively set the endpoints to cut one polygon into two. Documentation on Splitting a polygon: http://resources.arcgis.com/en/help/main/10.1/index.html#//01m800000024000000
... View more
07-03-2013
07:08 AM
|
0
|
0
|
2321
|