Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Needing new endpoint per connection  RSS feed

Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i am using spring web services and i have run into some problems.

I want to have a new endpoint per connection, or some method to pass the dto between the interceptors and then to the endpoint invokeInternal method.

Whats happening now is that once the server is booted and i type the input fields and press run, i get the right results. when i type in different input fields, the results that i get is the results of the the first run.

I am not whether this is due to using �" for my endpoint mapping class that is causing the context to be asked for once rather than having a newpoint per connection.

I have also setup the bean in the web service application context files to have the scope ='prototype'.

Any suggestions?

thanks in advance

Message for you sir! I think it is a tiny ad:
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!