Originally posted by: JulienT
Hello,
I am trying to host restful API with ITX launcher but I encounter some issues.
The importer openAPI generate the system, map and typetree for the operation GET /employees/{employeeNumber}
Launcher Event Command generated is "-URL http://localhost:5618/TestWebApp/resources/employees/{employeeNumber} -session * -METHOD GET -TV -HDR+ -TYPE application/json"
So for a restful API calling the URL http://localhost:5617/TestWebApp/resources/employees/000010 should work but that is not the case with ITX launcher.
I do some correction in the generate map in order to make it work with the Launcher Event Command : "-URL http://localhost:5618/TestWebApp/resources/employees/000010 -session * -METHOD GET -TV -HDR+ -TYPE application/json"
But it not work with a dynamic URL path parameter with the Launcher Event Command generated "-URL http://localhost:5618/TestWebApp/resources/employees/{employeeNumber} -session * -METHOD GET -TV -HDR+ -TYPE application/json"
Has anyone a solution to make it work? ( missing HTTP option for this case ?)
Regards,
Julien
#IBM-Websphere-Transformation-Extender#DataExchange#IBMSterlingTransformationExtender