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

spyhunter99 do-not-reply at jboss.com
Tue Apr 17 12:56:23 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/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

Start a new discussion in JBoss Web Services at Community

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

More information about the jboss-user mailing list