[
http://jira.jboss.com/jira/browse/JBWS-1283?page=all ]
Thomas Diesler updated JBWS-1283:
---------------------------------
Summary: Soap attachments are dropped on server response when added in ejb3 jaxws
handler (was: Soap attachments were dropped on server responses. Attachment is added on a
handler's handleResponse method; however it mysteriously disappeared on the outgoing
soap message.)
Soap attachments are dropped on server response when added in ejb3
jaxws handler
--------------------------------------------------------------------------------
Key: JBWS-1283
URL:
http://jira.jboss.com/jira/browse/JBWS-1283
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-1.0.2
Environment: windows, linux, jdk1.5
Reporter: George Gan
Assigned To: Heiko Braun
Fix For: jbossws-2.0.0
Attachments: ServiceEndpointInvoker.java, ServiceEndpointInvokerEJB21.java
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