datasource-exceptions / http-status-codes supported?

manfred.herrmann.z.web.de's picture
I can not find up to date information about error-/fault-handling support of DSS. Is it possible to control the MEP and/or http-status-codes? 1. i. e. DataSource is a Product-DB / get product-data the product exists -> request: get http://hostname.domain:80/services/httpEndpoint/product/S10_1234 -> response: 200-OK / xml-doc with "S10_1234 product-data" -> MessageExchangePattern "in-out" 2. i. e. DataSource is a Product-DB / get product-data the product NOT exists -> request: get http://hostname.domain:80/services/httpEndpoint/product/S10_9999 -> response: 200-OK / empty xml-doc (only xml-header) -> MessageExchangePattern "in-out" 3. i. e. DataSource is a Product-DB / create new product the product already exists -> request: post http://hostname.domain:80/services/httpEndpoint/product/S10_1234/name/line/88/88.50 -> response: 202-accepted -> MessageExchangePattern "in-only" thanks Manfred
werdex86.yahoo.com's picture

Are any updates on this? How

Are any updates on this? How to catch db exception during insert ?
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
KeellsSuper is a leading supermarket chain with 50-plus outlets in Sri Lanka, and it offers the only online supermarket in the country. In 2005, JKH implemented SAP ERP across it’s 70 subsidiaries...
Thursday, February 16th 2012, 09.00 AM (PST)

Thursday, February 16th 2012, 10.00 AM (GMT)