About Question com.enthuware.ets.scbcd.v5.2.47 :
Posted: Mon Dec 13, 2010 6:11 am
Hello,
Since exclude attribute in WebMethod annotation defaults to false then any method that are not annotated with WebMethod should be exposed as a web service. In the question it requires only getRate method be exposed as a web service so the correct answer should be like getRate need not have an annotation and the other two methods should have a WebMethod(exclude=true) annotation.
Since exclude attribute in WebMethod annotation defaults to false then any method that are not annotated with WebMethod should be exposed as a web service. In the question it requires only getRate method be exposed as a web service so the correct answer should be like getRate need not have an annotation and the other two methods should have a WebMethod(exclude=true) annotation.