mendix / RestServices

REST service module for Mendix. Supports consuming and publishing REST based services and real-time data synchronization. Supports JSON, form-encoded, multipart and binary data transport.
Apache License 2.0
31 stars 46 forks source link

CustomRestServiceException should propagate properly to webservice calls as well . #35

Closed mweststrate closed 9 years ago

mweststrate commented 10 years ago

Current super constructor call is off, first argument should be WebserviceException.clientFaultCode and rest service module should not use this value in the rendering of the exception, but rather an additional error code field.

mweststrate commented 10 years ago

Ok, it is a bit more complicated then this. In Mendix 4 this works almost correctly (some fields were swapped), but in Mendix 5 WebserviceException derivatives are incorrectly handled as Internal Server Exceptions. Filed Support ticket 102477.

mweststrate commented 10 years ago

Confirmed that ticket 102477 is fixed in Mendix 5.8.0, original issue can be solved now.

mweststrate commented 9 years ago

Fixed, but accidentally committed under #37