AnsweredAssumed Answered

Querying the root catalog returns an empty services array

Question asked by iApplySupport@dws.com.au on Mar 8, 2017

Hi,

 

I'm using the .NET proxy to query the services in my account.

I have added the credentials to my config file:

 

<?xml version="1.0" encoding="utf-8" ?>
<ProxyConfig allowedReferers="*" mustMatch="true">
<serverUrls>
     <serverUrl url="https://services7.arcgis.com/" clientId="xxx" clientSecret="xxx" matchAll="true"/>
</serverUrls>
</ProxyConfig>

 

When I query a specific service in my account, it returns the correct result:

http://mysite.com/ArcGISProxy.ashx?https://services7.arcgis.com/xxx/arcgis/rest/services/xxx/FeatureServer/0?f=json

 

But when I query the root catalog, it always returns an empty array:

http://mysite.com/ArcGISProxy.ashx?https://services7.arcgis.com/xxx/arcgis/rest/services?f=json

{ currentVersion: 10.41, services: [ ] }

Outcomes