camunda / connectors

Camunda Connectors
https://docs.camunda.io/docs/components/integration-framework/connectors/out-of-the-box-connectors/available-connectors-overview/
Apache License 2.0
35 stars 36 forks source link

SOAP Connector error response #2743

Open b3rnh8rd opened 4 weeks ago

b3rnh8rd commented 4 weeks ago

The SOAP Connector does not offer the possibility to access the response body in case of webservice fault. Most error handling is not possible without a body because the actual error can be found in a different place for each response object.

In the connector section of errorHandling it should be possible to access error.response.body or similar. In the connector code itself, the body is already saved in the exception in the event of an error, but is not applied later to the errorResult.

SoapConnectorException.java holds the response ConnectorJobHandler.java

Alternatively, all SOAP calls must be realized via ServiceWorker, which means a considerable amount of additional work.