AnsweredAssumed Answered

Export Web Map Task: Failed to create layer from WMS service

Question asked by jcraw62 on Jun 13, 2018
Latest reply on Jun 14, 2018 by ahoque-esristaff

I'm using Export Web Map Task from a Java app. The request includes MapServer layer from my ArcGIS 10.5 server and a WMS layer from another domain. I'm not sure why ArcGIS cannot create a layer for the WMS request.


ArcGIS is logging the following:


<Msg time='2018-06-13T15:45:59,973' type='SEVERE' code='20010' target='Utilities/PrintingTools.GPServer' methodName='GPServerSync.CheckMessages' machine='WTGGIS1' process='19928' thread='23592' user='anonymous' >Error executing tool. Export Web Map Task : Layer "MC image": Failed to create layer from service at http://<some domain>.com:8080/geoserver/wms?&SERVICE=WMS&REQUEST=GetMap&VERSION=1.1.1&LAYERS=Postgres%3Abuildings%2CPostgres%3Aparcels%2CPostgres%3Anonnfhl_floodplain&STYLES=&FORMAT=image%2Fpng&TRANSPARENT=true&HEIGHT=653&WIDTH=1448&SRS=EPSG%3A3857&BBOX=-8279556.363820421,4955018.621996873,-8279124.016879315,4955213.89471751.
Failed to execute (Export Web Map).
Failed to execute (Export Web Map Task).</Msg>


The WMS request itself succeeds when executed from a browser.


Attached is the Export Web Map Task Web_Map_as_json. The request specifies:






Help! Thanks.