03-20-2017 10:36 AM - last edited on 07-04-2017 07:26 AM by Milla
I'm currently developing K2 processes using K2 (4.7) for Visual Studio with VS2015 on Windows 8.1.
But I can't seem to be able to add a web service reference...
I click the "Process References" button, click "Add", and the I go to the "Web" tab, insert the web service URL , and click discover.
I promptly get a "Web service discovered successfully. Press 'select' to add as a reference" response. But when I click "Select" nothing happens...
I already uninstalled/installed again K2 4.7 client tools and VS2015 without a change of behavior...
Any ideas to what it might be or what can I do to debug this behavior?
PS: If I use K2 Studio, the behavior is the same...unfortunately...
03-23-2017 04:06 AM
If no one can help me in my problem, can someone at least help me find another way to integrate a web service into my process using VS2015 ...maybe using smart objects...
The K2 4.7 version I'm using is 4.16060.2000.3
Thanks in advance
03-23-2017 05:35 AM
Not sure about the issue of not being able to add a reference with K2 4.7 in Visual Studio. However, its probably not the best way to try and integrate with web services anyways. Exposing the web service through SmartObjects if much more flexible.
Take a look at the End Points Web Service Service Object.
As well here is another video which is a demonstration of how to use it and will probably make much more sense than your first read through the documentation.
03-27-2017 04:20 AM
What is your current .NET Framework?
I have seen this before where the error is thrown when on .NET 4.5 and adding a service reference.
Try rolling back to .NET 4.0 or use "EndPoint WCF"