how to call web service in nintex workflow?

  • 12 September 2018
  • 3 replies
  • 60 views

Badge +1

I want to use "Call Web Service" in nintex workflow.I use the URL of a web srevice which is developed in asp.net core. The link in my local host is:http://147.135.229.103:9019/api/1.0/Contact/GetAll?apiKey=97428B26AAFA41FD9A600C7BA6D441AD&user=7bc7014f-7a04-4d60-bee0-69060c1d4e45

I enter the URL format in two format shown in below,in the Operation Configuration of Call Web Service action:
http://147.135.229.103:9019/api/1.0/Contact/GetAll?apiKey=97428B26AAFA41FD9A600C7BA6D441AD&user=7bc7014f-7a04-4d60-bee0-69060c1d4e45/_vti_bin/Lists.asmx
and
http://147.135.229.103:9019/api/1.0/Contact/GetAll?apiKey=97428B26AAFA41FD9A600C7BA6D441AD&user=7bc7014f-7a04-4d60-bee0-69060c1d4e45/_vti_bin/NintexWorkflow/Workflow.asmx

whereas, I faced this error for both format, when I press Refresh to see Web method:

The URL entered did not return a valid web service definition.

Do you know what should I do?


3 replies

Badge +1

If it's possible, send me an example of correct format of web service, which i can test it.

Userlevel 7
Badge +17

The SharePoint web services found in /_vit_bin/ for services like lists.asmx can only be reached at the webs. So the url must be in the format http://siteurl/sites/sitecollectionurl/_vti_bin/lists.asmx

You should be able to drop that url format in the browser and see the wsdl. If you do not, then the url is not correctly formatted.Ā 

Userlevel 5
Badge +9

Maybe you should try to use the action "Web request" to call this url :

http://147.135.229.103:9019/api/1.0/Contact/GetAll?apiKey=97428B26AAFA41FD9A600C7BA6D441AD&user=7bc7014f-7a04-4d60-bee0-69060c1d4e45

Hope this helps

Reply