Service Callout policy - host name configuration

Not applicable

is it possible to configure host name of service call out policy?

<URL>https://{target_url}</URL>

Note that proxy got deployed successfully with above configuration. Thought, at Run-time; call out is failing.

Path is configurable via flow variable and working fine.

<URL>https://test.salesforce.com/{path}</URL>

My conclusion is "host name" need to be specified at Service Callout URL configuration. Could you pl confirm it.

Solved Solved
2 3 244
1 ACCEPTED SOLUTION

Not applicable

@rdoda - can you try the url like this? I recall having issues using a single variable in the past.

<URL>https://{target_url}/{basepath}</URL>

View solution in original post

3 REPLIES 3

Not applicable

You are correct .<URL>https://{target_url}</URL> doesn't work . FYI don't use a variable at all in Service callouts if you are on on-perm releases < R14.04 , it can degrade the performance of the whole MP.

Not applicable

@rdoda - can you try the url like this? I recall having issues using a single variable in the past.

<URL>https://{target_url}/{basepath}</URL>

Great! This works. Thanks.

As it would be good if URL configuration can be similar to the target endpoint; I have raised a ticket -

API Runtime & Solutions / Bug APIRT-1262Service Callout - URL configuration

Cheers,

Rajesh