[jbossws-issues] [JBoss JIRA] Created: (JBWS-2114) Soap attachments are dropped on server response when added in ejb3 jaxws handler
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Tue Apr 8 10:08:54 EDT 2008
Soap attachments are dropped on server response when added in ejb3 jaxws handler
--------------------------------------------------------------------------------
Key: JBWS-2114
URL: http://jira.jboss.com/jira/browse/JBWS-2114
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jbossws-native
Environment: windows, linux, jdk1.5
Reporter: Thomas Diesler
Assigned To: Heiko Braun
Fix For: jbossws-2.0.0
Soap attachments were dropped on server responses. Attachment can be added on a handler's handleResponse method; however it mysteriously disappeared on the outgoing soap message.
The problem was in the ServiceEndpointInvoker. It overwrote the SOAPMessage in the MessageContext. In this class, the method invokeServiceEndpoint was overwritten by ServiceEndpointInvokerEJB21, which invokes the EJB via the ServiceEndpointInterceptor. This ServiceEndpointInterceptor invokes the EJB and also the handlers; it creates the correct SOAPMessage and sets it in the ContextContext. Unfortunately, it was overwritten later by the ServiceEndpointInvoker.
Fixes are attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbossws-issues
mailing list