My REST service returns an http 500 status error under certain conditions. ODE (version 1.2) fails with the following: "Operation has no fault. This 500 error will be considered as a failure." I see in the REST binding documentation that: "ODE checks that a fault is declared in the WSDL for the current operation and that the response body contains the expected XML element then reply with a fault ; else reply with a failure." but how is this done? is any fault defined in the REST binding/operation sufficient? if not, or if there's more than one fault defined, how are they bound to these http status responses?
