Nintex forms webservice error

  • 5 January 2021
  • 1 reply
  • 175 views

Badge +1

I was playing around with the nintex forms webservice yesterday and encountering some error. I am using the "web request" action to call the web service but it returns an error "Request failed with status: Method Not Allowed.". The same error occurs when I use "Call web service". Is the web service not useable on nintex workflow functions? I haven't tried the powershell and .net approach yet as we want to keep everything in the nintex environment.

here's a link to the forms web serviceĀ 


1 reply

Userlevel 6
Badge +22
Hi,

For the forms web service you will need to use the Web Request action as the "Content type" needs to be application/json and this cannot be changed in the call web service action.

Use the URL: Web URL/_vti_bin/NintexFormsServices/NfRestService.svc/GetFormXml

"Web URL" is a Reference that can be found in the common tab of the reference selector.

Add the List guid to the Body of the request and that's all that is needed.
e.g
{
"listId": "{f1df1d74-f65c-4fda-a6d3-679a4308ed72}"
}

Reply