simon.law

SOE & File Uploading: possible to accept File as input parameter?

Discussion created by simon.law on Jun 21, 2013
Latest reply on Jun 22, 2013 by ciava.at
I am working on developing a SOE service that's used to parse uploaded shapefiles from web front-end. suddenly realize that it might not be possible for SOE operation to take File as input parameter?

thinking if this is not possible, what about Geoprocessing service using ArcPy? does it take File as input? I noticed there is an Upload operation method for each GP service, but it returns an ItemId. what should I do to consume/manipulate this uploaded file in the geoprocessing methods I wrote? i.e., how to access this file based on this ItemId? then will be able to delete this file? as in my case, I only need to read the file content, don't want to leave the file on server.

any ideas on this one?

thanks for any replies!!

Outcomes