views:

64

answers:

2

Using Visual Studio 2005 and C# .NET I was attempting to call methods from the SkillSoft API through their web service and have been running into issues when creating the instance. I started by adding the web service reference to the project (Add Web Reference) and that works fine. Where I get tripped up is in the main .cs where I wish to call the methods I create an instance with the line of code:

SkillSoftWebService.OlsaService service = new SkillSoftWebService.OlsaService();

When I build and run this I get a CS0029 error: InvalidOperationException and it mentioned implicitly converting the queryInclude type to the queryExclude type. I know this question is specific to only those using Skillsoft but I was wondering if anyone had found a work around to this?

Thank you!

A: 

As I stated in my last comment, it was actually an issue with the Web Service provided methods so I was able to work around this generic exception by just removing the offending method (since I didn't need it).

ajdams
A: 

I know this has been a while in the past, but I am running into the same problem with Skillsoft's web service and was wondering what you had to comment out in order to make this work. Thanks in advance for any help you can provide.

PS. Didn't mean to post this as an answer, but couldn't find a place to add a comment. New to the site, please excues me.

David Siebert
@David Siebert: It was an error in the Web Service method and I had to comment out the particular lines of code in their SkillSoft toolkit.
ajdams