Home Forum Blog Market Events Resources
Showing results for 
Search instead for 
Do you mean 
Highlighted
Occasional Contributor
Posts: 7
Registered: ‎11-26-2017

Web service running in Visual Studio

I have a Webservice that is running using visual studio.

I want to connect the Webservice to my k2 but the problem is that my web service is using object as input parameters

while in k2  it only accepts string or numbers.

 

Need help on how to overcome this scenario, for your guidance.

 

in my VS

Input Paremeters (id,password,text, text) but combine in object as input parameters.

Moderator
Moderator
Posts: 916
Registered: ‎05-08-2012

Re: Web service running in Visual Studio

You will like need to make use of Serialization/Deserialization and possibly the use of method chaining :

https://help.k2.com/onlinehelp/k2blackpearl/userguide/4.7/default.htm#ServiceBrokers/EndPoints/Smart...

 

 

Essentially, Serialization will allow you to specify properties for an object and then return this object as a Complex String/XML representation that you will pass into the actual method.

 

 

 

K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.