Nintex for SharePoint 2016 API for a 3rd party application

  • 7 December 2020
  • 5 replies
  • 6 views

Hi all,



I'm new to Nintex and have been trying to find an API to get, schedule, start and stop workflows from a 3rd party application(Using postman for testing it for now). I have found this endpoint "http://<site>/_vti_bin/NintexWorkflow/Workflow.asmx" which provides administrative functionalities, but when I send a POST request to it and include an "op" parameter such as "op=StartWorkflow" , I keep getting the "soap:ReceiverServer was unable to process request. ---> Value does not fall within the expected range." message. I did some research on that and none of the solutions have worked. I do not know if endpoint is the correct way to go. I would really appreciate any help!


5 replies

Userlevel 5
Badge +17
Hi,

Please see the SDK documentation for the correct use of the web service.
https://help.nintex.com/en-US/sdks/sdk2013/#Reference/SOAP/NW_REF_SOAP_NAV_M.htm%3FTocPath%3DNintex%2520Software%2520Development%2520Kit%7CNintex%2520Workflow%25202013%2520Software%2520Development%2520Kit%7CNintex%2520Workflow%25202013%2520SDK%2520Reference%7CWeb%2520Service%2520Reference%7CService%2520operations%7C_____0

Thanks Simon for your reply! I am familiar with the SDK and its operations. I have been able to make it work internally, but that dose not really solve my problem because I want to do the same operation externally what I mean by that is, I can send a request from a third party application in this case postman and based on the SOAPAction I can accomplish the operation. This is the response I get back.

Userlevel 5
Badge +17
The screen shot is advising an issue finding the site. The screen shot is cutting of the URL that is being used. What is the URL being used?

Correct, I am getting the 500 level error. This is the url that I have been using http://<url:port>/tdl/1/_vti_bin/NintexWorkflow/Workflow.asmx. I have many Site Collection List which "tdl/1" is one of them. Same url works fine when I use it in the "Call web service" workflow actions and get the correct response. I am attaching the headers in a screenshot if that helps at all.



Thank you for helping!

I finally got it working! There were multiple things that had to be done in order to work. I wish Nintex had these instructions/steps on its website.

Reply