I need to programmatically connect to a feature service. I'm doing this in the recommended way, creating a ServiceConnectionProperties object with the URL to the feature service, and then instantiating a Geodatabase object with those connection properties.
In certain cases, this is working fine. In other cases, certain feature service URLs are causing the program to hang indefinitely on the Geodatabase instantiation. Is this a known issue? I would think that even if the URL was invalid, or the connection required credentials I didn't provided, the attempt at instantiation would return with an error or throw an exception.