Why do I get an exception when I try to register a Hawk method without an output parameter?

Why do I get an exception when I try to register a Hawk method without an output parameter?

book

Article ID: KB0087751

calendar_today

Updated On:

Products Versions
TIBCO Adapter SDK -
Not Applicable -

Description

Resolution:
Most likely the Hawk method is defined (registered) with type ACTION_INFO, which requires an output parameter.

There are 3 types of hawk methods:
- ACTION - hawk method with input parameters
- INFO - hawk method with output parameters
- ACTION_INFO - hawk method with both output and input parameters

If this is the case, change the method to type ACTION since you don't want to specify any output parameter.

Issue/Introduction

Why do I get an exception when I try to register a Hawk method without an output parameter?