fraserhand

Describe ServerConnection 10.1

Discussion created by fraserhand on Apr 30, 2013
Hi There,

I have a gp tool that takes in a server connection to publish data to AGS 10.1. As a second part of this tool I want to access the admin API to make some changes to my service that I can't do during the publish phase. In order to do this I need the server name and port. So rather than having to get the user to input in the server / port as well as the server connection - can I get this data from the describe object ServerConnection? I've tried digging around and can't fact anything. Also the desc object doesn't produce anything with a dir() nor with the inspect module.

Thanks,
Fraser

Outcomes