Hi All,

I noticed that all public methods in your web services is exposed as operations.
I would really like to know the reasons for doing so and why this is a better approach than the previous way of only exposing what you want.

What I don't like about this approach is that we need to exclude operations and you end up writing more in your services.xml.

Here are some pain points
1. If you have getters and setters i(lets say for dependency injection), this becomes a reall PIA, as I have to exclude them all.

2. If u need to do anything operation specific like use Aysnc MR, instead of a Synch receiver or if u need some module engaged at operation level you anyhow have to define that in the services.xml

So this really doesn't add much value in my opinion and can be a real PIA if I have a bunch of getters/setters.

I would like to see some comments on this.

Regards,

Rajith

Reply via email to