Mar 19th, 2008, 12:21 AM
Needing new endpoint per connection
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.Pa yloadRootQNameEndpointMapping" 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'.
thanks in advance