Proxy Server usage in Esri iOS SDK and Esri Android SDK

5713
4
04-30-2015 01:42 AM
SalihYalcin
New Contributor III

Hello everyone,

In our company we develop apps using with Esri iOS and Android SDK. We want to access ArcGIS Map Services via Proxy server.

Our proxy server link looks like  :

http://company.gov.tr/DotNet/proxy.ashx

and then our ArcGIS Map Service look like :

http://company.gov.tr/ArcGIS/rest/services/SanJuan/TrailConditions/MapServer

in Android Side ; sdk has ProxySetup we add proxy server like code below. But this code not working.

ProxySetup.setupProxy("company.gov.tr/DotNet/proxy.ashx", 0,"http",null);

at the iOS side ; Ther is not any information about using proxy server.

So my question is how can we use proxy server in our mobile applications.

Thanks in helpings.

4 Replies
YueWu1
by Esri Regular Contributor
Esri Regular Contributor

Hi Salih,

Here is the documentation that shows how to access secure services using Runtime SDK for iOS

Access secure services—ArcGIS Runtime SDK for iOS | ArcGIS for Developers

SalihYalcin
New Contributor III

But my problem is not how to use secure services in sdk, My question is about how to use proxy server in sdk.

0 Kudos
HemingZhu
Occasional Contributor III

I am trying to attackle the same issue. Our sever setup at the time only allow us to access the our server services through proxy.ashx. But the ProxySetup is dealing with the Proxy Server while proxy.ashx is an application. so using ProxySetup wouldn't work on Proxy. I was told that using Proxy.ashx to access server services has listed as a bug to be fix (nim104296). Hope it will fixed soon. 

0 Kudos
EbtisamAlshathly
New Contributor

I have the same situation here. How did you solve the Proxy.ashx problem with ArcGis Runtime API for iOS??

0 Kudos