• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to limit web service call? Example have only 1000 web service call for this day.

 
Therese Riccio
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to limit the web service call for my method. Interceptors is not available in my Java EE version.

Thanks for your help.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is that total number of calls per day from all users or calls per identifiable user per day?

What have you tried so far?

Bill
 
Therese Riccio
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
William Brogden wrote:Is that total number of calls per day from all users or calls per identifiable user per day?

What have you tried so far?

Bill


It is from all users. I have read about interceptors but our Java version does not support that.
 
Sunderam Goplalan
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you give a little background about your webservice method? Which framework or library you use to deploy the service? Which Java EE version you are using?

You could hook up the Spring AOP for intercepting the web service method call.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!