You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Brian DePradine (JIRA)" <ji...@apache.org> on 2006/07/14 18:54:19 UTC

[jira] Updated: (AXIS2-895) By default, the server should not set the WS-Addressing From header

     [ http://issues.apache.org/jira/browse/AXIS2-895?page=all ]

Brian DePradine updated AXIS2-895:
----------------------------------

    Attachment: patch.txt

Here it is.

> By default, the server should not set the WS-Addressing From header
> -------------------------------------------------------------------
>
>                 Key: AXIS2-895
>                 URL: http://issues.apache.org/jira/browse/AXIS2-895
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: core
>            Reporter: Brian DePradine
>         Attachments: patch.txt
>
>
> Currently, the server always sets a value in MessageContext.setFrom() for the message context of a response message. When WS-Addressing is engaged this results in a WS-Addressing From header being generated for the response message. As a performance improvement, the server should not automatically set the MessageContext.setFrom(), as this would mean one less header to be generated and ultimately processed by the receiver. As far as WS-Addressing is concerned, this header is entirely optional and won't make a difference to the delivery of the message. Other handlers will still be able to set this value, if they so choose. Finally, it will make the behaviour consistent with that of fault response messages which currently do not have the MessageContext.setFrom() automatically set.
> Patch to follow.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org