<?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 Problem accessing GeoServer with built-in proxy in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/problem-accessing-geoserver-with-built-in-proxy/m-p/438386#M11580</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to display a WFS layer in a web app built with Web AppBuilder Developer Edition, this layer is hosted on a GeoServer and uses a PostGIS data store. When I perform the POST request to get the features using a tool like POST Man on my server URL &lt;A class="link-titled" href="http://127.0.0.1:32771/adsb-docker/wfs" title="http://127.0.0.1:32771/adsb-docker/wfs"&gt;http://127.0.0.1:32771/adsb-docker/wfs&lt;/A&gt;&amp;nbsp;everything is fine. When the request is made by the web app the URL become proxied to&amp;nbsp;&lt;A class="link-titled" href="https://laptop-lc:3344/proxy.js?http://127.0.0.1:32771/adsb-docker/wfs" title="https://laptop-lc:3344/proxy.js?http://127.0.0.1:32771/adsb-docker/wfs"&gt;https://laptop-lc:3344/proxy.js?http://127.0.0.1:32771/adsb-docker/wfs&lt;/A&gt;&amp;nbsp;and the GeoServer return an error like this one :&amp;nbsp;&lt;A class="link-titled" href="http://stackoverflow.com/questions/24952960/how-to-correctly-request-a-geoserver-wfs-via-post" title="http://stackoverflow.com/questions/24952960/how-to-correctly-request-a-geoserver-wfs-via-post"&gt;How to correctly request a geoserver WFS via POST? - Stack Overflow&lt;/A&gt;. I suspect that some headers are not properly forwarded to it but any support on this is welcomed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The request body is the following:&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version='1.0' encoding='utf-8'?&amp;gt;&lt;BR /&gt;&amp;lt;GetFeature &lt;BR /&gt;&lt;SPAN&gt; xmlns:xsi='&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance" rel="nofollow" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:gml='&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.opengis.net%2Fgml" rel="nofollow" target="_blank"&gt;http://www.opengis.net/gml&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:ogc='&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.opengis.net%2Fogc" rel="nofollow" target="_blank"&gt;http://www.opengis.net/ogc&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:wfs='&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.opengis.net%2Fwfs" rel="nofollow" target="_blank"&gt;http://www.opengis.net/wfs&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns='&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.opengis.net%2Fwfs" rel="nofollow" target="_blank"&gt;http://www.opengis.net/wfs&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:adsb-docker='&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.airbus.com%2Fadsb-docker" rel="nofollow" target="_blank"&gt;http://www.airbus.com/adsb-docker&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;BR /&gt; version='1.1.0' service='WFS' maxFeatures='100'&amp;gt;&lt;BR /&gt; &amp;lt;wfs:Query typeName='adsb-docker:aircrafts' srsName='EPSG:4326'&amp;gt;&lt;BR /&gt; &amp;lt;/wfs:Query&amp;gt;&lt;BR /&gt;&amp;lt;/GetFeature&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Mar 2017 15:05:42 GMT</pubDate>
    <dc:creator>LUCCLAUSTRES</dc:creator>
    <dc:date>2017-03-27T15:05:42Z</dc:date>
    <item>
      <title>Problem accessing GeoServer with built-in proxy</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/problem-accessing-geoserver-with-built-in-proxy/m-p/438386#M11580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to display a WFS layer in a web app built with Web AppBuilder Developer Edition, this layer is hosted on a GeoServer and uses a PostGIS data store. When I perform the POST request to get the features using a tool like POST Man on my server URL &lt;A class="link-titled" href="http://127.0.0.1:32771/adsb-docker/wfs" title="http://127.0.0.1:32771/adsb-docker/wfs"&gt;http://127.0.0.1:32771/adsb-docker/wfs&lt;/A&gt;&amp;nbsp;everything is fine. When the request is made by the web app the URL become proxied to&amp;nbsp;&lt;A class="link-titled" href="https://laptop-lc:3344/proxy.js?http://127.0.0.1:32771/adsb-docker/wfs" title="https://laptop-lc:3344/proxy.js?http://127.0.0.1:32771/adsb-docker/wfs"&gt;https://laptop-lc:3344/proxy.js?http://127.0.0.1:32771/adsb-docker/wfs&lt;/A&gt;&amp;nbsp;and the GeoServer return an error like this one :&amp;nbsp;&lt;A class="link-titled" href="http://stackoverflow.com/questions/24952960/how-to-correctly-request-a-geoserver-wfs-via-post" title="http://stackoverflow.com/questions/24952960/how-to-correctly-request-a-geoserver-wfs-via-post"&gt;How to correctly request a geoserver WFS via POST? - Stack Overflow&lt;/A&gt;. I suspect that some headers are not properly forwarded to it but any support on this is welcomed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The request body is the following:&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version='1.0' encoding='utf-8'?&amp;gt;&lt;BR /&gt;&amp;lt;GetFeature &lt;BR /&gt;&lt;SPAN&gt; xmlns:xsi='&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance" rel="nofollow" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:gml='&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.opengis.net%2Fgml" rel="nofollow" target="_blank"&gt;http://www.opengis.net/gml&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:ogc='&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.opengis.net%2Fogc" rel="nofollow" target="_blank"&gt;http://www.opengis.net/ogc&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:wfs='&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.opengis.net%2Fwfs" rel="nofollow" target="_blank"&gt;http://www.opengis.net/wfs&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns='&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.opengis.net%2Fwfs" rel="nofollow" target="_blank"&gt;http://www.opengis.net/wfs&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:adsb-docker='&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fwww.airbus.com%2Fadsb-docker" rel="nofollow" target="_blank"&gt;http://www.airbus.com/adsb-docker&lt;/A&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;BR /&gt; version='1.1.0' service='WFS' maxFeatures='100'&amp;gt;&lt;BR /&gt; &amp;lt;wfs:Query typeName='adsb-docker:aircrafts' srsName='EPSG:4326'&amp;gt;&lt;BR /&gt; &amp;lt;/wfs:Query&amp;gt;&lt;BR /&gt;&amp;lt;/GetFeature&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Mar 2017 15:05:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/problem-accessing-geoserver-with-built-in-proxy/m-p/438386#M11580</guid>
      <dc:creator>LUCCLAUSTRES</dc:creator>
      <dc:date>2017-03-27T15:05:42Z</dc:date>
    </item>
  </channel>
</rss>

