sebastian.irsch

Web Map Export Task with produces 'Error performing execute operation'

Discussion created by sebastian.irsch on Sep 25, 2012
Latest reply on Sep 26, 2012 by ahoque-esristaff
When I try to export a Web Map with client side graphics it results in an error.

The resouce we use is http://resources.arcgis.com/en/help/main/10.1/0154/0154000004w8000000.htm .

The json object we use for Web_Map_as_JSON parameter is:

{
    "mapOptions": {
        "extent": {
            "xmin": 1044845.4461999984,
            "xmax": 1090943.768199999,
            "ymin": 7186830.843199998,
            "ymax": 7224868.997599997,
            "spatialReference": {
                "wkid": 102100
            }
        },
        "scale": 100000,
        "spatialReference": {
            "wkid": 102100
        }
    },
    "operationalLayers": [
        {
            "id": "RouteLayer",
            "title": "Route Layer",
            "opacity": 1,
            "visibility": true,
            "featureCollection": {
                "layers": [
                    {
                        "layerDefinition": {
                            "name": "Route",
                            "geometryType": "esriGeometryPolyline",
                            "drawingInfo": {
                                "renderer": {
                                    "type": "simple",
                                    "description": "",
                                    "symbol": {
                                        "type": "esriSLS",
                                        "width": 5,
                                        "style": "esriSLSSolid",
                                        "color": [
                                            0,
                                            0,
                                            255,
                                            128
                                        ]
                                    },
                                    "label": ""
                                }
                            }
                        },
                        "featureSet": {
                            "features": [
                                {
                                    "geometry": {
                                        "hasZ": false,
                                        "hasM": false,
                                        "paths": [
                                            [
                                                [
                                                    1044845.4461999984,
                                                    7224432.205300003, 0, 0
                                                ],
                                                [
                                                    1089023.6741999984,
                                                    7189999.173699997, 0, 0
                                                ]
                                            ]
                                        ],
                                        "spatialReference": {
                                            "wkid": 102100
                                        }
                                    }
                                }
                            ]
                        }
                    }
                ]
            }
        }
    ],
    "baseMap": {
        "title": "",
        "baseMapLayers": [
            {
                "url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer",
                "opacity": 1
            }
        ]
    },
    "exportOptions": {
        "dpi": 96,
        "outputSize": [
            600,
            400
        ]
    }
}


Other params are:
Format=JPG&Layout_Template=MAP_ONLY&f=json

The server log contains the following entry:
Internal  Server Error. Error handling service request: Could not service  request. java.rmi.UnmarshalException: Error unmarshaling return header;  nested exception is:   java.net.SocketException: Connection reset

Is there any further documentation about client side graphics available?
Are there any examples?

Outcomes