cancel
Showing results for 
Search instead for 
Did you mean: 
lillibrh
Nintex Newbie

how to call web service in nintex workflow?

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=7bc7...

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=7bc7...
and
http://147.135.229.103:9019/api/1.0/Contact/GetAll?apiKey=97428B26AAFA41FD9A600C7BA6D441AD&user=7bc7...

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?

0 Kudos
Reply
3 Replies
lillibrh
Nintex Newbie

Re: how call web service in nintex workflow?

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

0 Kudos
Reply
Automation Master
Automation Master

Re: how to call web service in nintex workflow?

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. 

Reply
Automation Master
Automation Master

Re: how to call web service in nintex workflow?

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=7bc7...

Hope this helps

0 Kudos
Reply