Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How can I avoid proxy.basepath copy in service callout LocalTargetConnection?

How do you avoid proxy.basepath being copied in a servicecallout with LocalTargetConnection

What is the option to not append the basepath to the servicecallout?

trace-1552693073477.txt

Parent Proxy Basepath: /externaloauth

Chained proxy path: /cuid/api/token

In the trace I see

servicecallout.requesturi = /cuid/api/token/externaloauth

Is there anything I am missing in the configuration?

I have also tried using loadbalancer with HttpTargetConnection in the service callout as suggested in one of the posts, but I see the same issue there as well.


Below is my servicecallout policy config

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ServiceCallout async="false" continueOnError="false" enabled="true" name="Service-Callout-1">
    <DisplayName>Service Callout-1</DisplayName>
    <Properties/>
    <Request clearPayload="true" variable="MyRequestObject">
        <IgnoreUnresolvedVariables>false</IgnoreUnresolvedVariables>
    </Request>
    <Response>calloutResponse</Response>
    <LocalTargetConnection>
        <!--<APIProxy>CUID</APIProxy>
        <ProxyEndpoint>default</ProxyEndpoint>-->
        <Path>/cuid/api/token</Path>
    </LocalTargetConnection>
</ServiceCallout>

0 1 532
1 REPLY 1