How to overcome the problem of length constraint of Base URL in Logic App Custom Connector

Vamshi Kishore KALIKOTA 51 Reputation points
2020-09-22T12:51:21.41+00:00

How we need to provide the Base URL which has more length and exceeds the number of characters in Logic App Custom Connector.
We are facing issues if Base URL is not provided correctly, but if length of Base URL exceeds then how we can overcome this problem.
26541-length-error.png

So, when you observe the above image in the Base URL part it is taking only limited characters (upto -- reque), the remaining part of the URL is eliminated.

Base URL : /sap/bc/srt/rfc/sap/ztm_ws_validate_leave_request/120/validateleaverequestservice/validateleavereque

But we need to provide entire URL in the Base part...how we can do that ?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,873 questions
{count} votes

2 answers

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 23,181 Reputation points Microsoft Employee
    2020-09-23T22:39:11.187+00:00

    Hello @Vamshi Kishore KALIKOTA

    Thank you for reaching out. The Base URL length issue faced above is a limitation by design, the possible work around for such scenario can be.

    • You can utilize the SAP connector for Logic app to access your on-premise SAP resources. This tutorial can be helpful in achieving that.
    • You can also utilize the On-Premise data gateway to access your API. (According to this thread I think you have already done that)

    Please let me know if there are any concerns, I will be happy to continue with our discussion.


  2. David Burg 406 Reputation points Microsoft Employee
    2020-09-26T00:24:43.583+00:00

    I'm not sure if that one will work, but you might be able to get shorter URIs using SAP's REST interface instead of SOAP. SAP blog has an example of REST call from Logic App to SAP here:

    https://blogs.sap.com/2018/09/25/your-sap-on-azure-part-9-easy-integration-using-azure-logic-apps/

    0 comments No comments