When I go to:
http://localhost:8080/Java/proxy.jsp?http://services.arcgisonline.com/ArcGIS/rest/services/?f=pjson
I get a list of services, so it appears I have set up the proxy correctly (per instructions at the GitHub resource-proxy page)
But when I go to:
which is the extra WMS layer in the WMS layer | ArcGIS API for JavaScript sample, I get the error:
{"error": {"code": 403,"details": ["The proxy tried to resolve a prohibited or malformed URL. The server does not meet one of the preconditions that the requester put on the request."], "message": "403 - Forbidden: Access is denied."}}
That is, it looks like I am hitting the ESRI server, but something is wrong on my end.
I do get a list of capabilities, though, when I go straight to http://sampleserver1.arcgisonline.com/…esCitiesRivers_USA/MapServer/WMSServer?SERVICE=WMS&REQUEST=Ge...
What can I check next?
Solved! Go to Solution.
Everything works now. It seems like changes I make to the web service don't always get reflected with the first restart...
Everything works now. It seems like changes I make to the web service don't always get reflected with the first restart...