NAME
Kernel::GenericInterface::Invoker::Test::Test – GenericInterface test Invoker backend
PUBLIC INTERFACE
has DebuggerObject
Attribute that holds the debugger object.
new()
usually, you want to create an instance of this by using Kernel::GenericInterface::Invoker->new();
PrepareRequest()
prepare the invocation of the configured remote web service.
my $Result = $InvokerObject->PrepareRequest(
Data => { # data payload
...
},
);
$Result = {
Success => 1, # 0 or 1
ErrorMessage => '', # in case of error
Data => { # data payload after Invoker
...
},
};
HandleResponse()
handle response data of the configured remote web service.
my $Result = $InvokerObject->HandleResponse(
ResponseSuccess => 1, # success status of the remote web service
ResponseErrorMessage => '', # in case of web service error
Data => { # data payload
...
},
);
$Result = {
Success => 1, # 0 or 1
ErrorMessage => '', # in case of error
Data => { # data payload after Invoker
...
},
};