on 2020 Jan 28 2:38 PM
Hi Experts,
I followed Tutorial: Outbound Sync to SCPI Integration Flow (https://help.sap.com/viewer/50c996852b32456c96d3161a95544cdb/1905/en-US/45c632aa498c42e4a93699b7a6d6... ) step by step.
As soon as I run Outbound Sync Scheduling Cronjob from Integration UI Tool for the Outbound Sync Channel, following exception is raised:
ERROR [Thread-106] [ErrorHandler] unexpected exception caught
org.springframework.messaging.MessageHandlingException: nested exception is de.hybris.platform.outboundservices.client.impl.UnsupportedRestTemplateException: There is no RestTemplate supported for given consumed destination.
Does anybody know how to solve it?
I am running the tutorial on SAP Commerce 1905
Thank you!
Martin
Request clarification before answering.
When you are looking into the create() methode you will find the following part.
final IntegrationRestTemplateCreator creator = getRestTemplateCreators().stream()
.filter(s -> s.isApplicable(destination)).findFirst()
.orElseThrow(UnsupportedRestTemplateException::new);so there is this 'isApplicable' check. This check looks either in the BasicRestTemplateCreator or in the oAuth2RestTemplateCreator. By the BasicRestTemplateCreator you will find
public boolean isApplicable(final ConsumedDestinationModel destination)
{
return destination.getCredential() instanceof BasicCredentialModel;
}So there is a check if there are credentials at the ConsumedDestinationModel.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.