Ich möchte OTRS als Provider für einen REST Web Service nutzen.
Leider bekomme ich dabei immer folgenden Fehler, unabhängig von der REST Anfrage:
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
  };Außerdem ist REST in der SysConfig unter "GenericInterface::Transport::ModuleRegistration" registriert.
Ich nutze OTRS 5.0.9 mit ITSM auf Debian Jessie.
Im folgenden die Config des 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: ''VG
