Skip to main content
In K2.net studio, how do you add a reference to a web service available on the internet, if the only access to the internet is thru a proxy server?

Regards

Deon
Currently this is not supported in K2Studio to add a Web Service when connecting through a Proxy server. There is a workaround to accomplish this. The way a web service reference is added in K2Studio is to create a stub Dll from the Web service. This is done in 3 steps:

1) Create a WSDL file using the "Disco.exe" in the command line. (Can be found in the VS.NET SDK). Here you will be able to specify the Proxy Username and Password.
2) After creating a WSDL file you will need to create a CS library file using the previously created WSDL file. This can be done by using the "WSDL.exe". (Can be found in VS.NET SDK; select the Language as CSharp when creating the library)
3) Once the cs library file is created compile it into a Dll using the "csc.exe"(Can be found in the .NET Framework directory.

After these 3 steps you should be able to reference this Dll in K2Studio.

Hope this helps.

Reply