POST
|
No, I did not. Neither I remember how we solved this issue. We haven't been building Silverlight based apps for years now.
... View more
03-02-2017
07:16 AM
|
0
|
1
|
619
|
POST
|
Hello Alex, we've solved it only halfway. We are now able to add feature layer to a map for editing. There is still this problem with ArcGIS Online calling sharing/proxy (returns 502 error), but the map doesn't seem to care and works fine with the layer. It was a long process of debuging, but from what I can recall, the most important part was to handle the HTTP headers correctly. There must be two-way trust set up for ArcGIS Online and the map service server, which must return: Access-Control-Allow-Credentials:true Access-Control-Allow-Origin:http://org_name.maps.arcgis.com What remains unsolved is the possibility to add the layer to "My content" section (Add Item from Web). ArcGIS Online still expects the layer to have token authentication and pops up the OAuth credentials form instead of asking for basic auth.
... View more
06-08-2016
03:15 AM
|
1
|
0
|
786
|
POST
|
We have a Feature Service secured with HTTP Basic Auth (Web-Tier authentication) and we need to publish this service in ArcGIS Online for editing. The service is accesible via SSL with valid certificate. But here comes the trouble... 1) When adding the service to the map, ArcGIS Online asks for credentials and displays the service correctly. Unfortunatelly at the same time we get an error stating that the service is not accessible for ArcGIS.com application and cannot be edited. Looking into the communication I've found the problem is caused by ArcGIS Online using a proxy which cannot access our service http://organization.maps.arcgis.com/sharing/proxy?https://ourservice. Fiddler says it returns the http 502 error - Bad Gateway. 2) According to the documentation (Configure security settings—ArcGIS Online Help | ArcGIS ), this is expected behavior and Trusted Servers setting should be used to achieve this. AGOL is supposed to store credentials for those servers and pass them through the proxy, am I right? But when we add our domain to the trusted servers list, ArcGIS Online stops asking for credentials at all and we cannot even add the service to the map. AGOL only says the service cannot be added with no additional details. We have CORS enabled on the server (it returns Access-Control-Allow-Origin: organization.maps.arcgis.com) and we've tried Chrome and IE 11, but with no luck. Is there something else that needs to be configured?
... View more
01-12-2016
08:38 AM
|
0
|
4
|
5118
|
POST
|
Hi. I'm trying to execute and SQL query with datetime condition on a geodatabase, but an Exception ('An invalid SQL statement was used.') is thrown. The code is bellow: var sqlStatement = "SELECT * FROM TableName WHERE Edited > '15.9.2014 14:28:58'"; foreach (Row row in geodatabase.ExecuteSQL(sqlStatement)) { var temp = row.GetGlobalID(); Console.Write(temp); } Okay, there is someting wrong with SQL statement (the WHERE part), but how can I write it correctly? I there a problem in Datetime format? Or is that kind of query even possible with File Geodatabase API (using version 1.3)?
... View more
09-15-2014
06:04 AM
|
0
|
1
|
3848
|
POST
|
I've come across a situation when this automatic resolving doesn't work. I am sending a query to a map service with a very long where clause so the whole URL is more than 2200 characters long. But still the http request is being sent with GET method and I get an error 404.15 "The request filtering module is configured to deny a request where the query string is too long." My app is built with ArcGIS Silverlight API. Is there any solution to this problem? Thanks in advance...
... View more
10-12-2012
02:31 AM
|
0
|
3
|
619
|
Title | Kudos | Posted |
---|---|---|
1 | 06-08-2016 03:15 AM |
Online Status |
Offline
|
Date Last Visited |
03-11-2024
12:53 AM
|