I want to use OTRS as a provider for a REST web service.
Unfortunately, I'm not able to get it work. I always receive the following error, independent of the request:
Code: Select all
Backend Kernel::GenericInterface::Transport::HTTP::REST not found. (2016-04-29 10:46:20, error)
No data provided
TransportObject could not be initialized (2016-04-29 10:46:20, error)
$VAR1 = {
'ErrorMessage' => 'Backend Kernel::GenericInterface::Transport::HTTP::REST not found.',
'Success' => 0
};
Also, REST is registered in SysConfig "GenericInterface::Transport::ModuleRegistration".
I'm using OTRS 5.0.9 with ITSM on Debian Jessie.
Please find in the following the Config of the REST web service:
Code: Select all
---
Debugger:
DebugThreshold: debug
TestMode: '0'
Description: Ticket Connector REST Sample
FrameworkVersion: 5.0.9
Provider:
Operation:
SessionCreate:
Description: Creates a Session
MappingInbound: {}
MappingOutbound: {}
Type: Session::SessionCreate
TicketCreate:
Description: Creates a Ticket
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketCreate
TicketGet:
Description: Retrieves Ticket data
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketGet
TicketSearch:
Description: Search for Tickets
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketSearch
TicketUpdate:
Description: Updates a Ticket
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketUpdate
Transport:
Config:
KeepAlive: ''
MaxLength: '100000000'
RouteOperationMapping:
SessionCreate:
RequestMethod:
- POST
Route: /Session
TicketCreate:
RequestMethod:
- POST
Route: /TicketCreate
TicketGet:
RequestMethod:
- GET
Route: /TicketGet/:TicketID
TicketSearch:
RequestMethod:
- GET
Route: /TicketSearch
TicketUpdate:
RequestMethod:
- PATCH
Route: /TicketUpdate/:TicketID
Type: HTTP::REST
RemoteSystem: ''
Requester:
Transport:
Type: ''
BG