[jbossws-issues] [JBoss JIRA] Commented: (JBWS-1283) 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.

Heiko Braun (JIRA) jira-events at lists.jboss.org
Fri Apr 27 02:50:30 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBWS-1283?page=comments#action_12360670 ] 
            
Heiko Braun commented on JBWS-1283:
-----------------------------------

Thanks for the patch. I'll will verify them and make sure they get included in 2.0.0

> 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: jaxrpc
>    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

        



More information about the jbossws-issues mailing list