[jboss-user] [JBoss Web Services] - Re: How to set new SoapHandler for each invocation?

spyhunter99 do-not-reply at jboss.com
Tue Apr 17 09:29:47 EDT 2012


spyhunter99 [https://community.jboss.org/people/spyhunter99] created the discussion

"Re: How to set new SoapHandler for each invocation?"

To view the discussion, visit: https://community.jboss.org/message/730569#730569

--------------------------------------------------------------
I've written soap handlers for virtually every framework that exists. I can't recall a single one that is stateful. They are all stateless. Instances of the service scale up and down with load and are controlled in the application container.

On the client side, they will persist as long as the client proxy object exists. One thing you can do is remove the handler from the collection, then readd it. Again, handlers are stateless. Having static variables inside them is unreliable.

Credentials are typically set in jaxws using the request context map object. Perhaps your solution might include clearing out the appropriate settings from there and readding them before invoking.


I'm not really sure what the question or problem is.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/730569#730569]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120417/2461c32c/attachment.html 


More information about the jboss-user mailing list