cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello,

In sap cloud platform, under workflow application I am using service task as a last step to create entity on on-premise system. For that I have Odata service created on on-premise system. When I am calling it through service task I am getting below error

Service endpoint:XXX
Error message:The XSRF token request to URL 'https://XXX.XXX/sap/opu/odata/sap/ZF_UPD_CPTASK_SRV?$format=json' failed with HTTP status code 405 (Method Not Allowed) and response body 'HTTPS proxying is not supported. Use HTTP instead. HTTPS is not needed because communication is already secured by the tunnel. '

The Type of Destination is http and the url of destination is https.

Kindly help. Please let me know if any other inputs needed.

Regards,

Neha

0 Likes
View Entire Topic
Archana
Product and Topic Expert
Product and Topic Expert

Hello Neha and Karimulla,

As mentioned in my comments, workflow only support application/json based Conten-Type in Service Task. If your API returns any other format then either use ?$format=json and if that is not supported then you cannot use Service Task in workflow. You can either use Cloud Integration or make. such calls in SAPUI5 components.