I am new to APIGEE and upto now I have created a sample API proxy for yahoo weather api which is described in apigee docs page and now i am configuring custom exception handling for the service.
(proxy.pathsuffix MatchesPath “/forecastrss”) and (request.verb = “GET”)
XML-to-JSON-1
/v1/weather
default
secure
default
While configuring the exception handling,I am recieving the following error
Server Error. Error occurred while validation of bean default.xml. Reason: - Schema validation failed. Cause : unexpected element (uri:“”, local:“Name”). Expected elements are <{}Condition>,<{}Step>,<{}Description>,<{}Policy>. Line number : 10. Column number : 31. File name : default.xml..
I am not able to know how to correct the xml file specific to the error.I request you to help me in this regard.
@Floyd Jones & @Mukundha Madhavan - documentation indicates that FaultRules may be attached to a Step. Can you verify documentation is consistent with this?