Symptoms
I am implementing the same 'Employee' service in our K2 connect environment that is outlined in the K2 connect training course. One of the service methods that is defined is called 'ListEmployeesByLastName' (friendly name). This method calls the 'BAPI_EMPLOYEE_GETDATA' BAPI in SAP. The problem we're having is that all of the properties are being published as Memo data types. However, in the K2 connect designer, it correctly shows the proper data types for the properties, i.e. in the 'PERSONAL DATA' structure, 'BIRTHDATE' is a System.DateTime, 'PERNO' is a System.Decimal, etc. However, once the service object is published, all of the properties get converted to Memo data types. This is preventing us from building SmartObjects with the proper data types.
Diagnoses
The issue is caused by K2 Connect Service instance is manually created in SmartObject Service Tester.
Resolution
Remove the K2 Connect Service Instance from Service Instance from SmartObject Service Tester tool, remove Service Objects from K2 Connect Admin Tools then recreated K2 Connect Service Instance from K2 Connect Admin Tools then republish all your Service Objects