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 "at update/delete - row not
exists". The WSO2-DSS samples are very "silent".
2. The DSS 2.5.0 gadget/dashboard-sample consumes dataservice-ResourceSample
RESTful ... by CRUD-requests (http-post/get/put/delete methods).
3. The "editor-gadget" is a sample of a "database-crud-editor" -> i. e.
usecase: db-table-editor.

Open items/questions:
1. This wiki-entry
https://wso2.org/wiki/display/wsf/Data+Services+and+Resources contains an
empty table of mapping datasourceErrors<->http-error-codes in section
"Defining Resources - fault codes" - is this implemented?
2. The WSDL2 spec contains handling of "interface fault <->
http-status-code"
http://www.w3.org/TR/2007/REC-wsdl20-adjuncts-20070626/#http-fault-decl - is
this implemented?
3. Is it possible to specify datasource-fault-handling?
4. Is it possible to change the default MEP "in-only" for POST/PUT/DELETE
methods?

My background/UseCase:
I would like to implement business-apps like "gadget-resoucesSample".
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to