Web service accessing client database
- by chupinette
Hello all!
I am new to web services and i have a question: Should a web service be able to access the client database? Sorry if i am not using the proper terms.
Lets say i have a web service method called : GetCarDetails(string name) which will actually return details from car table.
in this method i have an sql statement like SELECT * FROM car WHERE name = ?.
In the client application, i have a textbox where i can input a name and a button on which when i click, fill a gridview.
So im kinda confused, should the web service normally know that the client has a table called car?Please correct me if ive used the wrong terms.
Thanks