SmartObject Runtime APIs and Services
This section describes the available APIs and Services that can be used to interact with SmartObjects at runtime.
Technology | Available interfaces | Typical use and additional notes |
---|---|---|
.NET Assemblies | SourceCode.SmartObjects.Client | Execute SmartObject methods from .NET code |
SourceCode.Data.SmartObjectsClient | ADO.NET Provider: execute SmartObject methods from technologies capable of consuming an ADO.NET data source | |
SourceCode.SmartObjects.Services.Management | Exposes functions to manage deployed SmartObjects and manage Service Types, Service INstances and Service Brokers | |
WCF Services | http://[servername]:[port]/SmartObjectServices/wcf/[smartobject] | Use .NET code to execute SmartObject methods through a Web Service. The WCF service provides strongly-typed classes which makes development easy. |
REST Services | http://[servername]:[port]/SmartObjectServices/rest/[smartobject]/[method] | Execute SmartObject methods through a Web Service from any technology capable of interacting with REST web services |
The K2 SmartObject Tester utility, located at
[Program Files]\K2 blackpearl\Bin\SmartObject Service Tester.exe
is an extremely valuable tool for developers who are writing code against SmartObjects.
You can use this utility to explore SmartObjects, generate code, test ADO queries, test SmartObjects and more. We encourage you to use the utility and become very familiar with it since it will help considerably when you are writing code against K2 SmartObjects.
[Program Files]\K2 blackpearl\Bin\SmartObject Service Tester.exe
is an extremely valuable tool for developers who are writing code against SmartObjects.
You can use this utility to explore SmartObjects, generate code, test ADO queries, test SmartObjects and more. We encourage you to use the utility and become very familiar with it since it will help considerably when you are writing code against K2 SmartObjects.