Select to view content in your preferred language

Local Web Services not displaying in JavaScript API

4073
15
07-29-2015 10:47 AM
AdamSeamans1
Deactivated User

I have now been thrown into the role of a GIS Web Developer.  All the previous experience I have had has been with the Flex API but since Microsoft is pulling the plug on that (someday?), my company wants to work in with the JavaScript API.  I have next to no experience with this API.  I have set up a simple application, which is essentially a copy paste rip off of the following app: Popup widget | ArcGIS API for JavaScript.   I have worked through it and added my own local REST service to the application. The REST service is  publicly facing but, for some reason, is not displaying on the map at all.  The application itself loads, with the base map and everything.  Just not my actual service.  Can anyone offer any ideas as to why?  I have attached the html code I have so far. Thanks. 

Tags (1)
0 Kudos
15 Replies
AdamSeamans1
Deactivated User

Switched it over to just HTTP and am still having the same problem.  Page loads but my local services do not.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Adam,

   You are still having issue with your ArcGIS Server configuration.

This is what I get from your server.

The ArcGIS Web Adaptor has been configured with SSL/HTTPS. Please enable SSL/HTTPS for your ArcGIS Server Site.

0 Kudos
AdamSeamans1
Deactivated User

Robert,

There is something else going on here that I am just not understanding.  I think I need to take a step back and do some additional homework.  Thanks for all of your help.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Adam,

   It looks like your Web Adaptor is still set to use https.

0 Kudos
AdamSeamans1
Deactivated User

Robert,

Yes, after I set it to HTTP and it didn’t work I set it back to mixed mode so I could keep my baseline set. With this configuration I can see services outside of our network, just not in the app I am trying to build. Once I figure out the exact steps I need to take I will make the switch again.

Adam Seamans

Data Analyst

direct: 651-291-3479 · cell: 651-775-5240

aseamans@baywest.com<mailto:aseamans@baywest.com>

Bay West LLC

Customer-Focused Environmental & Industrial Solutions

5 Empire Drive, St. Paul, MN 55103

24-hrs: 1-800-279-0456

www.baywest.com<http://www.baywest.com/>

Check it out. . . Bay West Way of Being<http://www.baywest.com/about-us/way-of-being.html>

Please consider the environment before printing this email.

<https://www.facebook.com/pages/Bay-West-Inc/137847942896160?ref=ts> <http://www.linkedin.com/company/bay-west-inc>

0 Kudos
RebeccaStrauch__GISP
MVP Emeritus

Adam, Thomas Colson​ put out a new blog post Summary of ArcGIS Server SSL Issues  that has links to many of the SSL discussion on geonet....might help in your research.