Add a Web Reference?

  • 17 August 2009
  • 3 replies
  • 1 view

Badge +9

I am trying to call a web service from with a server code event. Normally I would do this by right clicking on the project name, and choosing "Add Web Reference", but this option does not exist for my K2 Blackpearl project.

This probably puts me in the bottom 1% for intelligence (but I'm getting used to it), but I have to ask:
How do I add a web reference to my project so that I can call a web service?
Should I be calling a web service using some other method??


Thanks in advance for enlightening me!


3 replies

Badge +4
What I use to do is to add a Visual Studio proxy project and then add a reference to it from my K2 project. In this proxy project I add the web reference and a class and method I can call from K2.
Badge +11

I hope you find this post helpful


http://k2underground.com/forums/thread/31883.aspx

Badge +9

Thanks for getting back to me guys - I have added another project to the solution, and have created the webservice reference in there, which has achieved the results required.

Clearly still a lot to learn about K2!

Thanks again for your help - I really appreciate you getting back to me.

Reply