Endpoints Assembly

The Endpoint Assembly Service Type enables you to call Public Static methods from .NET assemblies by exposing these methods as SmartObjects. The broker utilizes serialization and deserialization to work with .NET types.

Service Keys (Service Instance Configuration Settings)

Key Can be modified Data Type Sample Value Notes
Assembly Full Path Yes Text

\\server\share\file_path

C:\Program Files (x86)\K2 blackpearl\Host Server\Bin

The full path, relative to the K2 Server, to the assembly. Universal Naming Convention (UNC) paths are supported.
Serialization: Compress Yes True/False False Compress the serialization data for complex types.
Serialization: Include All Assembly types Yes True/False True Includes all available serialization objects regardless of usage in public methods
Names: Append Property Types Yes True/False True Includes the property type in parentheses after the complex property name. Default value: True.
Names: Use Method FullName Yes True/False True Uses the full name of the method including the property names and types. Default value: True.
Debugging Enabled Yes True/False False Displays stack trace information in dialog and error information. Default value: False.

Service Objects

When generating SmartObjects for an Endpoint Service Instance, some standard categories of SmartObjects are created; for example, the Object Types, and System Types. These define the data types used. Other SmartObjects may be generated depending on what the Endpoint exposes.

SmartObjects

K2 does not automatically create SmartObjects for the Service Objects in this service. SmartObjects are automatically created when selecting the Generate SmartObjects for this Service Instance check box when creating a new Service Instance. Designers may use the available Service Objects in this service to create advanced SmartObjects using the available K2 SmartObject design tools. It is recommended to use the K2 Design tools to create SmartObjects rather than generating SmartObjects, since this allows better control over the naming, behavior and design of the SmartObject and its methods and properties.

Considerations