<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Proxy.jsp configuration to access a Non-ArcGIS authenticated server in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/proxy-jsp-configuration-to-access-a-non-arcgis/m-p/352573#M9357</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to configure a ProxyEsri Java, i.e. proxy.jsp (ver. 1.1.2)&lt;BR /&gt;to call from a WAB app a remote server (NON ARCGIS) but a server that answers me with a simple JSON.&lt;/P&gt;&lt;P&gt;This server is authenticated with basic username and password.&lt;BR /&gt;My &lt;STRONG&gt;proxy.config&lt;/STRONG&gt; is set as follows:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ProxyConfig allowedReferers="*"&amp;nbsp;logFile="proxy_log.log"&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;logLevel="INFO"&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mustMatch="false"&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;serverUrls&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;serverUrl url="http://services.arcgisonline.com" matchAll="true"/&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;serverUrl url="http://remoteserver.com?param=value&amp;amp;format=json" matchAll="true" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;username="DMS_USER" &amp;nbsp;password="P12345"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/serverUrls&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/ProxyConfig&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I call the proxy as follows (on my tomcat):&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #f6f6f6; "&gt;&lt;A href="http://127.0.0.1:8080/ProxyEsri/proxy.jsp"&gt;http://localhost:8080/ProxyEsri/proxy.jsp?&lt;/A&gt;http://remoteserver.com?param=value&amp;amp;format=json&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it doesn't answer, because it prompts a login page for my proxy url. I tried to insert user and passwd again but it fails.&lt;/P&gt;&lt;P&gt;I tried also to call proxy sending user and password in url as:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #f6f6f6; "&gt;&lt;A href="http://127.0.0.1:8080/ProxyEsri/proxy.jsp" style="color: #2989c5; text-decoration: none;"&gt;http://localhost:8080/ProxyEsri/proxy.jsp?&lt;/A&gt;http://&lt;SPAN style="font-weight: 400;"&gt;DMS_USER:P12345@&lt;/SPAN&gt;remoteserver.com?param=value&amp;amp;format=json&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jul 2019 15:03:19 GMT</pubDate>
    <dc:creator>GianniContino</dc:creator>
    <dc:date>2019-07-29T15:03:19Z</dc:date>
    <item>
      <title>Proxy.jsp configuration to access a Non-ArcGIS authenticated server</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/proxy-jsp-configuration-to-access-a-non-arcgis/m-p/352573#M9357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to configure a ProxyEsri Java, i.e. proxy.jsp (ver. 1.1.2)&lt;BR /&gt;to call from a WAB app a remote server (NON ARCGIS) but a server that answers me with a simple JSON.&lt;/P&gt;&lt;P&gt;This server is authenticated with basic username and password.&lt;BR /&gt;My &lt;STRONG&gt;proxy.config&lt;/STRONG&gt; is set as follows:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;ProxyConfig allowedReferers="*"&amp;nbsp;logFile="proxy_log.log"&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;logLevel="INFO"&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;mustMatch="false"&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;serverUrls&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;serverUrl url="http://services.arcgisonline.com" matchAll="true"/&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;serverUrl url="http://remoteserver.com?param=value&amp;amp;format=json" matchAll="true" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;username="DMS_USER" &amp;nbsp;password="P12345"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/serverUrls&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/ProxyConfig&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I call the proxy as follows (on my tomcat):&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #f6f6f6; "&gt;&lt;A href="http://127.0.0.1:8080/ProxyEsri/proxy.jsp"&gt;http://localhost:8080/ProxyEsri/proxy.jsp?&lt;/A&gt;http://remoteserver.com?param=value&amp;amp;format=json&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it doesn't answer, because it prompts a login page for my proxy url. I tried to insert user and passwd again but it fails.&lt;/P&gt;&lt;P&gt;I tried also to call proxy sending user and password in url as:&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #f6f6f6; "&gt;&lt;A href="http://127.0.0.1:8080/ProxyEsri/proxy.jsp" style="color: #2989c5; text-decoration: none;"&gt;http://localhost:8080/ProxyEsri/proxy.jsp?&lt;/A&gt;http://&lt;SPAN style="font-weight: 400;"&gt;DMS_USER:P12345@&lt;/SPAN&gt;remoteserver.com?param=value&amp;amp;format=json&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2019 15:03:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/proxy-jsp-configuration-to-access-a-non-arcgis/m-p/352573#M9357</guid>
      <dc:creator>GianniContino</dc:creator>
      <dc:date>2019-07-29T15:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Proxy.jsp configuration to access a Non-ArcGIS authenticated server</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/proxy-jsp-configuration-to-access-a-non-arcgis/m-p/352574#M9358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Gianni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The esri proxy is specific to esri map services. It is not a generic proxy app that will work for non-esri service (most of the time).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2019 17:46:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/proxy-jsp-configuration-to-access-a-non-arcgis/m-p/352574#M9358</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-07-29T17:46:48Z</dc:date>
    </item>
  </channel>
</rss>

