Hi,
I am following the tutorials.
http://apigee.com/docs/api-services/tutorials/part-3-use-xml-samples-and-deployment-tools
My deployment failed through on step 2.4 when I ran the deploy.sh. I have raised it as a separate question here.
I then deployed the proxy my making a manual call to the API
Post: https://api.enterprise.apigee.com/v1/organizations/<org name>/apis/conditional-policy/deployments?action=deploy&env=test&revision=4&basepath=\/timer
The deployment was successful. I can see it in the UI and in response to a GET call for the deployment API
<APIProxyDeployment name="conditional-policy"> <Organization>zzz</Organization> <Environment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="environmentStatusForRevision" name="test"> <Revision xsi:type="revisionStatusInEnvironment" name="4"> <Configuration> <BasePath>\/timer</BasePath> </Configuration> <Server xsi:type="serverDeploymentStatus"> <UUID>2e2e5b9b-5f90-4dfc-8b04-1c089210c4a4</UUID> <Status>deployed</Status> <Type>message-processor</Type> </Server>
However, when I call the API either through calling the invoke.sh (step 2.5) or through a browser or through the console tester, it throws either 404 or
{ "fault": { "faultstring": "Classification failed for host zzz-test.apigee.net", "detail": { "code": "CLASSIFICATION_FAILED" } } }
Please help.
@ritwik_chatterjee To be able to tell you exactly what the problem is I need to look at the proxy bundle . Can you send that ?
1 quick observation was the basepath was mentioned as "\/timer" . I don't understand why should it have both the forward and backward slash. You might wanna check this.
Attached is the proxy bundle that I just downloaded.
The "\" is added as an escape character.
User | Count |
---|---|
5 | |
2 | |
1 | |
1 | |
1 |