Hi all
In a service callout policy, I want to set dynamically the server name for the HTTPTargetConnection like this
<HTTPTargetConnection> <LoadBalancer> <MaxFailures>0</MaxFailures> <RetryEnabled>true</RetryEnabled> <Server ref="{MY_SERVER_NAME}"> <IsEnabled>true</IsEnabled> <IsFallback>false</IsFallback> <Weight>1</Weight> </Server> <TargetDisableSecs>300</TargetDisableSecs> </LoadBalancer> <Path>/{MY_PATH}</Path> <Properties> <Property name="connect.timeout.millis">60000</Property> </Properties> </HTTPTargetConnection>
It doesn't work, (Server name null)
Any idea how I can do that ?
Thank you
Solved! Go to Solution.
Yes
sorry you cannot do that. It's a source of shame that it does not work the way you would like it to work. I'll look into getting that addressed.
In the meantime, there is a way to assign a dynamic URL for a servicecallout.
It is described here.
Yes
sorry you cannot do that. It's a source of shame that it does not work the way you would like it to work. I'll look into getting that addressed.
In the meantime, there is a way to assign a dynamic URL for a servicecallout.
It is described here.
Thank you.
User | Count |
---|---|
7 | |
2 | |
2 | |
1 | |
1 |