Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [service-definition]

A service definition is a file that defines how a computer can interact with a service. One example is a Web Services Description Language (WSDL) file.

1
vote
1answer
68 views

Accessing information inside an .sd file using python

I want to know if there is a way to list all folders/files inside a .sd file using Python. Below is what I am currently working with. I am writing a script that will access our ArcGIS Online ...
0
votes
1answer
61 views

Publishing ArcGIS Desktop 10.0 Custom Toolbox to ArcGIS Server 10.6?

I am pretty new to this stuff. I have a Custom Toolbox with python scripts that was created in ArcGIS Desktop 10.0. I am upgrading to ArcGIS Desktop and Server 10.6 and trying to publish the ...
1
vote
0answers
86 views

UploadServiceDefinition_server to ArcGIS Server not working on IIS

I want to write a web using MVC that uploads a .sd file to my ArcGIS Server using Python (arcpy). In my controller I have: public string upload_sd() { ProcessStartInfo start = ...
1
vote
1answer
189 views

Adding Description, Use Constraints, and Credits to Map Service when publishing with ArcPy?

I am writing a Python script to automate publishing Map Services for use in ArcGIS Online. My workflow follows the sample code in Example 1 from this ArcGIS Help page on the CreateMapSDDraft tool: ...
0
votes
2answers
638 views

Compile SD file in ArcGIS Pro

Is there a way to build Service Definition files in Pro? I assume not since they have everything on lockdown to Portal. Thought I would ask here though.
1
vote
0answers
44 views

Retrieving ArcGIS Collector points when service definition was deleted?

I made a service to collect data points in the field, but then right before leaving updated the fields and deleted the old service, and published my new service. I assumed the Collector for ArcGIS app ...
1
vote
0answers
225 views

Creating .sd file from .mxd in Python?

How would I save a .sd (service definition) file from an MXD purely with Python? I can create an .sd by stepping through the process and saving as a service definition. However, I'm looking to fully ...
1
vote
0answers
76 views

Activate tracking for ArcGIS Online with python

It is possible to update data in ArcGIS Online by python-script: http://blogs.esri.com/esri/arcgis/2014/01/24/updating-your-hosted-feature-service-for-10-2/ Configuration is done by changing the ...