Hi,
I am following the tutorial
http://apigee.com/docs/api-services/tutorials/part-1-create-your-api-xml.
When I get to step 4.9, I encounter the following error:
Server Error.
Error occurred while validation of bean default.xml. Reason: - Schema
validation failed. Cause : unexpected element (uri:"", local:"ProxyEndPoint"). Expected elements are <{}APIProxy>,<{}APIProxyRevisions>,<{}AccessControl>,<{}AccessEntity>,<{}Admin>,<{}Alert>,<{}Allow>,....
Here is my proxies\default.xml
<ProxyEndPoint name="default">
<Flows>
<Flow name="forecast">
<Condition>
(proxy.pathsuffix MatchesPath "/forecastrss") and
(request.verb = "GET")
</Condition>
</Flow>
</Flows>
<HTTPProxyConnection>
<VirtualHost>default</VirtualHost>
<BasePath>/v1/weatherxml</BasePath>
</HTTPProxyConnection>
<RouteRule name="default">
<TargetEndpoint>default</TargetEndpoint>
</RouteRule>
</ProxyEndPoint>
Here is my targets\default.xml
<TargetEndpoint name="default">
<HTTPTargetConnection>
<URL>http://weather.yahooapis.com</URL>
</HTTPTargetConnection>
</TargetEndpoint>
Please help.
Regards,
Ritwik