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

spyhunter99 do-not-reply at jboss.com
Wed Apr 18 07:41:52 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/730800#730800

--------------------------------------------------------------
soap headers

I think what you're referring to was written to more or less identify what happens at the web service, not the client for the web service. Most frameworks/containers will spawn as many as 10 or more instances of a web service in order to handle concurrent requests, this also implies that any handlers associated with the service will also be created. The jsr statement is saying that it's possible for only one instance of the handler to be created and thus serve all of the inbound service requests etc.

Regardless, of how many copies of the handler that are, each invocation has its own message context which is unique to each client proxy instance. As long as you don't rely on private variables in your handler and store state information in the message context, then you're good to go
--------------------------------------------------------------

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

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/20120418/a262dd82/attachment-0001.html 


More information about the jboss-user mailing list