WFM Server and "Send Web Request" step

388
2
03-30-2022 03:32 AM
GianmariaPandolfi
New Contributor

Hi
I am using the WFM 10.9.1 server and I would like to change the content of a feature service using the "Send Web Request" step.

I have configured the step with the URL for updating by post request as shown below (url = "https://XXXXXXXXX/srvf/rest/services/WS_DAPHNE/JOB/FeatureServer/0/updateFeatures")

GianmariaPandolfi_0-1648635945815.png

I have set up authentication using user and password

GianmariaPandolfi_1-1648636022755.png

and finally I set the message body as Json.

GianmariaPandolfi_2-1648636084037.png

 

By executing the JOB and passing the step, nothing happens: it does not update the content of the feature, and there is no message (server side) indicating something not correct.
What am I doing wrong?

 

Thanks

 

Gianmaria

0 Kudos
2 Replies
by Anonymous User
Not applicable

Hello Gianmaria,

Thank you for reaching out with this issue.  One possibility is that the request is failing due to the authorization method.  You can try authenticating your request with an access token using the generateToken endpoint.  This is the most common authorization method when working with the ArcGIS REST API.

https://developers.arcgis.com/rest/users-groups-and-items/generate-token.htm

It's also possible that error messages are being thrown at a higher log level than what you are currently querying.  Do any error messages appear if you raise your log level to verbose or debug?

 

Best,

Robert Smith  

 

0 Kudos
PalakPandey
New Contributor II

Hi @GianmariaPandolfi ,

 

Were you able to fix this issue? I am facing similar issue

 

TIA

0 Kudos