ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Taylor <saurs...@yahoo.com>
Subject binding http errors to REST faults
Date Thu, 04 Sep 2008 01:16:15 GMT
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?


      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message