Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Use of variable in HTTPTargetConnection.URL

I'm unable to use a variable for the field HTTPTargetConnection.URL for the hostname. If I set it to https://{SOME_VARIABLE}/. I get an error when using the proxy {"fault":{"faultstring":"The Service is temporarily unavailable","detail":{"errorcode":"messaging.adaptors.http.flow.ServiceUnavailable"}}}

If there is validation that needs to be done then it should happen on save, or deploy. Otherwise the proxy is in an inconsistent state. Regardless, I feel there should be a variable allowed here since we have a number of target endpoints (other than the default) which use the same host.

Solved Solved
1 5 3,601
1 ACCEPTED SOLUTION

I think its not supported, you can use variables for paths, but not for the host name. I think this helps the runtime to setup connection pools to targets.

If there is a need for multiple target servers with same host [assuming across proxies], then you might want to use Targetservers.

View solution in original post

5 REPLIES 5
Top Solution Authors