cancel
Showing results for 
Search instead for 
Did you mean: 
betuschhoff
Staff
Staff
Status: New

It would be beneficial to designers integrating with REST services to natively provide instructive messages for connectivity exceptions.  OpenApi/Swagger describes http response codes but not java exceptions outside normal http flow.  For example this exception is captured for connection errors:

com.dstawd.processengine.model.flowobjects.AutomatedActivityFlowObject.executeService(ProcessInstance, String, String, Element):
Service failed to execute. Error: java.lang.IllegalAccessException: The response object is javax.ws.rs.ProcessingException, not an fastrequirementsapi.ApiException
Service Error Stack:

 

It would be beneficial for these types of errors to expose the actual java exception or a friendlier message to the designer.  This information can be found in log files that typical designers do not have access to.

1 Comment
betuschhoff
Staff
Staff

An additional feature would be a "test connection" button in Design Studio when managing services.  A dialog could be brought up based on the inputs defined for a given request.  Then a "send" button could actually make the request.