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/730635#730635

--------------------------------------------------------------
Well, it's my job to know, and primarily through experimentation and testing. 
I've also stumbled upon that jsr too, but only after I had came to the same 
conclusion.

The only thing that works differently than this is ASP.NET's Soap Extensions 
which is a totally different animal. If you are creating the client proxy 
object on demand from a jsp page, then once the page is done loading/executing, 
that object goes away, along with any handlers tied to it. The SOAP Message 
context of the client proxy object is unique to the instance of the client 
proxy object. This object can be used in multiple threads, but in your case (a 
jsp file) it is not. To the best of my knowledge, it's thread safe for use in a 
web app/jsp.

FYI, adding http headers to request/response messages via handlers isn't super 
reliable.
--------------------------------------------------------------

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

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

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to