need Webservice syntax
Hi experts,
this is sri,
I am going to create web service which is going to deal with database(ie)
using webservice ,i am going to insert, update and retrieve records.
i have done Proof of Concept using webservice which deals with database.
I just want to know , suggested or standard prototype for the methods insert(), delete() and update()
Thanks in advance.
Any suggestions will be useful to me.
Regards,
Sri.
I'm not sure what you are asking here. Are you asking about a naming convention or such?
If so then you should use names that tell exactly what the method will do or return. In DAO classes names like "loadXXX" or "storeXXX" are used to load and save data, for example "loadClients" to load a list of clients from the data source. I don't see why the naming convention in web services should be any different.
Hello Sir,
Sorry for not defining my requirement clearly in the previos message.
My need is , how can i retrieve 1000 records from datrabase to webservice client through webservice.
At present , i am splitting up records by 100 and inform the client about no of batches ,say for example 10 batches in the above scenario,so client can keep on call the another webservice method ,say getBatch() to get rest of the records. for insertion , i have written a method insertXXX(list of columns) for a siongle table.
my doubt is ,is there any other way to insert bulk of records using single web service method for any table, (ie) tablename ,noofcolumns have to be customizable
I hope u understand my doubt now and waiting for ur reply eagarly.
Regards,
Sri
Hello Sir,
Sorry for not defining my requirement clearly in the previos message.
My need is , how can i retrieve 1000 records from datrabase to webservice client through webservice.
At present , i am splitting up records by 100 and inform the client about no of batches ,say for example 10 batches in the above scenario,so client can keep on call the another webservice method ,say getBatch() to get rest of the records. for insertion , i have written a method insertXXX(list of columns) for a siongle table.
my doubt is ,is there any other way to insert bulk of records using single web service method for any table, (ie) tablename ,noofcolumns have to be customizable
I hope u understand my doubt now and waiting for ur reply eagarly.
Regards,
Sri