I have configured the generic ticket connector with the data mapping set to simple/xslt/empty and i get empty response for the curl calls. I could see the request is being received by the server but it is not responding. Can someone help me figuring this out.
My configuration on server side from https://github.com/OTRS/otrs/tree/master/development/webservices
---
Debugger:
DebugThreshold: debug
TestMode: '0'
Description: Manage remote tickets
FrameworkVersion: 5.0.20
Provider:
Operation:
CreateTicket:
Description: Create remote tickets
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketCreate
Get ticket:
Description: Get ticket
MappingInbound: {}
MappingOutbound: {}
Type: Ticket::TicketGet
Sessioncreate:
Description: create remote session
MappingInbound: {}
MappingOutbound: {}
Type: Session::SessionCreate
Transport:
Config:
KeepAlive: ''
MaxLength: '1000000000'
RouteOperationMapping:
CreateTicket:
RequestMethod:
- POST
Route: /Ticket
Get ticket:
RequestMethod:
- GET
Route: /Ticket/:TicketID
Sessioncreate:
RequestMethod:
- POST
Route: /Session
Type: HTTP::REST
RemoteSystem: ''
Requester:
Transport:
Type: ''
Curl Call from Remote system as per the documentation:
curl "http://otrs.com/otrs/nph-genericinterface.pl/Webservice/GenericTicketConnectorREST/Ticket/6000?UserLogin=agent&Password=123"
The output of the curlcall:
curl: (52) Empty reply from server