Select to view content in your preferred language

Can the Application Builder be used with non-standard URLs?

2379
4
01-03-2012 07:23 AM
RebeccaStrauch__GISP
MVP Emeritus
I am trying to browse to my 10.0 production services using the ArcGIS View for Flex Application Builder. I have a non-standard URL.  That is, instead of the typical "/ArcGIS/rest/services" as part of the URL, I have a IIS virtual directory that substitutes  "/ags/services".  When attemping to browse to this 10.0 server using the full (external) URL path (which does work in the services directory), the application builder continues to give a busy indicator. 

If I use app builder to browse to the same server using the machine name with the standard "ArcGIS/rest/Services" it does locate the server.

The production machine is 64-bit Windows 2008 (virtual) running 10.0 sp3.  We have mutilple IPs/web pages so do not use the machine/default typically (except for testing) and it is not accessible thru the Internet (intra only).

Beta machine (with app builder) is the same but running 10.1 beta 2.

Thanks.

...aditional info.  Although the  http://<machinename>ArcGIS/rest/services worked for selecting my base and operational maps, I'm receiving a security error when I am trying to view in design and preview.  I'm assuming this is because that URL is not exposed to the internet.  (??)
Tags (2)
0 Kudos
4 Replies
BjornSvensson
Esri Regular Contributor
I have a IIS virtual directory that substitutes  "/ags/services".
This should work fine in general. You could test with for example http://mapservice.mapthespill.org/AGS/rest/services or http://gis1.sgrc.selkirk.ca/sgrcservices/rest/services.  I've heard other reports that some URLs don't work, but we haven't been able to figure out why yet.  Note that if the server has many services, it might take quite a while to finish checking them all. Meanwhile you'll just see the big busy indicator.

I'm receiving a security error when I am trying to view in design and preview.  I'm assuming this is because that URL is not exposed to the internet.  (??)

No, there is no requirement to have it exposed to the internet.  More likely this is a crossdomain issue or some other issue. Do you get the same security error when running it in a browser?

Q. Do you have security enabled in some form on some of these servers?
0 Kudos
RebeccaStrauch__GISP
MVP Emeritus
Thanks for the suggestions Bjorn.  I did update my crossdomain.xml file on both my production machine and my beta machine.  I'm not sure if that did anything, but I was able to start test some other situations, including testing with the API beta.

I downloaded and installed the flash player and installed Flash Build 2.6. Unfortunately, due to the extreme cold weather here (or so that's what they are blaming it on),  the power outlets in my office seemed to have fried, so things slowed down. (They should be in to fix in the morning).

But with some preliminary tests I did, it appears that if I locate the web folders outside of the inetpub/wwwroot path (e.g. in my profile) and opening the .html, I'm able to access my production services using the API without a security error.  But if I copy it to the inetpub, it fails.  So I think I have issues with inetpub.  I'll look into this once I have my other machine back up.

However, the Flex View App Builder still will not browse to the production machine, even after waiting overnight (so not a timeout issue).  Could the 2 issues be connected?  Is it better for me to put in a beta tech support request for this, rather than the forum?  I did install the Web Adapter, but I may have set it up wrong for our multiple IPs. That's the only guess I have.
0 Kudos
BjornSvensson
Esri Regular Contributor
Is it better for me to put in a beta tech support request for this, rather than the forum?


Yes, that's probably going to be better.
0 Kudos
RebeccaStrauch__GISP
MVP Emeritus
Ok, I'll do that in the a.m.
0 Kudos