]
Heiko Braun commented on JBWS-1283:
-----------------------------------
George, i'll need a test case that reproduces the error in order to verify the
patches.
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.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
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
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: