Skip to main content

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.

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/SmartObject_Serialization-Deserialization.htm


 


 


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.


 


 


 


Reply