Hi everyone
I need your advise on general Webservice interface design.
Basically I need to know if I should have one operation with a parameter called rule as input and then the web-service impl will decide what kind of logic to execute based on the value of the rule parameter or have multiple operations for each rule?
For instance :
One single operation
myoperation(
String rule, ....) and rule can have values such as rule1, rule2 . The WS impl will look at the value of the rule and execute some logic.
vs .
Having multiple operations
myoperationForRule1(...)
myoperationForRule2(...)
....
Thanks
Ross