AnsweredAssumed Answered

Java Proxy is Not Working for Network Services

Question asked by siva.lntgis on Jul 16, 2018

Hello,

 

I want to include proxy for my request and response in my application built using ArcGIS javascript api 3.22

I downloaded the  Java source from the following link GitHub - Esri/resource-proxy: Proxy files for DotNet, Java and PHP.  

and I have hosted that in Apache Tomcat 9.

 

when i tried to use my direction widget in my web application, this proxy is throwing 500 Internal Server Error for the POST request.but the same is working when it comes through GET request.

 

NOTE: " I'm getting the error when my application is trying to reach Internal Network Service for getting the Routes "

Please help me to solve this.

 

Regards

Siva

Outcomes