Hello,
I have developed one API service in Apigee Edge called PostalCode for example. I used the "VehcileCode" proxy as a TargetServer for one more Proxy API.
If i configure postalCode service as a Target Server like below in a new Proxy API. This is working fine.
<HTTPTargetConnection>
http://manidemo-test.apigee.net/postalcode>
I tried to externalize by configuring the PostalCode URL as a Environment variable in Apigee and
Named it as "Server_Postal_Code"
HOST : http://manidemo-test.apigee.net
PORT: 80
But its not working when i tried it like this:
<HTTPTargetConnection>
<LoadBalancer> <Server name="Server_Postal_Code"/>
</LoadBalancer>
<Path>/postalcode</Path>
</HTTPTargetConnection>
Getting error as : Trace below. It went into error flow on reaching the targetflow
Can someone help me ?
Answer by Sai Saran Vaidyanathan
·
Jun 11, 2017 at 04:32 AM
Hi @manikandanj
You do not need to add the "http://" in the Target Server configuration. Just put the hostname there - allianzdemo-test.apigee.net.
Hope the endpoint you are connecting as TargetServer is a valid API endpoint.
Let me know if that did the trick
Thanks @Sai Saran Vaidyanathan. This seems to be the problem. I removed the http://
503 Unavailable Service Response 2 Answers
Error: Cannot find module 'cheerio' apigee 3 Answers
how do I make a new environment 1 Answer
How to read extracted variables in target point url ? 1 Answer
Apigee Reports API 1 Answer