Error creating Web Service event in K2.Net SP4

  • 11 April 2007
  • 3 replies
  • 1 view

Badge +7
Hi,

It worked ok in SP3, but on another server where K2.Net 2003 SP4 is installed I can't get the methods of a web service.

In Web Service Event wizard I type the URL to a web service http://myserver/_vti_bin/DWS.asmx, it retrieves the webservice name DWS on the next screen, but when I click NEXT button to get the methods of this webservice I get an error:
"The webservice C# Stub could not be generated"
then "Object reference not set to an instance of an object"
and then "Error creating Web Service Proxy dll"

How can I correct this?

3 replies

Badge +5
Hi,
Are you using the same service that you did in sp3?
Badge +7
I've started a blank solution to test it, drop one Activity after Start one, and then just put a Web Service event into it and try to configure it obtaining the DWS.asmx methods (I wanted to use Create Folder method to create a custom folder in SPS document library).
And I have the same error as described. May it be some restrictions in Windows server environment?
Badge +7
Of course I can make programmatically adding DWS as a web reference and writing some code, but I really can't understand what is going wrong with exporting DWS methods through WebService event

Reply