Re: [Carbon-dev] dataservices fault handling - i.e. jdbc primary-key violation...

2010-08-18 Thread Manfred Herrmann
4. Is it possible to change the default MEP in-only for POST/PUT/DELETE methods? MEP is in-only in DS for queries that don't return any results (if you don't provide a result section in the query). If you provide a result section in the query, MEP is in-out. The ResourcesSample contains

Re: [Carbon-dev] dataservices fault handling - i.e. jdbc primary-key violation...

2010-08-18 Thread Amani Soysa
Regarding your issue :- sqlupdate Products set productName=?, productLine=?,quantityInStock= ?,buyPrice=? WHERE productCode=?/sql result element=Products rowName=Product defaultNamespace= http://www.oes20.org/wso2dss/sampleP1; element name=productCode column=productCode

Re: [Carbon-dev] dataservices fault handling - i.e. jdbc primary-key violation...

2010-08-18 Thread Manfred Herrmann
the SQL querry can be mapped into output mapping fields therefore, you cannot map an output mappings for Update/Delete/Insert Queries. o.k. :-) the question is how to specify datasource-fault-handling, or is it hardcoded? If hardcoded ... is there a table of errorshttp-status-codes or in

Re: [Carbon-dev] dataservices fault handling - i.e. jdbc primary-key violation...

2010-08-18 Thread Amani Soysa
Is this a missing feature or is it based on a product-design/-decision? The ResourcesSample-Gadgets are not very reliable and there is no user-feedback et all. How should we implement a application with assurance about DB-operations? I think for read-/select-only usecases its o.k.. For the

Re: [Carbon-dev] dataservices fault handling - i.e. jdbc primary-key violation...

2010-08-17 Thread Amani Soysa
Sorry for the late response ... In data-oriented business-apps a datasource throws errors/infos to the user like at create - row allready exists and at update/delete - row not exists. The WSO2-DSS samples are very silent. This is due to an error in the data services back end and gadgets did not

Re: [Carbon-dev] dataservices fault handling - i.e. jdbc primary-key violation...

2010-08-17 Thread Manfred Herrmann
Sorry for the late response ... no problem, thanks In data-oriented business-apps a datasource throws errors/infos to the user like at create - row allready exists and at update/delete - row not exists. The WSO2-DSS samples are very silent. This is due to an error in the data services back

[Carbon-dev] dataservices fault handling - i.e. jdbc primary-key violation...

2010-08-10 Thread Manfred Herrmann
Even after a long time of following and researching the WSO2-DataServicesServer product, I can not 100% understand the usecases of the REST / ResourcesSample. My understanding: 1. In data-oriented business-apps a datasource throws errors/infos to the user like at create - row allready exists and