I created a model using "Raster To Geodatabase (multiple)" tool. I am trying to copy the raster result of my Observer points GP Tool in runtime to another GDB, so I am using another GP tool. My thought is to append the temporary result from runtime to my other database which would unfortunately also be saved in a temporary location, but I plan to then use a java Files.copy method to copy the entire GDB to another location. Sounds weird and confusing, but I am looking for way to keep my results and have them be copied to an existing GBD outside of runtime's temp location and runtime has no build in copy method. Using just the Java SDK Files.copy will just overwrite the GDB. I have not found any other way to get my temp results to persist in another location.
I receive the error message:
com.esri.core.io.EsriServiceException: Bad request: GET GPServer/AppendResult/execute Dont know how to write special parameter 'InputRaster' of type 'JSON Array' with value '{"format":"tif","url":"http://127.0.0.1:50000/6T1dcw/arcgis/rest/services/ObserverPointsInline10.2.gpk/MapServer/jobs/j93d4..."}'
at com.esri.core.io.EsriServiceException.fromJson(Unknown Source)