I am in the process of creating a Webservice for my application which needs to provide two operations/functions to handle different request.
I am having two options in my mind.
1)First one is creating a single webservice with 2 operations/functions like below
2)second one is creating a web service for each operations/functions like below
The base behind this decision should be exactly same as the base of writing classes. Similar operations in one service. In the example you mentioned, you can have one MathService or CalculationService & put related operations into it. but if there is something else ..lets take login/logout for example, then there should be another service for login/logout.
Yes it can be done, we just have to figure out how.
Do you want ants? Because that's how you get ants. And a tiny ads: