Zum Hauptinhalt gehen

Autocomplete and Secured Services

Kommentare

5 Kommentare

  • Permanently deleted user

    Hi Tom,

    In the current version of forms the only way to access a secured service is to use a proxy page set in the "Query Task Url" directly.

    http://something.com/proxy.aspx?http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/TaxParcel/AssessorsBasemap/MapServer

    for example. 

     

    In the next release of forms (1.1), there will be proxyUrl and Token attributes available when configuring the autocomplete/combobox/listbox.

    Cheers,

    Christian.

     

    P.S. To set up a proxy page, follow ESRI's instructions:

    http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/ags_proxy.htm

     

     

    0
  • Tom Neer

    Not sure what is going wrong. The instructions for setting up a proxy are a bit vague for IIS7.5. When I try to use the proxy, I get:

    {"error":{"code":498,"message":"Invalid token","details":[]}}

    I've tested the token and it is valid. Are there any specific instructions of IIS7.5, also does the ashx need to be rewritten to a aspx (URL rewrite)? Not an IIS person. 

    Thanks, -Tom

    0
  • Permanently deleted user

    I am trying to doing the same thing on IIS 7.5 as well, did anyone manage to get it to work? 

    Using Essential 3.7.

    0
  • Tom Neer

    Yes, I got this working. In my case, GeoCortex and ArcGIS Server are on the same physical machine. Instead of passing the website address to retrieve a token, use the IP address of the server. -Tom

    0
  • Tom Neer

    Oh and the other thing I messed up. I set up the application on the file, not on the folder in IIS. That was bad.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.