<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error Sending Json (KML) file into ArcServer 10.0 GP Service in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-sending-json-kml-file-into-arcserver-10-0-gp/m-p/736013#M16303</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are on ArcGIS Server 10.00 Service Pack 5 on a solar us box. I have tested the http json file. I can down loit. If I change the ending of the file to KML. I can run ESRI geoprocessing tools against the file like KML to layer. The documentation says I could use this method. The error has a 500 response mark when attempting lead&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Feb 2016 21:56:47 GMT</pubDate>
    <dc:creator>DanielKonde</dc:creator>
    <dc:date>2016-02-01T21:56:47Z</dc:date>
    <item>
      <title>Error Sending Json (KML) file into ArcServer 10.0 GP Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-sending-json-kml-file-into-arcserver-10-0-gp/m-p/736011#M16301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im working with a PHP script that POSTs to a ArcGIS 10 Flex Server's GPService Toolbox (written in python), the first parameter is supposed to be a GPDataFile. From the documentation, it looks like I can set the value of this parameter to a json formatted string literal, {"url", "&lt;A href="http://localhost/export/1234567890.kml" rel="nofollow"&gt;http://localhost/export/1234567890.kml&lt;/A&gt;"}, and the arcpy.GetParameter(0) should handle this object correctly.&lt;/P&gt;&lt;P&gt;Unfortunately I am receiving an error, saying 'Please check your parameters', there are two other parameters on the toolbox but they are just strings and are working correctly. I am working in ArcGIS Server 10.0. Flex viewer.&lt;/P&gt;&lt;P&gt;The overall goal of this interaction is to send a KML file from our SWF/ActionScript to the PHP, which saves the KML to our database and subsequently sends it to the GPService to translate it into a GDB and then to individual insert the data into&amp;nbsp; oracle ArcSDE 10.0 database for rendering back to the SWF/Actionscript.&lt;/P&gt;&lt;P&gt;Any help our thoughts on how to get the Toolbox to accept the JSON structure would be greatly appreciated, I would like to avoid having to send the KML contents as a string object to the Toolbox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 20:23:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-sending-json-kml-file-into-arcserver-10-0-gp/m-p/736011#M16301</guid>
      <dc:creator>DanielKonde</dc:creator>
      <dc:date>2016-02-01T20:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error Sending Json (KML) file into ArcServer 10.0 GP Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-sending-json-kml-file-into-arcserver-10-0-gp/m-p/736012#M16302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a reference to the doc you mentioned?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Everything you've said is correct. However, Server underwent many, many changes between 10.0 and 10.1. As such, I'm not 100% confident that you could use the {'url' : '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fmyfile" rel="nofollow" target="_blank"&gt;http://myfile&lt;/A&gt;&lt;SPAN&gt;'} method at 10.0. I'm 100% sure you can at 10.1. (If the doc you have was written for 10.0, then I'd take it as true you can use this method)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other thing, and I'm sure you've tested it, but asking just to be sure - you can access the file you reference over HTTP?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 20:51:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-sending-json-kml-file-into-arcserver-10-0-gp/m-p/736012#M16302</guid>
      <dc:creator>KevinHibma</dc:creator>
      <dc:date>2016-02-01T20:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error Sending Json (KML) file into ArcServer 10.0 GP Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-sending-json-kml-file-into-arcserver-10-0-gp/m-p/736013#M16303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are on ArcGIS Server 10.00 Service Pack 5 on a solar us box. I have tested the http json file. I can down loit. If I change the ending of the file to KML. I can run ESRI geoprocessing tools against the file like KML to layer. The documentation says I could use this method. The error has a 500 response mark when attempting lead&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 21:56:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/error-sending-json-kml-file-into-arcserver-10-0-gp/m-p/736013#M16303</guid>
      <dc:creator>DanielKonde</dc:creator>
      <dc:date>2016-02-01T21:56:47Z</dc:date>
    </item>
  </channel>
</rss>

