Exposing K2 functionality as Web Services

  • 19 August 2008
  • 1 reply
  • 2 views

Badge +1

Hi,

The K2 directory contains a subdirectory called WebServices, which contains the following files:

ClientEventService.asmx
InfoPathService.asmx
OutOfOfficeService.asmx
SharePointService.asmx

I couldn't find these services being referenced in any documentation.

Question:

  • Are these services intended to be called externally?
  • Can these services be called externally?
  • If not, what is the recommended way to expose K2 functionality as Web Services?
Thx, Eric

1 reply

Badge +11

These services are used by various K2 components which could be located on different computers.  Technically I don't think there is any reason you couldn't use them, if they do what you need.  You can obtain some information about them by looking at their WSDL.


If you want to expose K2 functionality as web service methods, you can easily write your own.  Many of the examples you see in the developer's reference could easily be implemented in a web service.  Just remember the identity under which the web service runs needs to be granted the server event right for the process.


David

Reply