• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Needing new endpoint per connection

AnilPrakash Raju
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 ´┐Żorg.springframework.ws.server.endpoint.mapping.PayloadRootQNameEndpointMapping" 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

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic