Does anyone know how to throw and handle exception in REST style webservice?, I have used SOAP Xfire webservice.
gdprao wrote: > > I am trying CXF restful_http_binding example. If I try the URL from > browser, > http://localhost:8080/xml/customers/123 I am getting the 123 customer XML > data. > But if I try to fetch the customer data which does not exists, like > http://localhost:8080/xml/customers/456, I am expecting > CustomerNotFoundFault to be thrown with error XML matching with > CustomerNotFoundDetails object data, which is not happening. Could > someone explain as to how to throw the faults in rest style web service? > Thanks in advance. > -- View this message in context: http://www.nabble.com/Exception-handling-in-Rest-style-web-service-tp14561209p17030388.html Sent from the cxf-user mailing list archive at Nabble.com.
