Select to view content in your preferred language

Local ArcGIS Server used with local Web AppBuilder

459
0
11-25-2020 03:23 AM
KatarzynaMorawska
New Contributor

Hi.

I installed ArcGIS server on WM on my computer. Then I published WFS on the server. I can connect to WFS in my local network and display it using eq. QGIS with: https://192.168.1.55:6443/arcgis/services/shetches/MapServer/WFSServer

I downloaded ArcGIS Web AppBuilder (Developer Edition) and followed all steps in the tutorial:  https://developers.arcgis.com/web-appbuilder/guide/getstarted.htm 

URL: http://desktop-auvhne/webappbuilder and redirect URIs to http://desktop-auvhne and https://desktop-auvhne

I ran Web AppBuilder and created a simple app with AddData Widget

Problem:

  1. If I try to add sample WFS it works and displays features correctly: https://dservices.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/services/JapanPrefectures2018/WFSServer
  2. If I try to add my WFS I see that request for getCapabilities and describeFeatureType works fine, but Post with GetFeature request fail - In Web AppBuilder for ArcGIS console i see: Argument error, options body


I've noticed in devtools that first requests looks like: https://dservices.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/services/JapanPrefectures2018/WFSServer

My requests uses proxy:  https://desktop-auvhne3:3344/proxy.js?https://192.168.1.55:6443/arcgis/services/shetches/MapServer/WFSServer
I tried to make a post request with getFeature via Postman without proxy and i get correct answer. 

How can I fix this problem and display my local WFS with my local app?

0 Kudos
0 Replies