Re: [Carbon-dev] Update on Generate data services for given database

2010-05-01 Thread Amila Suriarachchi
hi, Can you please send the generated wsdl for one table service? I am not sure how you have done it. Here you can nicely map insert, delete, update, select to four operations called put, delete, post and get. Then expose it as restful service[1]. [1] http://wso2.org/library/3726 thanks,

Re: [Carbon-dev] Update on Generate data services for given database

2010-05-01 Thread Sanjiva Weerawarana
Good start. Some feedback: - is the connection set up shared with the connection mgr of the server - add step to select the database - after selecting table(s), allow user to select which operations to generate - what about allowing some flexibility in mapping the outputs to XML etc. We need an

Re: [Carbon-dev] Update on Generate data services for given database

2010-05-01 Thread Jasintha Dasanayaka
Hi Here I attached both wsdl and dbs which generated for one table service. Thanks Jasintha On Sat, May 1, 2010 at 1:49 PM, Amila Suriarachchi am...@wso2.com wrote: hi, Can you please send the generated wsdl for one table service? I am not sure how you have done it. Here you can

Re: [Carbon-dev] Carbon 3.0.0 - Iridium - RC10

2010-05-01 Thread Lahiru Gunathilake
Hi Charitha, I have hosted the new source packs for all the four products with carbon with minor modification here[1]. Since I created all the packs with the same script, I wonder how WSAS and GREG behave differently. Please be kind enough to take new source packs.

Re: [Carbon-dev] Update on Generate data services for given database

2010-05-01 Thread Samisa Abeysinghe
On Sat, May 1, 2010 at 3:17 PM, Sanjiva Weerawarana sanj...@wso2.comwrote: Good start. Some feedback: - is the connection set up shared with the connection mgr of the server - add step to select the database - after selecting table(s), allow user to select which operations to generate -

Re: [Carbon-dev] Update on Generate data services for given database

2010-05-01 Thread Samisa Abeysinghe
Some comments on generated DBS file: 1. Query IDs: Are we using camel case? e.g. selectAll_jk_test_table_1Query. I understand the table name is jk_test_table_1 (and yes we can have anything here, as it comes from the DB). But why do we have selectAll_ as prefix and Query as suffix and not _Query.

Re: [Carbon-dev] Update on Generate data services for given database

2010-05-01 Thread Sanjiva Weerawarana
Samisa, it seems to me we should run the generated code thru a code review! Sanjiva. On Sun, May 2, 2010 at 7:28 AM, Samisa Abeysinghe sam...@wso2.com wrote: Some comments on generated DBS file: 1. Query IDs: Are we using camel case? e.g. selectAll_jk_test_table_1Query. I understand the

Re: [Carbon-dev] Update on Generate data services for given database

2010-05-01 Thread Samisa Abeysinghe
On Sun, May 2, 2010 at 7:59 AM, Sanjiva Weerawarana sanj...@wso2.comwrote: Samisa, it seems to me we should run the generated code thru a code review! +1. Samisa... Sanjiva. On Sun, May 2, 2010 at 7:28 AM, Samisa Abeysinghe sam...@wso2.com wrote: Some comments on generated DBS file:

Re: [Carbon-dev] Update on Generate data services for given database

2010-05-01 Thread Amila Suriarachchi
On Sun, May 2, 2010 at 7:28 AM, Samisa Abeysinghe sam...@wso2.com wrote: Some comments on generated DBS file: 1. Query IDs: Are we using camel case? e.g. selectAll_jk_test_table_1Query. I understand the table name is jk_test_table_1 (and yes we can have anything here, as it comes from the

Re: [Carbon-dev] Events that can be analysed by the MessageExchangeInterceptor of a BPEL process

2010-05-01 Thread Samisa Abeysinghe
Have you designed the event format for this? If so please send it over so that we can have a look. If it is not defined, I suggest that you design that to capture the data discussed here. Thanks, Samisa... On Fri, Apr 30, 2010 at 4:05 PM, Isuru Wimalasundera isu...@wso2.comwrote: Hi yes

Re: [Carbon-dev] Update on Generate data services for given database

2010-05-01 Thread Anjana Fernando
Hi, First I think no need to use the table name either in dbs/query or wsd/operation since these operations under the service which has the table name. But the point is, that we can have the user first generate this and then customize it to suite their needs. What if the DB had only 5

Re: [Carbon-dev] Update on Generate data services for given database

2010-05-01 Thread Amila Suriarachchi
On Sun, May 2, 2010 at 9:26 AM, Samisa Abeysinghe sam...@wso2.com wrote: On Sun, May 2, 2010 at 9:20 AM, Amila Suriarachchi am...@wso2.com wrote: On Sun, May 2, 2010 at 7:28 AM, Samisa Abeysinghe sam...@wso2.comwrote: Some comments on generated DBS file: 1. Query IDs: Are we using

Re: [Carbon-dev] Update on Generate data services for given database

2010-05-01 Thread Amila Suriarachchi
Let me say some thing I was thinking about this. Actually I got a similar idea after reading this article[1]. Here Keith keeps some Student data in memory which should have kept in a data base table. So if we write a data service which generates a service as he has given by looking at a database